[Enhancement] `darken-x` and `lighten-x` for theme colors
See original GitHub issueThe classes darken-x
and lighten-x
for these colors are very helpful. I wish they also worked with primary
, secondary
, and such theme colors. Same with the text versions.
Since these are supposedly the two most important colors in the palette, it’d be great if we have finer control over their shades. Currently, it requires a lot of custom classes to achieve these, at least for people like me who aren’t very comfortable with editing the default stylus variables/values.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Dark theme - Material Design
A dark theme displays dark surfaces across the majority of a UI. It's designed to be a supplemental mode to a default (or...
Read more >Building a color scheme - web.dev
In order to enable a concept of darkening or lightening the brand color, by say 20%, the 3 channels of the hsl color...
Read more >HOW TO LIGHTEN OR DARKEN A PAINT COLOR
Every paint color has a formula, and you can either lighten (add white) ... Note, Farrow and Ball does not lighten or darken...
Read more >SASS Color Function - Bill Erickson
Inside my theme I define a map of $brand_colors . If you only specify the main color, it will auto-generate the lighten and...
Read more >How to Lighten or Darken Selective Colors in Photoshop
To start, you will add a Black & White Adjustment Layer. After that, change the Blending Mode to Luminosity. Reviewing the tool properties...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I accidentally started this so I might as well actually do it. It’s pretty simple to do now with the dynamic theme system.
I absolutely agree.