Skip to content

Commit

Permalink
storybook intro style
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Mar 18, 2024
1 parent fe4150d commit 644a4a5
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/stories/Introduction.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@ import { useDarkMode } from "storybook-dark-mode";

<Meta title="Introduction" />

<div style={{ textAlign: 'center' }}>

<p align="center">
<img src={useDarkMode() ? "https://raw.githubusercontent.com/InseeFr/Lunatic-DSFR/main/overview-dark.png" : "https://raw.githubusercontent.com/InseeFr/Lunatic-DSFR/main/overview-light.png"} />

</p>
<div style={{ "margin": "0 auto", "textAlign": "center" }}>

<div style={{ "display": "flex", "justifyContent": "center" }}>
<img
src={
useDarkMode()
? "https://raw.githubusercontent.com/InseeFr/Lunatic-DSFR/main/overview-dark.png"
: "https://raw.githubusercontent.com/InseeFr/Lunatic-DSFR/main/overview-light.png"
}
/>
</div>

Lunatic-DSFR is a library of customised [Lunatic](https://github.com/InseeFr/Lunatic) components built with TypeScript and [React-DSFR](https://react-dsfr.etalab.studio/).

Expand Down

0 comments on commit 644a4a5

Please sign in to comment.