♻️(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:
Nathan Vasse
2023-09-26 11:41:55 +02:00
committed by NathanVss
parent b94abbd6b3
commit b0d68becfe
11 changed files with 902 additions and 987 deletions

View File

@@ -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} />