Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add switch tokens
Browse files Browse the repository at this point in the history
itupix committed Jul 3, 2024
1 parent a4d9eb4 commit 6774058
Showing 2 changed files with 234 additions and 0 deletions.
117 changes: 117 additions & 0 deletions src/themes/day.json
Original file line number Diff line number Diff line change
@@ -451,6 +451,123 @@
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-selected",
"value": "{!color-primary-500}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-handle-selected",
"value": "{!color-neutral-050}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-selected-hover",
"value": "{!color-primary-400}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-handle-selected-hover",
"value": "{!color-neutral-050}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-handle-unselected",
"value": "{!color-neutral-500}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-handle-unselected-hover",
"value": "{!color-neutral-600}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-handle-unselected-disabled",
"value": "{!color-neutral-200}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "content-switch-handle-selected",
"value": "{!color-primary-500}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "content-switch-handle-selected-hover",
"value": "{!color-primary-400}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "content-switch-handle-selected-disabled",
"value": "{!color-neutral-200}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "border-switch-selected",
"value": "{!color-primary-500}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "border-switch-selected-hover",
"value": "{!color-primary-400}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "border-switch-selected-disabled",
"value": "{!color-neutral-200}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
117 changes: 117 additions & 0 deletions src/themes/night.json
Original file line number Diff line number Diff line change
@@ -451,6 +451,123 @@
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-selected",
"value": "{!color-primary-400}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-handle-selected",
"value": "{!color-neutral-050}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-selected-hover",
"value": "{!color-primary-300}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-handle-selected-hover",
"value": "{!color-neutral-500}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-handle-unselected",
"value": "{!color-neutral-500}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-handle-unselected-hover",
"value": "{!color-neutral-400}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "background-switch-handle-unselected-disabled",
"value": "{!color-neutral-600}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "content-switch-handle-selected",
"value": "{!color-primary-400}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "content-switch-handle-selected-hover",
"value": "{!color-primary-300}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "content-switch-handle-selected-disabled",
"value": "{!color-neutral-700}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "border-switch-selected",
"value": "{!color-primary-400}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "border-switch-selected-hover",
"value": "{!color-primary-300}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",
"name": "border-switch-selected-disabled",
"value": "{!color-neutral-600}",
"meta": {
"opacity": 1
}
},
{
"type": "color",
"category": "color",

0 comments on commit 6774058

Please sign in to comment.