1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00

helix_view::theme [WARN] Theme (#3119)

* helix_view::theme [WARN] Theme

* updated: warning, error, info, hint colours
https://github.com/catppuccin/catppuccin/blob/main/docs/style-guide.md#typography

Co-authored-by: Aiko Mastboom <git@aiko.sh>
This commit is contained in:
Aiko Mastboom 2022-07-22 03:31:02 +02:00 committed by GitHub
parent b05fcaadad
commit 4589111d12
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 21 additions and 19 deletions

@ -35,7 +35,7 @@ label = "peach"
"diff.plus" = "#35bf86" "diff.plus" = "#35bf86"
"diff.minus" = "#f22c86" "diff.minus" = "#f22c86"
"diff.delta" = "#6f44f0" "diff.delta" = "#6F44F0"
"ui.background" = { bg = "black_2" } "ui.background" = { bg = "black_2" }
"ui.linenr" = { fg = "gray_0" } "ui.linenr" = { fg = "gray_0" }
@ -62,10 +62,10 @@ label = "peach"
diagnostic = { modifiers = ["underlined"] } diagnostic = { modifiers = ["underlined"] }
warning = "lightning" warning = "peach"
error = "apricot" error = "maroon"
info = "delta" info = "blue"
hint = "silver" hint = "lavender"
[palette] [palette]
flamingo = "#F2CDCD" flamingo = "#F2CDCD"

@ -22,7 +22,7 @@
"ui.background" = { fg = "foreground", bg = "background" } "ui.background" = { fg = "foreground", bg = "background" }
"ui.cursor" = { fg = "background", bg = "orange", modifiers = ["dim"] } "ui.cursor" = { fg = "background", bg = "orange", modifiers = ["dim"] }
"ui.cursor.match" = { fg = "green", modifiers = ["underlined"] } "ui.cursor.match" = { fg = "green", modifiers = ["underlined"] }
"ui.cursor.primary" = { fg = "background", bg = "cyan", modifier = ["dim"] } "ui.cursor.primary" = { fg = "background", bg = "cyan", modifiers = ["dim"] }
"ui.cursorline.primary" = { bg = "background_dark" } "ui.cursorline.primary" = { bg = "background_dark" }
"ui.help" = { fg = "foreground", bg = "background_dark" } "ui.help" = { fg = "foreground", bg = "background_dark" }
"ui.linenr" = { fg = "comment" } "ui.linenr" = { fg = "comment" }

@ -23,7 +23,7 @@
"ui.background" = { fg = "foreground", bg = "background" } "ui.background" = { fg = "foreground", bg = "background" }
"ui.cursor" = { fg = "background", bg = "orange", modifiers = ["dim"] } "ui.cursor" = { fg = "background", bg = "orange", modifiers = ["dim"] }
"ui.cursor.match" = { fg = "green", modifiers = ["underlined"] } "ui.cursor.match" = { fg = "green", modifiers = ["underlined"] }
"ui.cursor.primary" = { fg = "background", bg = "cyan", modifier = ["dim"] } "ui.cursor.primary" = { fg = "background", bg = "cyan", modifiers = ["dim"] }
"ui.help" = { fg = "foreground", bg = "background_dark" } "ui.help" = { fg = "foreground", bg = "background_dark" }
"ui.linenr" = { fg = "comment" } "ui.linenr" = { fg = "comment" }
"ui.linenr.selected" = { fg = "foreground" } "ui.linenr.selected" = { fg = "foreground" }

@ -175,7 +175,7 @@
# Version control changes. # Version control changes.
'diff.plus' = "light-green" # { } # Additions. 'diff.plus' = "light-green" # { } # Additions.
'diff.minus' = "yelllow" # { } # Deletions. 'diff.minus' = "yellow" # { } # Deletions.
'diff.delta' = "red" # { } # Modifications. 'diff.delta' = "red" # { } # Modifications.
# 'diff.delta.moved' = { } # Renamed or moved files / changes. # 'diff.delta.moved' = { } # Renamed or moved files / changes.

@ -56,8 +56,8 @@
"markup.heading.2" = { fg = "gold", modifiers = ["bold"] } "markup.heading.2" = { fg = "gold", modifiers = ["bold"] }
"markup.heading.3" = { fg = "rose", modifiers = ["bold"] } "markup.heading.3" = { fg = "rose", modifiers = ["bold"] }
"markup.heading.4" = { fg = "pine", modifiers = ["bold"] } "markup.heading.4" = { fg = "pine", modifiers = ["bold"] }
"markup.heading.5" = { fg = "form", modifiers = ["bold"] } "markup.heading.5" = { fg = "foam", modifiers = ["bold"] }
"markup.heading.6" = { fg = "fg", modifiers = ["bold"] } "markup.heading.6" = { fg = "iris", modifiers = ["bold"] }
"markup.list" = { fg = "love" } "markup.list" = { fg = "love" }
"markup.bold" = { fg = "gold", modifiers = ["bold"] } "markup.bold" = { fg = "gold", modifiers = ["bold"] }
"markup.italic" = { fg = "iris", modifiers = ["italic"] } "markup.italic" = { fg = "iris", modifiers = ["italic"] }

@ -53,8 +53,8 @@
"markup.heading.2" = { fg = "gold", modifiers = ["bold"] } "markup.heading.2" = { fg = "gold", modifiers = ["bold"] }
"markup.heading.3" = { fg = "rose", modifiers = ["bold"] } "markup.heading.3" = { fg = "rose", modifiers = ["bold"] }
"markup.heading.4" = { fg = "pine", modifiers = ["bold"] } "markup.heading.4" = { fg = "pine", modifiers = ["bold"] }
"markup.heading.5" = { fg = "form", modifiers = ["bold"] } "markup.heading.5" = { fg = "foam", modifiers = ["bold"] }
"markup.heading.6" = { fg = "fg", modifiers = ["bold"] } "markup.heading.6" = { fg = "iris", modifiers = ["bold"] }
"markup.list" = { fg = "love" } "markup.list" = { fg = "love" }
"markup.bold" = { fg = "gold", modifiers = ["bold"] } "markup.bold" = { fg = "gold", modifiers = ["bold"] }
"markup.italic" = { fg = "iris", modifiers = ["italic"] } "markup.italic" = { fg = "iris", modifiers = ["italic"] }

@ -35,7 +35,7 @@
"ui.background" = { bg = "bg0" } "ui.background" = { bg = "bg0" }
"ui.cursor" = { fg = "bg0", bg = "fg" } "ui.cursor" = { fg = "bg0", bg = "fg" }
"ui.cursor.match" = { fg = "grey3", bg = "grey2" } "ui.cursor.match" = { fg = "grey0", bg = "grey2" }
"ui.cursor.insert" = { fg = "bg0", bg = "bg_yellow" } "ui.cursor.insert" = { fg = "bg0", bg = "bg_yellow" }
"ui.cursor.select" = { fg = "bg0", bg = "bg_yellow" } "ui.cursor.select" = { fg = "bg0", bg = "bg_yellow" }
"ui.linenr" = "yellow" "ui.linenr" = "yellow"
@ -56,7 +56,7 @@
"info" = "aqua" "info" = "aqua"
"warning" = "yellow" "warning" = "yellow"
"error" = "nasty-red" "error" = "nasty-red"
"diagnostic" = { fg = "dark-red", Modifiers = ["underlined"] } "diagnostic" = { fg = "dark-red", modifiers = ["underlined"] }
"diff.plus" = { fg = "green" } "diff.plus" = { fg = "green" }
"diff.delta" = { fg = "orange" } "diff.delta" = { fg = "orange" }
@ -69,7 +69,7 @@
"markup.link.url" = "cyan" "markup.link.url" = "cyan"
"markup.link.text" = "pink" "markup.link.text" = "pink"
"markup.quote" = { fg = "yellow", modifiers = ["italic"] } "markup.quote" = { fg = "yellow", modifiers = ["italic"] }
"markup.raw" = { fg = "foreground" } "markup.raw" = { fg = "fg" }
[palette] [palette]
@ -98,3 +98,4 @@ purple = "#d0c4d4"
grey0 = "#aaaeb3" grey0 = "#aaaeb3"
grey1 = "#e1e1e3" grey1 = "#e1e1e3"
grey2 = "#646669" grey2 = "#646669"
pink = "#e06c75"

@ -56,7 +56,7 @@
"info" = "aqua" "info" = "aqua"
"warning" = "yellow" "warning" = "yellow"
"error" = "nasty-red" "error" = "nasty-red"
"diagnostic" = { fg = "dark-red", Modifiers = ["underlined"] } "diagnostic" = { fg = "dark-red", modifiers = ["underlined"] }
"diff.plus" = { fg = "green" } "diff.plus" = { fg = "green" }
"diff.delta" = { fg = "orange" } "diff.delta" = { fg = "orange" }
@ -69,7 +69,7 @@
"markup.link.url" = "cyan" "markup.link.url" = "cyan"
"markup.link.text" = "pink" "markup.link.text" = "pink"
"markup.quote" = { fg = "yellow", modifiers = ["italic"] } "markup.quote" = { fg = "yellow", modifiers = ["italic"] }
"markup.raw" = { fg = "foreground" } "markup.raw" = { fg = "fg" }
[palette] [palette]
@ -91,7 +91,7 @@ red = "#621d28"
nasty-red = "#da3333" nasty-red = "#da3333"
dark-red = "#791717" dark-red = "#791717"
orange = "#57320f" orange = "#57320f"
yellow = "#e2b714" yellow = "#9a7d0e"
green = "#3f4b34" green = "#3f4b34"
aqua = "#455054" aqua = "#455054"
blue = "#3f5673" blue = "#3f5673"
@ -99,3 +99,4 @@ purple = "#534059"
grey0 = "#aaaeb3" grey0 = "#aaaeb3"
grey1 = "#e1e1e3" grey1 = "#e1e1e3"
grey2 = "#646669" grey2 = "#646669"
pink = "#e06c75"

@ -24,7 +24,7 @@
"ui.background" = { fg = "foreground", bg = "background" } "ui.background" = { fg = "foreground", bg = "background" }
"ui.cursor" = { fg = "background", bg = "blue", modifiers = ["dim"] } "ui.cursor" = { fg = "background", bg = "blue", modifiers = ["dim"] }
"ui.cursor.match" = { fg = "green", modifiers = ["underlined"] } "ui.cursor.match" = { fg = "green", modifiers = ["underlined"] }
"ui.cursor.primary" = { fg = "background", bg = "cyan", modifier = ["dim"] } "ui.cursor.primary" = { fg = "background", bg = "cyan", modifiers = ["dim"] }
"ui.help" = { fg = "foreground", bg = "background_dark" } "ui.help" = { fg = "foreground", bg = "background_dark" }
"ui.linenr" = { fg = "comment" } "ui.linenr" = { fg = "comment" }
"ui.linenr.selected" = { fg = "foreground" } "ui.linenr.selected" = { fg = "foreground" }