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

feat: Change color names primary, secondary, tertiary to first, second, third #887

Merged
merged 16 commits into from
Oct 5, 2023

Conversation

mimarz
Copy link
Collaborator

@mimarz mimarz commented Oct 2, 2023

resolves #873

Renames

CSS variables

Prepended with --fds-semantic-:

old new
surface-action-primary-* surface-action-first-*
surface-action-secondary-* surface-action-second-*
surface-primary-* surface-first-*
surface-secondary-* surface-second-*
surface-tertiary-* surface-third-*
border-action-primary-* border-action-first-*
border-action-secondary-* border-action-second-*
border-primary-* border-first-*
border-secondary-* border-second-*
border-tertiary-* border-third-*
text-action-primary-* text-action-first-*
text-action-secondary-* text-action-second-*

Components

Accordion, Button, Tag

Old: color?: 'primary' | 'secondary' | 'tertiary' ...;
New: color?: 'first' | 'second' | 'third' ...;

@mimarz mimarz force-pushed the feat/new-brand-var-token-names branch from 19f3b28 to 1ee2772 Compare October 4, 2023 06:30
@mimarz mimarz changed the title feat(tokens): ♻️ Changed tokens names for brand feat: ♻️ Changed color names primary, secondary, tertiary to first, second, third Oct 5, 2023
@mimarz mimarz changed the title feat: ♻️ Changed color names primary, secondary, tertiary to first, second, third feat: Change color names primary, secondary, tertiary to first, second, third Oct 5, 2023
@mimarz mimarz marked this pull request as ready for review October 5, 2023 07:32
@mimarz mimarz merged commit 50f4eee into main Oct 5, 2023
5 checks passed
@mimarz mimarz deleted the feat/new-brand-var-token-names branch October 5, 2023 08:00
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.

Generate new tokens & update usage in react components
2 participants