Replies: 1 comment 1 reply
-
Hey @sildeman sorry for the confusion on this one. We're still working on getting docs consistent across the website and repository, #11293 We cover this a bit in the package sass docs, but you should be able to extend and override the theme with your own tokens or values: @use '@carbon/themes/scss/themes';
@use '@carbon/themes' with (
$fallback: themes.$g100,
$theme: (
background: #000000,
or-a-new-token: #000000,
)
); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How do I create a theme with my brand colors, to apply in a @carbon/react application?
I tried to follow the directions on this page: https://carbondesignsystem.com/guidelines/themes/overview/#customizing-a-theme, but I didn't get the expected result. However, I confess that I'm not very good with styles and I don't know anything about sass.
If anyone has an example to help me, I'd be grateful.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions