Skip to content

Commit

Permalink
Update Styleguide.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
Auhseh authored Apr 15, 2024
1 parent 6e34c1c commit 3b0194a
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions src/stories/Styleguide.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
`


<style>
{`
:root {
--size: 50px;
}
h2 {
text-decoration: underline;
}
.palette-box {
width: var(--size);
height: var(--size);
display: block;
margin: 0 auto;
}
.palette-primary {
background-color: var(--color-primary);
}
Expand Down Expand Up @@ -35,11 +53,10 @@
.typography-secondary {
font-family: var(--font-secondary);
color: var(--color-primary);
`
}
`}
</style>

```css
<div class="palette-primary">Primary Color</div>
<div class="palette-secondary">Secondary Color</div>


# Welcome to the GreenwoodJS style guide
Expand Down

0 comments on commit 3b0194a

Please sign in to comment.