♻️(react) update stories for themes
The stories do not need CunninghamProvider anymore since it is handled by the configuration for the themes support. Some stories were also using wrong colors that didn't handle multiple themes.
This commit is contained in:
@@ -122,7 +122,7 @@ export const Success = {
|
||||
|
||||
export const Group = () => (
|
||||
<div>
|
||||
<div className="fs-l fw-bold mb-t">Your offices</div>
|
||||
<div className="fs-l fw-bold mb-t clr-greyscale-900">Your offices</div>
|
||||
<CheckboxGroup>
|
||||
<Checkbox label="Paris" />
|
||||
<Checkbox label="New York" text="United States" checked={true} />
|
||||
@@ -135,7 +135,7 @@ export const Group = () => (
|
||||
|
||||
export const GroupError = () => (
|
||||
<div>
|
||||
<div className="fs-l fw-bold mb-t">Your offices</div>
|
||||
<div className="fs-l fw-bold mb-t clr-greyscale-900">Your offices</div>
|
||||
<CheckboxGroup state="error" text="An important error message">
|
||||
<Checkbox label="Paris" />
|
||||
<Checkbox label="New York" text="United States" checked={true} />
|
||||
@@ -148,7 +148,7 @@ export const GroupError = () => (
|
||||
|
||||
export const GroupSuccess = () => (
|
||||
<div>
|
||||
<div className="fs-l fw-bold mb-t">Your offices</div>
|
||||
<div className="fs-l fw-bold mb-t clr-greyscale-900">Your offices</div>
|
||||
<CheckboxGroup state="success" text="Success message !">
|
||||
<Checkbox label="Paris" />
|
||||
<Checkbox label="New York" text="United States" checked={true} />
|
||||
|
||||
Reference in New Issue
Block a user