Skip to content

Commit

Permalink
feat: add semantic token colours (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdinhify authored Oct 26, 2023
1 parent c04b8e8 commit 73222ca
Show file tree
Hide file tree
Showing 11 changed files with 5,369 additions and 3,276 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- uses: actions/cache@v3
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- uses: actions/cache@v3
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18.16.0
8,405 changes: 5,297 additions & 3,108 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@
"publisherId": "571210a8-f372-43c2-8b5a-018868d4ac96"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"ovsx": "^0.5.0",
"semantic-release": "^19.0.3",
"ovsx": "^0.8.3",
"semantic-release": "^22.0.5",
"vsce": "^2.9.0"
},
"private": true,
Expand Down
38 changes: 11 additions & 27 deletions themes/gruvbox-dark-hard.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "vscode://schemas/color-theme",
"name": "Gruvbox Dark Hard",
"type": "dark",
"semanticHighlighting": true,
"tokenColors": [
{
"settings": {
"background": "#1d2021",
"foreground": "#ebdbb2"
}
},
Expand Down Expand Up @@ -434,12 +434,6 @@
"foreground": "#fe8019"
}
},
{
"scope": "string.inperpolated.dollar.shell",
"settings": {
"foreground": "#fe8019"
}
},
{
"scope": [
"string.interpolated.dollar.shell",
Expand Down Expand Up @@ -736,7 +730,7 @@
{
"scope": ["entity.name.tag.css"],
"settings": {
"fontStyle": "normal"
"fontStyle": ""
}
},
// HTML / XML ----------------------------------------
Expand Down Expand Up @@ -932,13 +926,11 @@
"sideBarSectionHeader.foreground": "#ebdbb2",
// ACTIVITY BAR
"activityBar.background": "#1d2021",
"activityBar.dropBackground": "#1d2021",
"activityBar.foreground": "#ebdbb2",
"activityBar.border": "#3c3836",
"activityBarBadge.background": "#458588",
"activityBarBadge.foreground": "#ebdbb2",
// EDITOR GROUPS
"editorGroup.background": "#3c3836",
"editorGroup.border": "#3c3836",
"editorGroup.dropBackground": "#3c383660",
"editorGroupHeader.noTabsBackground": "#3c3836",
Expand Down Expand Up @@ -969,8 +961,6 @@
"editor.lineHighlightBackground": "#3c383660",
"editor.lineHighlightBorder": "#3c383600",
"editorWhitespace.foreground": "#a8998420",
"editorIndentGuide.background": "#a8998420",
"editorIndentGuide.activeBackground": "#a8998450",
"editorRuler.foreground": "#a8998440",
"editorCodeLens.foreground": "#a8998490",
"editorBracketMatch.border": "#1d202100",
Expand Down Expand Up @@ -1019,7 +1009,6 @@
"peekView.border": "#3c3836",
"peekViewEditor.background": "#3c383650",
"peekViewEditorGutter.background": "#3c383650",
"peekViewEditor.matchHighlightBackground": "",
"peekViewResult.background": "#3c383650",
"peekViewResult.fileForeground": "#ebdbb2",
"peekViewResult.matchHighlightBackground": "#8ec07c30",
Expand Down Expand Up @@ -1049,8 +1038,6 @@
"statusBar.debuggingBorder": "#1d202100",
"statusBar.noFolderBackground": "#1d2021",
"statusBar.noFolderBorder": "#1d202100",
"statusBar.prominentBackground": "#689d6a",
"statusBar.prominentHoverBackground": "#689d6a70",
// INTEGRATED TERMINAL
"terminal.ansiBlack": "#3c3836",
"terminal.ansiBrightBlack": "#928374",
Expand Down Expand Up @@ -1088,24 +1075,21 @@
"notebook.focusedCellBorder": "#a89984",
"notebook.cellBorderColor": "#3c3836",
"notebook.focusedEditorBorder": "#3c3836",
// NOTIFICATION
"notification.background": "#1d2021",
"notification.foreground": "#ebdbb2",
"notification.buttonBackground": "#665c54",
"notification.buttonHoverBackground": "#665c5450",
"notification.buttonForeground": "#ebdbb2",
"notification.infoBackground": "#83a598",
"notification.infoForeground": "#1d2021",
"notification.warningBackground": "#fabd2f",
"notification.warningForeground": "#1d2021",
"notification.errorBackground": "#fb4934",
"notification.errorForeground": "#1d2021",
// EXTENSIONS
"extensionButton.prominentBackground": "#b8bb2680",
"extensionButton.prominentHoverBackground": "#b8bb2630",
// OTHERS
"textLink.foreground": "#83a598",
"textLink.activeForeground": "#458588",
"debugToolBar.background": "#1d2021"
},
"semanticTokenColors": {
"builtinConstant": "#d3869b",
"property": "#8ec07c",
"parameter": "#83a598",
"variable": "#ebdbb2",
"magicFunction": "#fe8019",
"function": "#fe8019",
"method": "#fe8019"
}
}
38 changes: 11 additions & 27 deletions themes/gruvbox-dark-medium.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "vscode://schemas/color-theme",
"name": "Gruvbox Dark Medium",
"type": "dark",
"semanticHighlighting": true,
"tokenColors": [
{
"settings": {
"background": "#282828",
"foreground": "#ebdbb2"
}
},
Expand Down Expand Up @@ -434,12 +434,6 @@
"foreground": "#fe8019"
}
},
{
"scope": "string.inperpolated.dollar.shell",
"settings": {
"foreground": "#fe8019"
}
},
{
"scope": [
"string.interpolated.dollar.shell",
Expand Down Expand Up @@ -736,7 +730,7 @@
{
"scope": ["entity.name.tag.css"],
"settings": {
"fontStyle": "normal"
"fontStyle": ""
}
},
// HTML / XML ----------------------------------------
Expand Down Expand Up @@ -932,13 +926,11 @@
"sideBarSectionHeader.foreground": "#ebdbb2",
// ACTIVITY BAR
"activityBar.background": "#282828",
"activityBar.dropBackground": "#282828",
"activityBar.foreground": "#ebdbb2",
"activityBar.border": "#3c3836",
"activityBarBadge.background": "#458588",
"activityBarBadge.foreground": "#ebdbb2",
// EDITOR GROUPS
"editorGroup.background": "#3c3836",
"editorGroup.border": "#3c3836",
"editorGroup.dropBackground": "#3c383660",
"editorGroupHeader.noTabsBackground": "#3c3836",
Expand Down Expand Up @@ -969,8 +961,6 @@
"editor.lineHighlightBackground": "#3c383660",
"editor.lineHighlightBorder": "#3c383600",
"editorWhitespace.foreground": "#a8998420",
"editorIndentGuide.background": "#a8998420",
"editorIndentGuide.activeBackground": "#a8998450",
"editorRuler.foreground": "#a8998440",
"editorCodeLens.foreground": "#a8998490",
"editorBracketMatch.border": "#28282800",
Expand Down Expand Up @@ -1019,7 +1009,6 @@
"peekView.border": "#3c3836",
"peekViewEditor.background": "#3c383650",
"peekViewEditorGutter.background": "#3c383650",
"peekViewEditor.matchHighlightBackground": "",
"peekViewResult.background": "#3c383650",
"peekViewResult.fileForeground": "#ebdbb2",
"peekViewResult.matchHighlightBackground": "#8ec07c30",
Expand Down Expand Up @@ -1049,8 +1038,6 @@
"statusBar.debuggingBorder": "#28282800",
"statusBar.noFolderBackground": "#282828",
"statusBar.noFolderBorder": "#28282800",
"statusBar.prominentBackground": "#689d6a",
"statusBar.prominentHoverBackground": "#689d6a70",
// INTEGRATED TERMINAL
"terminal.ansiBlack": "#3c3836",
"terminal.ansiBrightBlack": "#928374",
Expand Down Expand Up @@ -1088,24 +1075,21 @@
"notebook.focusedCellBorder": "#a89984",
"notebook.cellBorderColor": "#504945",
"notebook.focusedEditorBorder": "#504945",
// NOTIFICATION
"notification.background": "#282828",
"notification.foreground": "#ebdbb2",
"notification.buttonBackground": "#665c54",
"notification.buttonHoverBackground": "#665c5450",
"notification.buttonForeground": "#ebdbb2",
"notification.infoBackground": "#83a598",
"notification.infoForeground": "#282828",
"notification.warningBackground": "#fabd2f",
"notification.warningForeground": "#282828",
"notification.errorBackground": "#fb4934",
"notification.errorForeground": "#282828",
// EXTENSIONS
"extensionButton.prominentBackground": "#b8bb2680",
"extensionButton.prominentHoverBackground": "#b8bb2630",
// OTHERS
"textLink.foreground": "#83a598",
"textLink.activeForeground": "#458588",
"debugToolBar.background": "#282828"
},
"semanticTokenColors": {
"builtinConstant": "#d3869b",
"property": "#8ec07c",
"parameter": "#83a598",
"variable": "#ebdbb2",
"magicFunction": "#fe8019",
"function": "#fe8019",
"method": "#fe8019"
}
}
38 changes: 11 additions & 27 deletions themes/gruvbox-dark-soft.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"$schema": "vscode://schemas/color-theme",
"name": "Gruvbox Dark Soft",
"type": "dark",
"semanticHighlighting": true,
"tokenColors": [
{
"settings": {
"background": "#32302f",
"foreground": "#ebdbb2"
}
},
Expand Down Expand Up @@ -434,12 +434,6 @@
"foreground": "#fe8019"
}
},
{
"scope": "string.inperpolated.dollar.shell",
"settings": {
"foreground": "#fe8019"
}
},
{
"scope": [
"string.interpolated.dollar.shell",
Expand Down Expand Up @@ -736,7 +730,7 @@
{
"scope": ["entity.name.tag.css"],
"settings": {
"fontStyle": "normal"
"fontStyle": ""
}
},
// HTML / XML ----------------------------------------
Expand Down Expand Up @@ -932,13 +926,11 @@
"sideBarSectionHeader.foreground": "#ebdbb2",
// ACTIVITY BAR
"activityBar.background": "#32302f",
"activityBar.dropBackground": "#32302f",
"activityBar.foreground": "#ebdbb2",
"activityBar.border": "#3c3836",
"activityBarBadge.background": "#458588",
"activityBarBadge.foreground": "#ebdbb2",
// EDITOR GROUPS
"editorGroup.background": "#3c3836",
"editorGroup.border": "#3c3836",
"editorGroup.dropBackground": "#3c383660",
"editorGroupHeader.noTabsBackground": "#3c3836",
Expand Down Expand Up @@ -969,8 +961,6 @@
"editor.lineHighlightBackground": "#3c383660",
"editor.lineHighlightBorder": "#3c383600",
"editorWhitespace.foreground": "#a8998420",
"editorIndentGuide.background": "#a8998420",
"editorIndentGuide.activeBackground": "#a8998450",
"editorRuler.foreground": "#a8998440",
"editorCodeLens.foreground": "#a8998490",
"editorBracketMatch.border": "#32302f00",
Expand Down Expand Up @@ -1019,7 +1009,6 @@
"peekView.border": "#3c3836",
"peekViewEditor.background": "#3c383650",
"peekViewEditorGutter.background": "#3c383650",
"peekViewEditor.matchHighlightBackground": "",
"peekViewResult.background": "#3c383650",
"peekViewResult.fileForeground": "#ebdbb2",
"peekViewResult.matchHighlightBackground": "#8ec07c30",
Expand Down Expand Up @@ -1049,8 +1038,6 @@
"statusBar.debuggingBorder": "#32302f00",
"statusBar.noFolderBackground": "#32302f",
"statusBar.noFolderBorder": "#32302f00",
"statusBar.prominentBackground": "#689d6a",
"statusBar.prominentHoverBackground": "#689d6a70",
// INTEGRATED TERMINAL
"terminal.ansiBlack": "#3c3836",
"terminal.ansiBrightBlack": "#928374",
Expand Down Expand Up @@ -1088,24 +1075,21 @@
"notebook.focusedCellBorder": "#a89984",
"notebook.cellBorderColor": "#665c54",
"notebook.focusedEditorBorder": "#665c54",
// NOTIFICATION
"notification.background": "#32302f",
"notification.foreground": "#ebdbb2",
"notification.buttonBackground": "#665c54",
"notification.buttonHoverBackground": "#665c5450",
"notification.buttonForeground": "#ebdbb2",
"notification.infoBackground": "#83a598",
"notification.infoForeground": "#32302f",
"notification.warningBackground": "#fabd2f",
"notification.warningForeground": "#32302f",
"notification.errorBackground": "#fb4934",
"notification.errorForeground": "#32302f",
// EXTENSIONS
"extensionButton.prominentBackground": "#b8bb2680",
"extensionButton.prominentHoverBackground": "#b8bb2630",
// OTHERS
"textLink.foreground": "#83a598",
"textLink.activeForeground": "#458588",
"debugToolBar.background": "#32302f"
},
"semanticTokenColors": {
"builtinConstant": "#d3869b",
"property": "#8ec07c",
"parameter": "#83a598",
"variable": "#ebdbb2",
"magicFunction": "#fe8019",
"function": "#fe8019",
"method": "#fe8019"
}
}
Loading

0 comments on commit 73222ca

Please sign in to comment.