Skip to content

Commit

Permalink
docs: move class to element
Browse files Browse the repository at this point in the history
  • Loading branch information
gavmck committed Jan 30, 2024
1 parent 983455a commit e85578a
Showing 1 changed file with 21 additions and 27 deletions.
48 changes: 21 additions & 27 deletions docs/Theming.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,37 +34,31 @@ Here is an example of 3 cards wrapped in the demo theme classes, which then appl
<Canvas>
<diamond-grid wrap="wrap">
<diamond-grid-item small-mobile="12" tablet="4">
<div class="diamond-theme-light">
<diamond-card>
<h3>Card title</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
</p>
</diamond-card>
</div>
<diamond-card class="diamond-theme-light">
<h3>Card title</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
</p>
</diamond-card>
</diamond-grid-item>
<diamond-grid-item small-mobile="12" tablet="4">
<div class="diamond-theme-medium">
<diamond-card>
<h3>Card title</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
</p>
</diamond-card>
</div>
<diamond-card class="diamond-theme-medium">
<h3>Card title</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
</p>
</diamond-card>
</diamond-grid-item>
<diamond-grid-item small-mobile="12" tablet="4">
<div class="diamond-theme-dark">
<diamond-card>
<h3>Card title</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
</p>
</diamond-card>
</div>
<diamond-card class="diamond-theme-dark">
<h3>Card title</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.
</p>
</diamond-card>
</diamond-grid-item>
</diamond-grid>
</Canvas>
Expand Down

0 comments on commit e85578a

Please sign in to comment.