Skip to content

Commit

Permalink
fix: update color name based on new design tokens
Browse files Browse the repository at this point in the history
BREAKING CHANGE: trigger major release for color theming support
  • Loading branch information
jordanjones243 committed Sep 23, 2024
1 parent 8ffc453 commit 8343796
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
<!-- AURO-GENERATED-CONTENT:START (REMOTE:url=https://raw.githubusercontent.com/AlaskaAirlines/WC-Generator/master/componentDocs/partials/usage/bundleUseModBrowsers.md) -->

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/[email protected].1/dist/tokens/CSSCustomProperties.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/[email protected].2/dist/tokens/CSSCustomProperties.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/[email protected]/dist/bundled/essentials.css" />
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/[email protected]/dist/auro-icon__bundled.js" type="module"></script>
```
Expand Down
4 changes: 2 additions & 2 deletions src/color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}

:host(:not([onDark])[disabled]) {
--ds-auro-icon-color: var(--ds-color-icon-ui-disabled-default, #{$ds-color-icon-ui-disabled-default});
--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-default, #{$ds-color-icon-ui-primary-disabled-default});
}

:host(:not([onDark])[emphasis]) {
Expand Down Expand Up @@ -65,7 +65,7 @@
}

:host([onDark][disabled]) {
--ds-auro-icon-color: var(--ds-color-icon-ui-disabled-inverse, #{$ds-color-icon-ui-disabled-inverse});
--ds-auro-icon-color: var(--ds-color-icon-ui-primary-disabled-inverse, #{$ds-color-icon-ui-primary-disabled-inverse});
}

:host([onDark][emphasis]) {
Expand Down

0 comments on commit 8343796

Please sign in to comment.