Skip to content

feat(theme): new utilities based on system tokens - #2607

Draft
spike-rabbit wants to merge 1 commit into
mainfrom
feat/theme-system-utilities
Draft

feat(theme): new utilities based on system tokens#2607
spike-rabbit wants to merge 1 commit into
mainfrom
feat/theme-system-utilities

Conversation

@spike-rabbit

Copy link
Copy Markdown
Member

Generate background, text, and border utility classes from Element system tokens and migrate Element usage to their replacements.

BREAKING CHANGE: The legacy color and status utility classes are removed. Run the Element update schematic to migrate classes in Angular templates.

Removed class Replacement
bg-primary background-accent
bg-secondary background-neutral
bg-tertiary background-4
bg-success background-success
bg-info background-information
bg-warning background-warning
bg-danger background-danger
bg-base-0 background-0
bg-base-1 background-1
bg-base-2 background-2
bg-base-3 background-3
bg-base-4 background-4
bg-base-info background-information-subtle
bg-base-success background-success-subtle
bg-base-caution background-caution-subtle
bg-base-warning background-warning-subtle
bg-base-danger background-danger-subtle
bg-base-critical background-critical-subtle
text-primary text-accent
text-body text-primary
text-tertiary text-disabled
text-muted text-disabled
text-info text-information
status-success text-success
status-info text-information
status-caution text-caution
status-warning text-warning
status-danger text-danger
status-critical text-critical
status-neutral text-disabled
status-success-contrast text-on-success
status-info-contrast text-on-information
status-caution-contrast text-on-caution
status-warning-contrast text-on-warning
status-danger-contrast text-on-danger
status-critical-contrast text-on-critical

Generate background, text, and border utilities from Element system tokens and migrate Element usage to the new classes.

BREAKING CHANGE: Replace retired color utilities with the system-token utility classes. Run the Element update schematic to migrate classes in Angular templates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant