Skip to content

Commit

Permalink
Update metadata and themes
Browse files Browse the repository at this point in the history
  • Loading branch information
jaalah committed Dec 29, 2023
1 parent 4e42f8e commit a48ca56
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 785 deletions.
9 changes: 6 additions & 3 deletions tokens/$metadata.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"tokenSetOrder": [
"global/global",
"global/highContrast",
"alias/light",
"alias/densedLight",
"alias/dark",
"alias/highContrast",
"components/button/button"
"alias/densedDark",
"components/appBar/appBar",
"components/button/button",
"components/container/container",
"components/table/table"
]
}
8 changes: 6 additions & 2 deletions tokens/$themes.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@
"$figmaStyleReferences": {},
"selectedTokenSets": {
"global/global": "enabled",
"alias/light": "enabled",
"alias/dark": "enabled",
"components/button/button": "enabled",
"components/appbar/appbar": "enabled",
Expand Down Expand Up @@ -635,9 +636,10 @@
"$figmaStyleReferences": {},
"selectedTokenSets": {
"global/global": "enabled",
"components/button/button": "enabled",
"alias/light": "enabled",
"alias/densedLight": "enabled",
"components/appbar/appbar": "enabled",
"components/button/button": "enabled",
"components/container/container": "enabled",
"components/table/table": "enabled"
},
Expand Down Expand Up @@ -950,9 +952,11 @@
"$figmaStyleReferences": {},
"selectedTokenSets": {
"global/global": "enabled",
"alias/light": "enabled",
"alias/dark": "enabled",
"alias/densedDark": "enabled",
"components/button/button": "enabled",
"components/appbar/appbar": "enabled",
"components/button/button": "enabled",
"components/container/container": "enabled",
"components/table/table": "enabled"
},
Expand Down
198 changes: 0 additions & 198 deletions tokens/alias/dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,50 +6,18 @@
"value": "{global.color.neutrals.100}",
"type": "color"
},
"negative": {
"value": "{global.color.red.90}",
"type": "color"
},
"warning": {
"value": "{global.color.amber.70}",
"type": "color"
},
"positive": {
"value": "{global.color.green.70}",
"type": "color"
},
"informative": {
"value": "{global.color.ultramarine.70}",
"type": "color"
},
"inverted50": {
"value": "rgba(255,255,255,0.5)",
"type": "color"
},
"white": {
"value": "{global.color.neutrals.white}",
"type": "color"
},
"primary": {
"default": {
"value": "{global.color.neutrals.white}",
"type": "color",
"description": "Primary text color"
},
"disabled": {
"value": "{global.color.neutrals.50}",
"type": "color"
}
},
"secondary": {
"default": {
"value": "{global.color.neutrals.50}",
"type": "color",
"description": "Placeholder text"
},
"disabled": {
"value": "{global.color.neutrals.50}",
"type": "color"
}
},
"link": {
Expand All @@ -60,10 +28,6 @@
"hover": {
"value": "{global.color.brand.50}",
"type": "color"
},
"disabled": {
"value": "{global.color.neutrals.50}",
"type": "color"
}
}
},
Expand All @@ -72,26 +36,6 @@
"value": "{global.color.neutrals.100}",
"type": "color"
},
"negative": {
"value": "{global.color.red.90}",
"type": "color"
},
"warning": {
"value": "{global.color.amber.70}",
"type": "color"
},
"positive": {
"value": "{global.color.green.70}",
"type": "color"
},
"informative": {
"value": "{global.color.ultramarine.70}",
"type": "color"
},
"white": {
"value": "{global.color.neutrals.white}",
"type": "color"
},
"primary": {
"default": {
"value": "{global.color.neutrals.white}",
Expand All @@ -105,10 +49,6 @@
"active": {
"value": "{global.color.brand.60}",
"type": "color"
},
"disabled": {
"value": "{global.color.neutrals.50}",
"type": "color"
}
}
}
Expand All @@ -118,26 +58,6 @@
"value": "{global.color.neutrals.80}",
"type": "color",
"description": "Static component border"
},
"neutral": {
"value": "{global.color.neutrals.100}",
"type": "color"
},
"negative": {
"value": "{global.color.red.70}",
"type": "color"
},
"warning": {
"value": "{global.color.amber.70}",
"type": "color"
},
"positive": {
"value": "{global.color.green.70}",
"type": "color"
},
"informative": {
"value": "{global.color.ultramarine.70}",
"type": "color"
}
},
"background": {
Expand All @@ -150,107 +70,9 @@
"value": "{global.color.neutrals.100}",
"type": "color",
"description": "Default page background"
},
"base": {
"value": "{global.color.neutrals.100}",
"type": "color",
"description": "Dark bg for table headers, tooltip"
},
"negative": {
"value": "{global.color.red.70}",
"type": "color"
},
"warning": {
"value": "{global.color.amber.70}",
"type": "color"
},
"positive": {
"value": "{global.color.green.70}",
"type": "color"
},
"informative": {
"value": "{global.color.ultramarine.70}",
"type": "color"
},
"black": {
"value": "{global.color.neutrals.black}",
"type": "color",
"description": "Global header and footer background"
},
"negativesubtle": {
"value": "{global.color.red.10}",
"type": "color"
},
"warningsubtle": {
"value": "{global.color.amber.10}",
"type": "color"
},
"positivesubtle": {
"value": "{global.color.green.10}",
"type": "color"
},
"informativesubtle": {
"value": "{global.color.ultramarine.10}",
"type": "color"
},
"neutralsubtle": {
"value": "{global.color.neutrals.20}",
"type": "color"
}
},
"interaction": {
"border": {
"default": {
"value": "{global.color.neutrals.60}",
"type": "color",
"description": "Default inputs border"
},
"hover": {
"value": "{global.color.neutrals.90}",
"type": "color"
},
"focus": {
"value": "{global.color.brand.90}",
"type": "color"
},
"error": {
"value": "{global.color.red.70}",
"type": "color"
},
"disabled": {
"value": "{global.color.neutrals.40}",
"type": "color"
}
},
"background": {
"primary": {
"value": "{global.color.neutrals.white}",
"type": "color",
"description": "Default component background color"
},
"secondary": {
"value": "{global.color.neutrals.5}",
"type": "color"
},
"tertiary": {
"value": "{global.color.brand.10}",
"type": "color"
},
"accent": {
"value": "{global.color.brand.30}",
"type": "color"
},
"disabled": {
"value": "{global.color.neutrals.10}",
"type": "color"
}
}
},
"action": {
"base": {
"value": "{global.color.neutrals.white}",
"type": "color"
},
"primary": {
"default": {
"value": "{global.color.brand.60}",
Expand All @@ -264,26 +86,6 @@
"active": {
"value": "{global.color.brand.60}",
"type": "color"
},
"disabled": {
"value": "{global.color.neutrals.20}",
"type": "color"
}
},
"secondary": {
"hover": {
"value": "{global.color.brand.10}",
"type": "color"
},
"disabled": {
"value": "{global.color.neutrals.40}",
"type": "color"
}
},
"tertiary": {
"disabled": {
"value": "{global.color.brand.40}",
"type": "color"
}
}
}
Expand Down
Loading

0 comments on commit a48ca56

Please sign in to comment.