Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Andrex
on Nov 22, 2020
|
parent
|
context
|
favorite
| on:
Building Your Color Palette
You could start with native CSS variables. :)
https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_c...
dairylee
on Nov 22, 2020
[–]
Not very easy to darken/lighten colours easily using CSS variables at the moment. Support will be coming in the future.
schpaencoder
on Nov 22, 2020
|
parent
[–]
I find it quite easy. Just use the hsl() function.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_c...