Skip to content

Commit

Permalink
fix(tokens): fix wrong CSS property names for info theme
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfeldpausch committed Mar 12, 2024
1 parent 2611975 commit 2ba027d
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 9 deletions.
36 changes: 36 additions & 0 deletions tokens/dist/export/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,42 @@
"$type": "color",
"$value": "#000000"
},
"info-bg": {
"$type": "color",
"$value": "#0073e6"
},
"info-bg-hover": {
"$type": "color",
"$value": "#006be3"
},
"info-bg-active": {
"$type": "color",
"$value": "#0060df"
},
"info-fill": {
"$type": "color",
"$value": "#ffffff"
},
"info-fill-hover": {
"$type": "color",
"$value": "#ffffff"
},
"info-fill-active": {
"$type": "color",
"$value": "#ffffff"
},
"info-text": {
"$type": "color",
"$value": "#0073e6"
},
"info-text-hover": {
"$type": "color",
"$value": "#006be3"
},
"info-text-active": {
"$type": "color",
"$value": "#0060df"
},
"success-bg": {
"$type": "color",
"$value": "#008458"
Expand Down
18 changes: 9 additions & 9 deletions tokens/src/color/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,47 +154,47 @@
"bg": {
"$type": "color",
"$value": "{color.base.blue.400.value}",
"cssProp": "success-bg"
"cssProp": "info-bg"
},
"bgHover": {
"$type": "color",
"$value": "{color.base.blue.500.value}",
"cssProp": "success-bg-hover"
"cssProp": "info-bg-hover"
},
"bgActive": {
"$type": "color",
"$value": "{color.base.blue.600.value}",
"cssProp": "success-bg-active"
"cssProp": "info-bg-active"
},
"fill": {
"$type": "color",
"$value": "{color.base.white.value}",
"cssProp": "success-fill"
"cssProp": "info-fill"
},
"fillHover": {
"$type": "color",
"$value": "{color.base.white.value}",
"cssProp": "success-fill-hover"
"cssProp": "info-fill-hover"
},
"fillActive": {
"$type": "color",
"$value": "{color.base.white.value}",
"cssProp": "success-fill-active"
"cssProp": "info-fill-active"
},
"text": {
"$type": "color",
"$value": "{color.base.blue.400.value}",
"cssProp": "success-text"
"cssProp": "info-text"
},
"textHover": {
"$type": "color",
"$value": "{color.base.blue.500.value}",
"cssProp": "success-text-hover"
"cssProp": "info-text-hover"
},
"textActive": {
"$type": "color",
"$value": "{color.base.blue.600.value}",
"cssProp": "success-text-active"
"cssProp": "info-text-active"
}
},
"success": {
Expand Down

0 comments on commit 2ba027d

Please sign in to comment.