Skip to content

Commit

Permalink
Adjusted hex themes for new gutter diff colors (#4990)
Browse files Browse the repository at this point in the history
* added 2 themes

* diff feature fixes

adjusted the skin to better work with the new diff coloring features

propagates to child skins like
- hex_toxic

* fine tuning so it all is a bit softer

* fine tuning to be softer

* added new version, lavender
  • Loading branch information
PORTALSURFER authored Dec 4, 2022
1 parent 326a0da commit e9d0645
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 19 deletions.
31 changes: 31 additions & 0 deletions runtime/themes/hex_lavender.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
inherits = "hex_steel"

[palette]
t1 = "#0e0e0d"
t2 = "#121311"
t3 = "#2b3444" #
t4 = "#61586f"
t5 = "#686e73"
t6 = "#878480"
t7 = "#897dca"
t8 = "#7b89a3"
t9 = "#bcb6ba"
t10 = "#9db2b8"
t11 = "#a0c7cf"

highlight = "#ff2e5f"
highlight_two = "#0affa9"
highlight_three = "#29bbff"

black = "#000000"

selection = "#290019"

comment = "#9aacfe"
comment_doc = "#0affa9"

error = "#ff0900"
warning = "#ffbf00"
display = "#57ff89"
info = "#dad7d5"
#
33 changes: 19 additions & 14 deletions runtime/themes/hex_steel.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"comment" = { fg = "highlight_three" }
"comment.block.documentation" = { bg = "t4", modifiers = ["italic"] }
"comment" = { fg = "comment" }
"comment.block.documentation" = { bg = "comment_doc", modifiers = ["italic"] }

"constant" = { fg = "t11" }
"function" = { fg = "t10" }
Expand All @@ -20,18 +20,19 @@
"variable" = { fg = "t4" }
"label" = { fg = "t4" }

"diff.plus" = { fg = "t4" }
"diff.delta" = { fg = "t4" }
"diff.minus" = { fg = "t4" }
"diff.plus" = { fg = "diff_plus" }
"diff.delta" = { fg = "diff_delta" }
"diff.delta.moved" = { fg = "diff_delta_moved" }
"diff.minus" = { fg = "diff_minus" }

"ui.cursor.insert" = { fg = "t2", bg = "highlight" }
"ui.cursor.select" = { fg = "t2", bg = "highlight_two" }
"ui.cursor" = { fg = "t1", bg = "highlight_three" }
"ui.cursor.match" = { fg = "highlight", bg = "t1", modifiers = ["bold"] }
"ui.cursor.match" = { fg = "highlight", bg = "selection", modifiers = ["bold"] }

"ui.linenr" = { fg = "t3", bg = "t1" }
"ui.linenr.selected" = { fg = "highlight_three", bg = "t1" }
"ui.gutter" = { bg = "t1" }
"ui.linenr" = { fg = "t3", bg = "t2" }
"ui.linenr.selected" = { fg = "highlight_three", bg = "t2" }
"ui.gutter" = { bg = "t2" }

"ui.background" = { fg = "t4", bg = "t2" }
"ui.background.separator" = { fg = "t3" }
Expand Down Expand Up @@ -76,8 +77,8 @@
"markup.raw" = { fg = "t4" }

[palette]
t1 = "#0f0b0b"
t2 = "#161010"
t1 = "#0e0e0d"
t2 = "#1d1e1b"
t3 = "#5b5555"
t4 = "#656869"
t5 = "#727b7c"
Expand All @@ -95,11 +96,15 @@ highlight_three = "#d4d987"
selection = "#032d4a"

black = "#000000"

comment = "#396884"
comment = "#d4d987"
comment_doc = "#234048"

error = "#ff0900"
warning = "#ffbf00"
display = "#57ff89"
display = "#42baff"
info = "#dad7d5"

diff_minus = "#ff0900"
diff_delta = "#0078bd"
diff_plus = "#87a800"
diff_delta_moved = "#0048bd"
10 changes: 5 additions & 5 deletions runtime/themes/hex_toxic.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ inherits = "hex_steel"

[palette]
t1 = "#101719"
t2 = "#152432"
t2 = "#1b2a32"
t3 = "#4b5968"
t4 = "#8792ab"
t5 = "#6f91bc"
Expand All @@ -13,15 +13,15 @@ t9 = "#b3ccd0"
t10 = "#b0d4d8"
t11 = "#ffbf52"

highlight = "#ff2e5f"
highlight = "#ff0a50"
highlight_two = "#0affa9"
highlight_three = "#d7ff52"
highlight_three = "#f8ed8b"

black = "#000000"

selection = "#290019"
selection = "#382e1e"

comment = "#396884"
comment = "#61bdd1"
comment_doc = "#234048"

error = "#ff0900"
Expand Down

0 comments on commit e9d0645

Please sign in to comment.