Skip to content

Commit

Permalink
fix: resolve minor color theming issues
Browse files Browse the repository at this point in the history
BREAKING CHANGE: trigger major release for color theme support #63
  • Loading branch information
jordanjones243 committed Sep 27, 2024
1 parent 83bc34b commit cd2f23d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ The component may be restyled using the following code sample and changing the v
@import './../node_modules/@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables';

:host {
--ds-auro-popover-boxshadow-color: var(--ds-color-base-black-300, #{$ds-color-base-black-300});
--ds-auro-popover-boxshadow-color: var(--ds-elevation-200, #{$ds-elevation-200});
--ds-auro-popover-container-color: var(--ds-color-container-primary-default, #{$ds-color-container-primary-default});
--ds-auro-popover-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
}
Expand Down
2 changes: 1 addition & 1 deletion src/color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

.popover {
background-color: var(--ds-auro-popover-container-color);
box-shadow: -2px 0 5px 2px var(--ds-auro-popover-boxshadow-color), 0 2px 5px 1px var(--ds-auro-popover-boxshadow-color);
box-shadow: var(--ds-auro-popover-boxshadow-color);
}

.arrow {
Expand Down
2 changes: 1 addition & 1 deletion src/tokens.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import './../node_modules/@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables';

:host {
--ds-auro-popover-boxshadow-color: var(--ds-color-base-black-300, #{$ds-color-base-black-300});
--ds-auro-popover-boxshadow-color: var(--ds-elevation-200, #{$ds-elevation-200});
--ds-auro-popover-container-color: var(--ds-color-container-primary-default, #{$ds-color-container-primary-default});
--ds-auro-popover-text-color: var(--ds-color-text-primary-default, #{$ds-color-text-primary-default});
}

0 comments on commit cd2f23d

Please sign in to comment.