Skip to content

Commit

Permalink
Color tokens for secondary buttons of custom dialogs (#216)
Browse files Browse the repository at this point in the history
VS Code 1.56 [1] (April 2021) introduced new colors tokens for secondary
buttons of custom dialogs [2]:

- `button.secondaryBackground`
- `button.secondaryForeground`
- `button.secondaryHoverBackground`

This commit also includes visual improvements for the current Nord theme
styles of primary buttons:

- `button.background` - `nord2` to `nord8` with a transparency of ~93%.
- `button.foreground` - `nord4` to `nord0`.
- `button.hoverBackground` - `nord3` to `nord8`.

[1]: https://code.visualstudio.com/updates/v1_56
[2]: https://code.visualstudio.com/updates/v1_56#_updated-custom-dialogs

Co-authored-by: Sven Greb <development@svengreb.de>

Closes GH-207
  • Loading branch information
arcticicestudio authored Jun 22, 2021
1 parent 942e9d1 commit 24e34f8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions themes/nord-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@
"activityBarBadge.foreground": "#2e3440",
"badge.foreground": "#2e3440",
"badge.background": "#88c0d0",
"button.background": "#434c5e",
"button.foreground": "#d8dee9",
"button.hoverBackground": "#4c566a",
"button.background": "#88c0d0ee",
"button.foreground": "#2e3440",
"button.hoverBackground": "#88c0d0",
"button.secondaryBackground": "#434c5e",
"button.secondaryForeground": "#d8dee9",
"button.secondaryHoverBackground": "#4c566a",
"charts.red": "#bf616a",
"charts.blue": "#81a1c1",
"charts.yellow": "#ebcb8b",
Expand Down

0 comments on commit 24e34f8

Please sign in to comment.