Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We need more customizable color scheme for accordion #39755

Open
2 tasks done
SiMamank115 opened this issue Mar 7, 2024 · 4 comments
Open
2 tasks done

We need more customizable color scheme for accordion #39755

SiMamank115 opened this issue Mar 7, 2024 · 4 comments

Comments

@SiMamank115
Copy link

Prerequisites

Proposal

the lack of customizable part in most component are terrible. One by one please make it easier to customize component by user, starting with accordion

Motivation and context

It's just blue by default. And if you want your own color scheme for the accordion you must change literally the whole variables. That's insane

@louismaximepiton
Copy link
Member

Hey there,

I'm not sure to understand well your need here.
Do you need modifier classes for accordions such as .accordion-warning, .accordion-danger, ...?
Do you need more explanations on how to change the accordion variables ?
Is there anything that can be done to help with color mode customization maybe ?

@SiMamank115
Copy link
Author

SiMamank115 commented Mar 12, 2024

Thanks for the reply.

Exactly like .accordion-warning, .accordion-danger, ..., I don't need further explanations on how to change the accordion variables. All I need is for it to function just like .accordion-warning. It would be more convenient if I could directly change the color of those inside the class instead of modifying the variable. Additionally, I assume that modifying the accordion variables would affect all the accordions, whereas I only need this specific accordion to have a different color than the others.

Lastly, some programmers may not fully understand CSS variables, perhaps they're new or just want the design done ASAP. This limits their selection of colors they can choose.

Edit : This isn't just for the accordion, but for the other components as well.

@RohitChauhan98

This comment was marked as resolved.

@julien-deramond

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants