obsidian
obsidian copied to clipboard
Thoughts on adding Color Function
What are your thoughts about adding something like postcss-color-function?
Something like this:
:root {
/* Red */
--red: #D04D36;
--red-light: color(var(--red) l(90%)) s(90%);
--red-medium: var(--red);
--red-dark: color(var(--red) l(30%) s(100%));
/* Blue */
--blue: #147AAB;
--blue-light: color(var(--blue) l(90%) s(90%));
--blue-medium: #147AAB;
--blue-dark: color(var(--blue) l(30%) s(100%);