Skip to content

Commit

Permalink
Adding feedback colours into global scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjones committed Nov 1, 2023
1 parent 84ee543 commit 9b37261
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 0 deletions.
56 changes: 56 additions & 0 deletions tokens/themes/classic.json
Original file line number Diff line number Diff line change
Expand Up @@ -1668,6 +1668,62 @@
}
}
}
},
"feedback": {
"info": {
"background": {
"value": "{palette.info.50}",
"type": "color"
},
"foreground": {
"value": "{palette.info.400}",
"type": "color"
}
},
"success": {
"background": {
"value": "{palette.success.50}",
"type": "color"
},
"foreground": {
"value": "{palette.success.700}",
"type": "color"
}
},
"warning": {
"background": {
"value": "{palette.warning.50}",
"type": "color"
},
"foreground": {
"value": "{palette.warning.700}",
"type": "color"
}
},
"danger": {
"background": {
"value": "{palette.danger.50}",
"type": "color"
},
"foreground": {
"value": "{palette.danger.600}",
"type": "color"
}
},
"neutral": {
"background": {
"value": "{palette.slate.100}",
"type": "color"
},
"foreground": {
"value": "{palette.slate.700}",
"type": "color"
},
"stroke": {
"value": "{click.global.color.stroke.default}",
"type": "color"
}
}
}
}
}
Expand Down
56 changes: 56 additions & 0 deletions tokens/themes/dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -3305,6 +3305,62 @@
}
}
}
},
"feedback": {
"info": {
"background": {
"value": "{palette.info.600}",
"type": "color"
},
"foreground": {
"value": "{palette.info.200}",
"type": "color"
}
},
"success": {
"background": {
"value": "{palette.success.800}",
"type": "color"
},
"foreground": {
"value": "{palette.success.300}",
"type": "color"
}
},
"warning": {
"background": {
"value": "{palette.warning.800}",
"type": "color"
},
"foreground": {
"value": "{palette.warning.400}",
"type": "color"
}
},
"danger": {
"background": {
"value": "{palette.danger.800}",
"type": "color"
},
"foreground": {
"value": "{palette.danger.300}",
"type": "color"
}
},
"neutral": {
"background": {
"value": "{palette.neutral.700}",
"type": "color"
},
"foreground": {
"value": "{palette.neutral.300}",
"type": "color"
},
"stroke": {
"value": "{click.global.color.stroke.default}",
"type": "color"
}
}
}
}
}
Expand Down
56 changes: 56 additions & 0 deletions tokens/themes/light.json
Original file line number Diff line number Diff line change
Expand Up @@ -3237,6 +3237,62 @@
}
}
}
},
"feedback": {
"info": {
"background": {
"value": "{palette.info.50}",
"type": "color"
},
"foreground": {
"value": "{palette.info.400}",
"type": "color"
}
},
"success": {
"background": {
"value": "{palette.success.50}",
"type": "color"
},
"foreground": {
"value": "{palette.success.700}",
"type": "color"
}
},
"warning": {
"background": {
"value": "{palette.warning.50}",
"type": "color"
},
"foreground": {
"value": "{palette.warning.700}",
"type": "color"
}
},
"danger": {
"background": {
"value": "{palette.danger.50}",
"type": "color"
},
"foreground": {
"value": "{palette.danger.600}",
"type": "color"
}
},
"neutral": {
"background": {
"value": "{palette.slate.100}",
"type": "color"
},
"foreground": {
"value": "{palette.slate.700}",
"type": "color"
},
"stroke": {
"value": "{click.global.color.stroke.default}",
"type": "color"
}
}
}
}
},
Expand Down

1 comment on commit 9b37261

@vercel
Copy link

@vercel vercel bot commented on 9b37261 Nov 1, 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.