Skip to content

Commit

Permalink
feat: add bracket pair colors (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
shpigunov authored May 30, 2022
1 parent 0b198a2 commit 39744aa
Show file tree
Hide file tree
Showing 8 changed files with 231 additions and 625 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ Special thank to [Pavel Pertsev](https://github.com/morhetz), the creator of [gr
- [Maxim Tsoy](https://github.com/muodov)
- [Huip van den Ende](https://github.com/huipvandenende)
- [Christian Klaussner](https://github.com/klaussner)
- [Anton Shpigunov](https://github.com/shpigunov)

Thanks for help to make the Gruvbox theme better.

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"Layo (https://github.com/layoaster)",
"Maxim Tsoy (https://github.com/muodov)",
"Huip van den Ende (https://github.com/huipvandenende)",
"Christian Klaussner (https://github.com/klaussner)"
"Christian Klaussner (https://github.com/klaussner)",
"Anton Shpigunov (https://github.com/shpigunov)"
],
"publisher": "jdinhlife",
"engines": {
Expand Down
142 changes: 38 additions & 104 deletions themes/gruvbox-dark-hard.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,14 @@
}
},
{
"scope": [
"comment",
"punctuation.definition.comment"
],
"scope": ["comment", "punctuation.definition.comment"],
"settings": {
"foreground": "#928374",
"fontStyle": "italic"
}
},
{
"scope": [
"constant",
"support.constant",
"variable.arguments"
],
"scope": ["constant", "support.constant", "variable.arguments"],
"settings": {
"foreground": "#d3869b"
}
Expand All @@ -65,19 +58,13 @@
}
},
{
"scope": [
"entity.name.tag",
"punctuation.tag"
],
"scope": ["entity.name.tag", "punctuation.tag"],
"settings": {
"foreground": "#8ec07c"
}
},
{
"scope": [
"invalid",
"invalid.illegal"
],
"scope": ["invalid", "invalid.illegal"],
"settings": {
"foreground": "#cc241d"
}
Expand Down Expand Up @@ -267,10 +254,7 @@
}
},
{
"scope": [
"variable.this",
"support.variable"
],
"scope": ["variable.this", "support.variable"],
"settings": {
"foreground": "#d3869b"
}
Expand Down Expand Up @@ -354,9 +338,7 @@
}
},
{
"scope": [
"punctuation"
],
"scope": ["punctuation"],
"settings": {
"foreground": "#a89984"
}
Expand All @@ -375,11 +357,7 @@
},
{
"name": "URL",
"scope": [
"*url*",
"*link*",
"*uri*"
],
"scope": ["*url*", "*link*", "*uri*"],
"settings": {
"fontStyle": "underline"
}
Expand All @@ -390,10 +368,7 @@
// PYTHON ----------------------------------------
{
"name": "Python function",
"scope": [
"meta.function.python",
"entity.name.function.python"
],
"scope": ["meta.function.python", "entity.name.function.python"],
"settings": {
"foreground": "#8ec07c"
}
Expand Down Expand Up @@ -505,10 +480,7 @@
},
{
"name": "C# This",
"scope": [
"keyword.other.this.cs",
"keyword.other.base.cs"
],
"scope": ["keyword.other.this.cs", "keyword.other.base.cs"],
"settings": {
"foreground": "#d3869b"
}
Expand Down Expand Up @@ -539,10 +511,7 @@
}
},
{
"scope": [
"keyword.other.import.java",
"keyword.other.package.java"
],
"scope": ["keyword.other.import.java", "keyword.other.package.java"],
"settings": {
"foreground": "#8ec07c"
}
Expand Down Expand Up @@ -661,10 +630,7 @@
}
},
{
"scope": [
"markup.inline.raw",
"markup.fenced_code.block"
],
"scope": ["markup.inline.raw", "markup.fenced_code.block"],
"settings": {
"foreground": "#8ec07c"
}
Expand Down Expand Up @@ -760,135 +726,101 @@
}
},
{
"scope": [
"entity.name.tag.css"
],
"scope": ["entity.name.tag.css"],
"settings": {
"fontStyle": "normal"
}
},
// HTML / XML ----------------------------------------
{
"scope": [
"punctuation.definition.tag"
],
"scope": ["punctuation.definition.tag"],
"settings": {
"foreground": "#83a598"
}
},
{
"scope": [
"text.html entity.name.tag",
"text.html punctuation.tag"
],
"scope": ["text.html entity.name.tag", "text.html punctuation.tag"],
"settings": {
"foreground": "#8ec07c",
"fontStyle": "bold"
}
},
// javascript ---------------------------------------
{
"scope": [
"source.js variable.language"
],
"scope": ["source.js variable.language"],
"settings": {
"foreground": "#fe8019"
}
},
// typescript ---------------------------------------
{
"scope": [
"source.ts variable.language"
],
"scope": ["source.ts variable.language"],
"settings": {
"foreground": "#fe8019"
}
},
// golang --------------------------------------------
{
"scope": [
"source.go storage.type"
],
"scope": ["source.go storage.type"],
"settings": {
"foreground": "#fabd2f"
}
},
{
"scope": [
"source.go entity.name.import"
],
"scope": ["source.go entity.name.import"],
"settings": {
"foreground": "#b8bb26"
}
},
{
"scope": [
"source.go keyword.package",
"source.go keyword.import"
],
"scope": ["source.go keyword.package", "source.go keyword.import"],
"settings": {
"foreground": "#8ec07c"
}
},
{
"scope": [
"source.go keyword.interface",
"source.go keyword.struct"
],
"scope": ["source.go keyword.interface", "source.go keyword.struct"],
"settings": {
"foreground": "#83a598"
}
},
{
"scope": [
"source.go entity.name.type"
],
"scope": ["source.go entity.name.type"],
"settings": {
"foreground": "#ebdbb2"
}
},
{
"scope": [
"source.go entity.name.function"
],
"scope": ["source.go entity.name.function"],
"settings": {
"foreground": "#d3869b"
}
},
// cucumber
{
"scope": [
"keyword.control.cucumber.table"
],
"scope": ["keyword.control.cucumber.table"],
"settings": {
"foreground": "#83a598"
}
},
// REASONML ------------------------------------
{
"name": "ReasonML String",
"scope": [
"source.reason string.double",
"source.reason string.regexp"
],
"scope": ["source.reason string.double", "source.reason string.regexp"],
"settings": {
"foreground": "#b8bb26"
}
},
{
"name": "ReasonML equals sign",
"scope": [
"source.reason keyword.control.less"
],
"scope": ["source.reason keyword.control.less"],
"settings": {
"foreground": "#8ec07c"
}
},
{
"name": "ReasonML variable",
"scope": [
"source.reason entity.name.function"
],
"scope": ["source.reason entity.name.function"],
"settings": {
"foreground": "#83a598"
}
Expand All @@ -906,27 +838,21 @@
// POWERSHELL ------------------------------------
{
"name": "Powershell member",
"scope": [
"source.powershell variable.other.member.powershell"
],
"scope": ["source.powershell variable.other.member.powershell"],
"settings": {
"foreground": "#fe8019"
}
},
{
"name": "Powershell function",
"scope": [
"source.powershell support.function.powershell"
],
"scope": ["source.powershell support.function.powershell"],
"settings": {
"foreground": "#fabd2f"
}
},
{
"name": "Powershell function attribute",
"scope": [
"source.powershell support.function.attribute.powershell"
],
"scope": ["source.powershell support.function.attribute.powershell"],
"settings": {
"foreground": "#bdae93"
}
Expand Down Expand Up @@ -1062,6 +988,14 @@
"editorError.foreground": "#cc241d",
"editorWarning.foreground": "#d79921",
"editorInfo.foreground": "#458588",
// EDITOR - BRACKET PAIR COLORIZATION
"editorBracketHighlight.foreground1": "#b16286",
"editorBracketHighlight.foreground2": "#458588",
"editorBracketHighlight.foreground3": "#689d6a",
"editorBracketHighlight.foreground4": "#98971a",
"editorBracketHighlight.foreground5": "#d79921",
"editorBracketHighlight.foreground6": "#d65d0e",
"editorBracketHighlight.unexpectedBracket.foreground": "#cc241d",
// DIFF EDITOR
"diffEditor.insertedTextBackground": "#b8bb2630",
"diffEditor.removedTextBackground": "#fb493430",
Expand Down Expand Up @@ -1158,4 +1092,4 @@
"textLink.activeForeground": "#458588",
"debugToolBar.background": "#1d2021"
}
}
}
Loading

0 comments on commit 39744aa

Please sign in to comment.