diff --git a/packages/react/src/components/Button/Button.stories.js b/packages/react/src/components/Button/Button.stories.js index 403404553aa7..929f66e16d60 100644 --- a/packages/react/src/components/Button/Button.stories.js +++ b/packages/react/src/components/Button/Button.stories.js @@ -10,6 +10,7 @@ import { action } from '@storybook/addon-actions'; import { Add } from '@carbon/icons-react'; import { default as Button, ButtonSkeleton } from '../Button'; import ButtonSet from '../ButtonSet'; +import { Theme } from '../Theme'; import mdx from './Button.mdx'; export default { @@ -78,6 +79,25 @@ export const Tertiary = (args) => { ); }; +export const ThemeTest = () => { + return ( + + + + + + + ); +}; + export const Danger = (args) => { return ( <> diff --git a/packages/styles/scss/_zone.scss b/packages/styles/scss/_zone.scss index bd222aa4c2d4..9187c83947cf 100644 --- a/packages/styles/scss/_zone.scss +++ b/packages/styles/scss/_zone.scss @@ -36,6 +36,9 @@ $-components: ( @each $name, $theme in $zones { .#{config.$prefix}--#{'' + $name} { + background: var(--cds-background); + color: var(--cds-text-primary); + @each $key, $value in $theme { @if type-of($value) == color { @include custom-property.declaration($key, $value);