Skip to content

Commit

Permalink
feat(token): add viz alias for severity warning light (#1601)
Browse files Browse the repository at this point in the history
## PR Checklist

Please check if your PR fulfills the following requirements:

- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
- [ ] If applicable, have a visual design approval

## PR Type

What kind of change does this PR introduce?


- [ ] Bugfix
- [x] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Other... Please describe:

## What is the current behavior?
`--cds-alias-viz-severity-warning-light` doesnt not exist.

Issue Number: CDE-2377

## What is the new behavior?
`--cds-alias-viz-severity-warning-light` is added for both light and
dark themes.

## Does this PR introduce a breaking change?

- [ ] Yes
- [x] No


## Other information
  • Loading branch information
valentin-mladenov authored Oct 21, 2024
1 parent c15f3c1 commit 5baed7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/ui/src/temp-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

--cds-alias-utility-gray: #{tokens.$cds-global-color-construction-600};

--cds-alias-viz-severity-warning-light: #{tokens.$cds-global-color-yellow-400};

--cds-alias-object-container-backdrop-background: hsla(0, 0%, 100%, 0.6);
--cds-alias-object-interaction-background-hover: #{tokens.$cds-global-color-construction-50};
--cds-alias-object-interaction-background-active: #{tokens.$cds-global-color-construction-100};
Expand All @@ -36,6 +38,8 @@
[cds-theme~='dark'] {
--cds-alias-utility-gray: #{tokens.$cds-global-color-construction-300};

--cds-alias-viz-severity-warning-light: #{tokens.$cds-global-color-yellow-300};

--cds-alias-status-warning-tint: #{tokens.$cds-global-color-ochre-900};
--cds-alias-status-danger-tint: #{tokens.$cds-global-color-red-900};

Expand Down

0 comments on commit 5baed7b

Please sign in to comment.