Skip to content

Commit

Permalink
feat: update color tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
malangcat committed Jan 13, 2025
1 parent b884f84 commit 6d06c0e
Show file tree
Hide file tree
Showing 71 changed files with 684 additions and 784 deletions.
202 changes: 95 additions & 107 deletions docs/public/rootage/color.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions docs/public/rootage/components/action-button.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@
"color": "$color.bg.brand-solid"
},
"label": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"icon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"prefixIcon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"suffixIcon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"progressCircle": {
"trackColor": "$color.palette.static-white-alpha-200",
Expand Down Expand Up @@ -172,16 +172,16 @@
"color": "$color.bg.danger-solid"
},
"label": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"icon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"prefixIcon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"suffixIcon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"progressCircle": {
"trackColor": "$color.palette.static-white-alpha-200",
Expand Down
10 changes: 5 additions & 5 deletions docs/public/rootage/components/badge.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"color": "$color.bg.neutral-solid"
},
"label": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
}
}
},
Expand Down Expand Up @@ -122,7 +122,7 @@
"color": "$color.bg.brand-solid"
},
"label": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
}
}
},
Expand Down Expand Up @@ -152,7 +152,7 @@
"color": "$color.bg.informative-solid"
},
"label": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
}
}
},
Expand Down Expand Up @@ -182,7 +182,7 @@
"color": "$color.bg.positive-solid"
},
"label": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
}
}
},
Expand Down Expand Up @@ -212,7 +212,7 @@
"color": "$color.bg.danger-solid"
},
"label": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions docs/public/rootage/components/checkbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"color": "$color.bg.brand-solid"
},
"icon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
}
},
"pressed": {
Expand All @@ -54,7 +54,7 @@
"color": "$color.bg.brand-solid-pressed"
},
"icon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
}
},
"disabled": {
Expand Down
2 changes: 1 addition & 1 deletion docs/public/rootage/components/chip-tab.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"color": "$color.bg.brand-solid"
},
"label": {
"color": "$color.fg.static-white",
"color": "$color.palette.static-white",
"fontWeight": "$font-weight.bold"
}
},
Expand Down
8 changes: 4 additions & 4 deletions docs/public/rootage/components/control-chip.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@
"color": "$color.bg.neutral-solid-muted"
},
"label": {
"color": "$color.fg.static-white",
"color": "$color.palette.static-white",
"fontWeight": "$font-weight.bold"
},
"prefixIcon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"suffixIcon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"icon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"count": {
"color": "$color.palette.static-white-alpha-800"
Expand Down
10 changes: 5 additions & 5 deletions docs/public/rootage/components/inline-banner.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,19 +198,19 @@
"color": "$color.bg.danger-solid"
},
"icon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"title": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"description": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"linkLabel": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"actionableIcon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/public/rootage/components/progress-circle.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"color": "$color.palette.static-white-alpha-200"
},
"range": {
"color": "$color.bg.static-white"
"color": "$color.palette.static-white"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/public/rootage/components/radio.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"strokeWidth": "0px"
},
"icon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
}
},
"enabled,selected,pressed": {
Expand Down
4 changes: 2 additions & 2 deletions docs/public/rootage/components/select-box.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@
"strokeWidth": 0
},
"checkboxIcon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"radioControl": {
"color": "$color.bg.brand-solid",
"strokeWidth": 0
},
"radioIcon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
}
},
"enabled,selected,pressed": {
Expand Down
2 changes: 1 addition & 1 deletion docs/public/rootage/components/switch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"cornerRadius": "$radius.full"
},
"thumb": {
"color": "$color.fg.static-white",
"color": "$color.palette.static-white",
"cornerRadius": "$radius.full"
}
},
Expand Down
6 changes: 3 additions & 3 deletions docs/public/rootage/components/toggle-button.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"color": "$color.bg.brand-solid"
},
"label": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"prefixIcon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"suffixIcon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"progressCircle": {
"trackColor": "$color.palette.static-white-alpha-200",
Expand Down
4 changes: 2 additions & 2 deletions docs/public/rootage/components/top-navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
"color": "#00000000"
},
"title": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
},
"icon": {
"color": "$color.fg.static-white"
"color": "$color.palette.static-white"
}
}
},
Expand Down
Loading

0 comments on commit 6d06c0e

Please sign in to comment.