Custom primary color -- Help needed #519
Unanswered
LudvigAlmvaang
asked this question in
Help
Replies: 1 comment
-
In version 2, the variable names were prefixed with "pico-" but It would be nice if there was a way to pass a hex value or something to the |
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
-
Custom Primary Colors for Pico CSS v.2.0.6 -- How do I do it?
main.scss
I am using v.2.0.6 of Pico CSS, and I am trying to change the primary color to a custom color.
If I replace "red" with another color, like blue or yellow, the change will have expected results;
However, if I want a custom color, such as #990024, I have been unable to make it work.
The only documentation I have been able to find so far is deprecated for V1 of Pico CSS.
picocss.com/docs/v1/customization.
The following is an example used in the docs for Pico CSS v1 on how to change the primary color to a custom color.
So far I have been unable to apply it.
If we read a bit further we will find more detailed examples, such as the following.
Unfortunately no matter how much I investigate these old docs and no matter what I try I seem to be unable to make this work.
Is there anyone who could perhaps explain to me how I best can use a custom color?
Beta Was this translation helpful? Give feedback.
All reactions