Card title background #122
Answered
by
eduferfer
phillip-kruger
asked this question in
Q&A
-
Hi all. First - Kor is awesome ! I really love how easy I could get started. I have been playing with a few WebComponent UI libraries, and this is my favourite one by far. I want to create a card (without a photo) where the title bar at the top has a different color. Is that possible ? |
Beta Was this translation helpful? Give feedback.
Answered by
eduferfer
Aug 17, 2022
Replies: 1 comment 3 replies
-
Hi, good to know you found Kor easy to use :) For changing the style of text in the shadow-dom, I'd recommend doing as follows: kor-card {
// this changes the font family, size and style
--header-1: italic 20px/24px serif;
// this changes the text color
--text-1: rgba(200, 50, 100, .90);
} |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
eduferfer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, good to know you found Kor easy to use :)
For changing the style of text in the shadow-dom, I'd recommend doing as follows: