diff --git a/docs/stories/utilities/Color.stories.jsx b/docs/stories/utilities/Color.stories.jsx index 058cf842e2..e1dc4cd53b 100644 --- a/docs/stories/utilities/Color.stories.jsx +++ b/docs/stories/utilities/Color.stories.jsx @@ -1,5 +1,5 @@ export default { - title: 'Utilities/Color' + title: 'Utilities/Color', } export const Text = ({}) => ( @@ -22,8 +22,39 @@ export const Text = ({}) => ( ) +export const NewText = ({}) => ( +
+
.fgColor-default
+
.fgColor-muted
+
.fgColor-subtle
+ +
.fgColor-accent
+
.fgColor-success
+
.fgColor-attention
+
.fgColor-severe
+
.fgColor-danger
+
.fgColor-open
+
.fgColor-closed
+
.fgColor-done
+
.fgColor-sponsors
+
+ This text is green,{' '} + + including the link + +
+ +
.fgColor-onEmphasis
+
+) + export const TextInherit = ({}) => ( -
This text is green, including the link
+
+ This text is green,{' '} + + including the link + +
) export const Background = ({}) => ( @@ -65,6 +96,44 @@ export const Background = ({}) => ( ) +export const NewBackground = ({}) => ( +
+
.bgColor-default
+
.bgColor-inset
+
.bgColor-subtle
+
.bgColor-emphasis
+ +
.bgColor-accent-muted
+
.bgColor-accent-emphasis
+ +
.bgColor-success-muted
+
.bgColor-success-emphasis
+ +
.bgColor-attention-muted
+
.bgColor-attention-emphasis
+ +
.bgColor-severe-muted
+
.bgColor-severe-emphasis
+ +
.bgColor-danger-muted
+
.bgColor-danger-emphasis
+ +
.bgColor-open-muted
+
.bgColor-open-emphasis
+ +
.bgColor-closed-muted
+
.bgColor-closed-emphasis
+ +
.bgColor-done-muted
+
.bgColor-done-emphasis
+ +
.bgColor-sponsors-muted
+
.bgColor-sponsors-emphasis
+ +
.bgColor-transparent
+
+) + export const Border = ({}) => (
.color-border-default
@@ -99,3 +168,37 @@ export const Border = ({}) => (
.color-border-sponsors-emphasis
) + +export const NewBorder = ({}) => ( +
+
.borderColor-default
+
.borderColor-muted
+ +
.borderColor-accent-muted
+
.borderColor-accent-emphasis
+ +
.borderColor-success-muted
+
.borderColor-success-emphasis
+ +
.borderColor-attention-muted
+
.borderColor-attention-emphasis
+ +
.borderColor-severe-muted
+
.borderColor-severe-emphasis
+ +
.borderColor-danger-muted
+
.borderColor-danger-emphasis
+ +
.borderColor-open-muted
+
.borderColor-open-emphasis
+ +
.borderColor-closed-muted
+
.borderColor-closed-emphasis
+ +
.borderColor-done-muted
+
.borderColor-done-emphasis
+ +
.borderColor-sponsors-muted
+
.borderColor-sponsors-emphasis
+
+)