Skip to content

Commit

Permalink
fix: portal deprecated colors (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar authored Sep 5, 2024
1 parent 4541b88 commit 4324e74
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/core-styles.portal.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/settings/color--portal.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/lib/_imports/settings/color--portal.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
/* FAQ: Updating portal colors was delayed (to reduce complexity of TUP redesign) */
:root {
/* DEPRECATED */
--global-color-accent--alt: var(--global-color-accent--xx-light);
--global-color-accent--weak: var(--global-color-accent--x-light);
--global-color-accent--alt: var(--global-color-accent--x-light);
--global-color-accent--weak: var(--global-color-accent--xx-light);
--global-color-success--weak: rgb( from design-token('color.success.medium') r g b / 0.5);
--global-color-warning--weak: rgb( from design-token('color.warning.medium') r g b / 0.5);
--global-color-danger--weak: rgb( from design-token('color.danger.medium') r g b / 0.5);
Expand Down
3 changes: 1 addition & 2 deletions src/lib/_imports/settings/color.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

/* Modifers
--normal: standard color
--alt: alternate color
--weak: transparent instance
--weak: transparent instance (DEPRECATED)
--(…)light: lighter value
--(…)dark: darker value
*/
Expand Down
3 changes: 1 addition & 2 deletions src/lib/_imports/settings/color.v3.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

/* Modifers
--normal: standard color
--alt: alternate color
--weak: transparent instance
--weak: transparent instance (DEPRECATED)
--(…)light: lighter value
--(…)dark: darker value
*/
Expand Down

0 comments on commit 4324e74

Please sign in to comment.