Custom Blazorise Color #4396
Replies: 2 comments 2 replies
-
First, define a color in CSS. .my-special-color
{
background-color: #ff0000;
} then assign it in code
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone. In my opinion you need to pass the hex color code string directly to the constructor of the So the correct solution I think will be this(sorry if I will wrong 😃 ).
Let me know if it works. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Together
I want to set a custom Color for an Item if I click this Item. Fot this I have a method which will change the Selected attribute and also change the color. But now I want to set a custom hex color to the attribute "SelectedColor"
How can I define such a custom Blazorise.Color?
Thanks and regards
Samuel
Beta Was this translation helpful? Give feedback.
All reactions