How To Register Custom Color to Panel
hi all , i created custom class color in my custom theme . i want to set as primary color in my panel but i received error . any idea ?
6 Replies
this is the error
You can't set a CSS class as a color. Colors expect a palette of Tailwind CSS shades
i see . im doing this bcs i though it would be easier for me to set all button have same color to match with my sidebar since im using custom theme. if that case , i need to set manually the class at every button then.
Don't the buttons have a CSS class you can target?
yess . i want to target all create button color match with my sidebar theme color . so i need to set manual extraattribute to refer the custom class to that button i guess.
or do you have any idea that i can set a class in custom theme to target all create button ?
No really. You could maybe try
.fi-btn[type="submit"]