How to change a ui5-card background color ? #6266
Answered
by
ilhan007
BrunoSena97
asked this question in
Q&A
-
Hello, I'm new to web components, and I'm using ui5 web components with vue js. I'm finding hard to customize the components, I'm using tailwind css on my project. Best regards and thank you for your work ! |
Beta Was this translation helpful? Give feedback.
Answered by
ilhan007
May 29, 2023
Replies: 1 comment
-
Hello @BrunoSena97 You can read more on Styling UI5 Web Components article. The background of a ui5-card {
--sapTile_Background: red;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ilhan007
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @BrunoSena97
You can read more on Styling UI5 Web Components article.
The background of a
ui5-card
is defined via the--sapTile_Background
global variable. You can try changing the--sapTile_Background
variable in the scope of theui5-card
.