Skip to content

Commit 2bf1d09

Browse files
committed
fix: after review
1 parent 8e7e25c commit 2bf1d09

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

site/src/components/shortcodes/ColorTable.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interface Props {
1515
tokenRegexp: RegExp
1616
colorPrefix: string
1717
getUsage?: (colorName: string, colorPrefix?: string) => string
18-
getStyle?: (colorName: string) => astroHTML.JSX.CSSProperties
18+
getStyle?: (token: IColorToken, mode: string) => astroHTML.JSX.CSSProperties
1919
}
2020
2121
const getCustomProp = (colorName: string, colorPrefix: string) =>

site/src/content/docs/foundation/component.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ In your CSS, you’d have something like the following where the bulk of the sty
4242
// Modifier classes
4343
.callout-info {}
4444
.callout-warning {}
45-
.callout-danger {}
45+
.callout-negative {}
4646
```
4747

4848
For the callouts, that unique styling is just a `border-left-color`. When you combine that base class with one of those modifier classes, you get your complete component family:
@@ -55,6 +55,6 @@ For the callouts, that unique styling is just a `border-left-color`. When you co
5555
**This is a warning callout.** Example text to show it in action.
5656
</Callout>
5757

58-
<Callout type="danger">
59-
**This is a danger callout.** Example text to show it in action.
58+
<Callout type="negative">
59+
**This is a negative callout.** Example text to show it in action.
6060
</Callout>

site/src/content/docs/getting-started/sass.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ $theme-colors: map-remove($theme-colors, "info", "light", "dark");
245245

246246
### Colors
247247

248-
<Callout title="Deprecated" type="danger">
248+
<Callout title="Deprecated" type="negative">
249249
Please read [the colors documentation]([[docsref:/foundation/colors]]) for more information on colors.
250250
</Callout>
251251

0 commit comments

Comments
 (0)