css variables
#40708
Replies: 1 comment
-
|
Create a custom SCSS file where you import Bootstrap's styles. Define your CSS variables in this file and use them for Bootstrap’s color settings. compile the SCSS file to CSS using a build tool. This ensures that your final CSS uses variables instead of fixed hex values. https://sass-lang.com/ |
Beta Was this translation helpful? Give feedback.
0 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 want to compile whole bootstrap components with css variables. but for some components like buttons it complies raw hex color. how should i compile it without creating new classes ?
Beta Was this translation helpful? Give feedback.
All reactions