Skip to content

Commit

Permalink
Pushing a set of "global" colour tokens for each theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjones committed Oct 11, 2023
1 parent 42b8bc1 commit ad106a0
Show file tree
Hide file tree
Showing 3 changed files with 327 additions and 0 deletions.
117 changes: 117 additions & 0 deletions tokens/themes/classic.json
Original file line number Diff line number Diff line change
Expand Up @@ -1279,5 +1279,122 @@
"name": {
"value": "classic",
"type": "other"
},
"global": {
"color": {
"stroke": {
"default": {
"value": "{palette.slate.100}",
"type": "color",
"increased": {
"value": "#cccdcf",
"type": "color"
},
"muted": {
"value": "#e6e7e9",
"type": "color"
},
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "1",
"space": "lch"
}
}
}
},
"muted": {
"value": "{palette.slate.100}",
"type": "color",
"increased": {
"value": "#cccdcf",
"type": "color"
},
"muted": {
"value": "#e6e7e9",
"type": "color"
},
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "1",
"space": "lch"
}
}
}
},
"intense": {
"value": "{palette.slate.300}",
"type": "color",
"increased": {
"value": "#cccdcf",
"type": "color"
},
"muted": {
"value": "#e6e7e9",
"type": "color"
}
}
},
"accent": {
"default": {
"value": "{palette.neutral.900}",
"type": "color"
}
},
"background": {
"default": {
"value": "{palette.neutral.0}",
"type": "color"
},
"muted": {
"value": "{palette.slate.50}",
"type": "color"
}
},
"text": {
"default": {
"value": "{palette.slate.900}",
"type": "color"
},
"muted": {
"value": "{palette.slate.600}",
"type": "color"
},
"link": {
"default": {
"value": "#C78F0F",
"type": "color"
},
"hover": {
"value": "#C78F0F",
"type": "color"
}
}
},
"outline": {
"default": {
"value": "{global.color.text.link.default}",
"type": "color"
}
},
"shadow": {
"default": {
"value": "{palette.neutral.900}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "0.15",
"space": "lch"
}
}
}
}
}
}
}
}
93 changes: 93 additions & 0 deletions tokens/themes/dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -3125,5 +3125,98 @@
"name": {
"value": "dark",
"type": "other"
},
"global": {
"color": {
"background": {
"default": {
"value": "{palette.neutral.750}",
"type": "color"
},
"muted": {
"value": "{palette.neutral.725}",
"type": "color"
}
},
"text": {
"default": {
"value": "{palette.neutral.0}",
"type": "color"
},
"muted": {
"value": "{palette.slate.300}",
"type": "color"
},
"link": {
"default": {
"value": "{palette.brand.300}",
"type": "color"
},
"hover": {
"value": "{palette.brand.100}",
"type": "color"
}
}
},
"stroke": {
"default": {
"value": "{palette.neutral.700}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "0.3",
"space": "lch"
}
}
}
},
"muted": {
"value": "{palette.neutral.700}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "0.3",
"space": "lch"
}
}
}
},
"intense": {
"value": "{palette.neutral.700}",
"type": "color"
}
},
"accent": {
"default": {
"value": "{palette.brand.300}",
"type": "color"
}
},
"outline": {
"default": {
"value": "{palette.brand.300}",
"type": "color"
}
},
"shadow": {
"default": {
"value": "{palette.neutral.900}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "0.6",
"space": "lch"
}
}
}
}
}
}
}
}
117 changes: 117 additions & 0 deletions tokens/themes/light.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,5 +3037,122 @@
"name": {
"value": "light",
"type": "other"
},
"global": {
"color": {
"stroke": {
"default": {
"value": "{palette.slate.100}",
"type": "color",
"increased": {
"value": "#cccdcf",
"type": "color"
},
"muted": {
"value": "#e6e7e9",
"type": "color"
},
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "1",
"space": "lch"
}
}
}
},
"muted": {
"value": "{palette.slate.100}",
"type": "color",
"increased": {
"value": "#cccdcf",
"type": "color"
},
"muted": {
"value": "#e6e7e9",
"type": "color"
},
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "1",
"space": "lch"
}
}
}
},
"intense": {
"value": "{palette.slate.300}",
"type": "color",
"increased": {
"value": "#cccdcf",
"type": "color"
},
"muted": {
"value": "#e6e7e9",
"type": "color"
}
}
},
"accent": {
"default": {
"value": "{palette.neutral.900}",
"type": "color"
}
},
"background": {
"default": {
"value": "{palette.neutral.0}",
"type": "color"
},
"muted": {
"value": "{palette.slate.50}",
"type": "color"
}
},
"text": {
"default": {
"value": "{palette.slate.900}",
"type": "color"
},
"muted": {
"value": "{palette.slate.600}",
"type": "color"
},
"link": {
"default": {
"value": "{palette.info.400}",
"type": "color"
},
"hover": {
"value": "{palette.info.600}",
"type": "color"
}
}
},
"outline": {
"default": {
"value": "{palette.info.400}",
"type": "color"
}
},
"shadow": {
"default": {
"value": "{palette.neutral.900}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "0.15",
"space": "lch"
}
}
}
}
}
}
}
}

1 comment on commit ad106a0

@vercel
Copy link

@vercel vercel bot commented on ad106a0 Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

click-ui – ./

click-ui-git-main-clickhouse.vercel.app
click-ui.vercel.app
click-ui-clickhouse.vercel.app

Please sign in to comment.