New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easily change highlight color (#9b4dca) #191
Comments
I came here for the same thing ^^ but since it is written in SASS and you might want to support old browsers I would recommend doing a more fallback proven example like this: button {
background-color: $color-primary;
background-color: var(--color-primary, $color-primary);
} This way browsers who don't support CSS custom properties will still fallback to a working version. Also this way no Cheers, |
Is their any progress or anything done on this so far? 😄 |
you can always change the values of the colors from the |
Good point! I guess I'm looking for a bit more out-of-the-box solution since I don't use Sass, but I don't really know how that could be easily done other than changing the values themselves in |
Love this framework! Can't wait for this feature to be released 🚀 |
Hey @mterron @dkundel @timrossback @dntzbgh @cilim Maybe something like this? |
is this issue resolved or given to anybody ? I want to contribute to this... |
Hello Sir, |
Hello sir! I am interested in resolving this issue. May you please assign this issue to me? |
Using CSS3 variables (custom properties) it is possible to override the highlight color in 1 line of CSS.
In milligram.css have something along the lines of:
and then replace every
#9b4dca
withvar(--highlight-color)
.Once this is done, replacing the highlight color is as easy as including a custom.css file with
The text was updated successfully, but these errors were encountered: