Replies: 1 comment 3 replies
-
CSS variables are available on the @import "@primer/css/index.scss";
body {
--color-header-bg: #fff;
--color-header-text: #000;
}
// or
.my-class {
--color-header-bg: #fff;
--color-header-text: #000;
} |
Beta Was this translation helpful? Give feedback.
3 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using sass to import primer css.
How should I overwrite a variable, such as
--color-header-bg
and--color-header-text
? I see they are defined in the@mixin primer-colors-light
.Beta Was this translation helpful? Give feedback.
All reactions