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

Introduce theming of Badge color variants #562

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

adamkudrna
Copy link
Member

Badge color variants are now generated using color collections.

Other components to be styled the same way already support theming,
so Badge needs to support theming too.

New theming options:

--rui-Badge--<PRIORITY>--<COLOR>__<PROPERTY>

See theme.scss for all available options.

@adamkudrna adamkudrna force-pushed the bc/badge-priority-class branch from 2c491b8 to c3e3222 Compare September 11, 2024 15:27
Base automatically changed from bc/badge-priority-class to master September 11, 2024 15:32
`Badge` color variants are now generated using color collections.

Other components to be styled the same way already support theming,
so `Badge` needs to support theming too.

New theming options:

`--rui-Badge--<PRIORITY>--<COLOR>__<PROPERTY>`

See `theme.scss` for all available options.
@adamkudrna adamkudrna force-pushed the feature/badge-theming-using-collections branch from c272c09 to 34b7052 Compare September 11, 2024 15:34
@adamkudrna adamkudrna merged commit 7412ff5 into master Sep 11, 2024
11 checks passed
@adamkudrna adamkudrna deleted the feature/badge-theming-using-collections branch September 11, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants