Skip to content

Commit e8f4059

Browse files
committed
v6: Cheatsheet Example updates
Updates Buttons and List groups
1 parent b193830 commit e8f4059

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

site/src/assets/examples/cheatsheet/index.astro

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,11 @@ export const body_class = 'bg-body-tertiary'
743743
`<button type="button" class="btn-solid theme-link">Link</button>`]} />
744744

745745
<Example showMarkup={false} code={getData('theme-colors').map((themeColor) => `
746-
<button type="button" class="btn-solid theme-outline-${themeColor.name}">${themeColor.title}</button>
746+
<button type="button" class="btn-outline theme-${themeColor.name}">${themeColor.title}</button>
747+
`)} />
748+
749+
<Example showMarkup={false} code={getData('theme-colors').map((themeColor) => `
750+
<button type="button" class="btn-subtle theme-${themeColor.name}">${themeColor.title}</button>
747751
`)} />
748752

749753
<Example showMarkup={false} code={`
@@ -1129,7 +1133,7 @@ export const body_class = 'bg-body-tertiary'
11291133
<div class="list-group">
11301134
<a href="#" class="list-group-item list-group-item-action">A simple default list group item</a>`,
11311135
...getData('theme-colors').map((themeColor) => `
1132-
<a href="#" class="list-group-item list-group-item-action list-group-item-${themeColor.name}">A simple ${themeColor.name} list group item</a>
1136+
<a href="#" class="list-group-item list-group-item-action theme-${themeColor.name}">A simple ${themeColor.name} list group item</a>
11331137
`),
11341138
`</div>
11351139
`]} />

0 commit comments

Comments
 (0)