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 ?
No description
No description
No description
6 Replies
Expecto Patronum
Expecto PatronumOP4mo ago
this is the error
No description
Dennis Koch
Dennis Koch4mo ago
You can't set a CSS class as a color. Colors expect a palette of Tailwind CSS shades
Expecto Patronum
Expecto PatronumOP4mo ago
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.
Dennis Koch
Dennis Koch4mo ago
Don't the buttons have a CSS class you can target?
Expecto Patronum
Expecto PatronumOP4mo ago
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 ?
Dennis Koch
Dennis Koch4mo ago
No really. You could maybe try .fi-btn[type="submit"]
Want results from more Discord servers?
Add your server