Please help me customize colors - there's an error #621
Unanswered
khoile2002
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Can you share some more details? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for your theme with fast loading speed.
I have a small issue. I added theme code to change the theme colors in the custom.css file:
But the theme colors don't change. Although I've used F12 in the web browser. The customization code above in the custom.css file has been loaded. Pls help me, how can I change the colors?
I've tried adding the customization code above in both ways of installing the theme using mod and submod. But it still doesn't work.
Thank you very much!"
Code i add to to custom.css
:root {
--primary-hue: 210deg; /* Xanh dương nhạt */
--primary-saturation: 70%;
--primary-lightness: 60%;
}
html[class~="dark"] {
--primary-hue: 210deg;
--primary-saturation: 80%;
--primary-lightness: 40%; /* Đậm hơn ở dark mode */
}
.content code:not(.code-block code) {
color: #ff4500; /* Inline code màu cam */
}
Beta Was this translation helpful? Give feedback.
All reactions