Skip to content

Commit

Permalink
fix: fixed design token for icon btn active state (#2765)
Browse files Browse the repository at this point in the history
* fix: fixed design token for icon btn active state

* fix: fixed path to build directory
  • Loading branch information
PKulkoRaccoonGang committed Aug 5, 2024
1 parent 48c053d commit 74b2ed8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"type-check:watch": "npm run type-check -- --watch",
"build-types": "tsc --emitDeclarationOnly",
"playroom:start": "npm run playroom:start --workspace=www",
"build-tokens": "./bin/paragon-scripts.js build-tokens --build-dir ../styles/css",
"build-tokens": "./bin/paragon-scripts.js build-tokens --build-dir ./styles/css",
"replace-variables-usage-with-css": "./bin/paragon-scripts.js replace-variables -p src -t usage",
"replace-variables-definition-with-css": "./bin/paragon-scripts.js replace-variables -p src -t definition",
"build-scss-to-css-map": "node tokens/map-scss-to-css.js",
Expand Down
4 changes: 2 additions & 2 deletions styles/css/themes/light/variables.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* IMPORTANT: This file is the result of assembling design tokens
* Do not edit directly
* Generated on Fri, 22 Sep 2023 08:20:17 GMT
* Generated on Mon, 30 Oct 2023 14:36:05 GMT
*/

:root {
Expand Down Expand Up @@ -439,7 +439,6 @@
--pgn-color-icon-button-bg-secondary-inverse-base: var(--pgn-color-icon-button-bg-base);
--pgn-color-icon-button-bg-secondary-focus: var(--pgn-color-icon-button-bg-base);
--pgn-color-icon-button-bg-secondary-base: var(--pgn-color-icon-button-bg-base);
--pgn-color-icon-button-bg-primary-inverse-active-base: var(--pgn-color-icon-button-bg-base);
--pgn-color-icon-button-bg-primary-inverse-focus: var(--pgn-color-icon-button-bg-base);
--pgn-color-icon-button-bg-primary-inverse-base: var(--pgn-color-icon-button-bg-base);
--pgn-color-icon-button-bg-primary-focus: var(--pgn-color-icon-button-bg-base);
Expand Down Expand Up @@ -881,6 +880,7 @@
--pgn-color-icon-button-bg-secondary-hover: var(--pgn-color-secondary-base);
--pgn-color-icon-button-bg-primary-inverse-active-focus: var(--pgn-color-icon-button-accent);
--pgn-color-icon-button-bg-primary-inverse-active-hover: var(--pgn-color-icon-button-accent);
--pgn-color-icon-button-bg-primary-inverse-active-base: var(--pgn-color-icon-button-accent);
--pgn-color-icon-button-bg-primary-active-focus: var(--pgn-color-icon-button-text-primary-base);
--pgn-color-icon-button-bg-primary-active-hover: var(--pgn-color-icon-button-text-primary-base);
--pgn-color-icon-button-bg-primary-active-base: var(--pgn-color-icon-button-text-primary-base);
Expand Down
2 changes: 1 addition & 1 deletion tokens/src/themes/light/components/IconButton.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"focus": { "value": "{color.icon-button.text.primary.base}", "type": "color" }
},
"inverse-active": {
"base": { "value": "{color.icon-button.bg.base}", "type": "color" },
"base": { "value": "{color.icon-button.accent}", "type": "color" },
"hover": { "value": "{color.icon-button.accent}", "type": "color" },
"focus": { "value": "{color.icon-button.accent}", "type": "color" }
}
Expand Down

0 comments on commit 74b2ed8

Please sign in to comment.