Skip to content

Commit

Permalink
fix themes
Browse files Browse the repository at this point in the history
  • Loading branch information
matoous committed Nov 25, 2023
1 parent 925e4cd commit be4c0a4
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 4 deletions.
1 change: 0 additions & 1 deletion runtime/themes/modus_vivendi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# Adapted from https://protesilaos.com/emacs/modus-themes, by Protesilaos Stavrou
# Source: https://github.com/protesilaos/modus-themes/blob/main/modus-vivendi-theme.el
# Version 4.3.0
#

# Syntax highlighting
# -------------------
Expand Down
19 changes: 18 additions & 1 deletion runtime/themes/modus_vivendi_deuteranopia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,27 @@
# Adapted from https://protesilaos.com/emacs/modus-themes, by Protesilaos Stavrou
# Source: https://github.com/protesilaos/modus-themes/blob/main/modus-vivendi-deuteranopia-theme.el
# Version 4.3.0
#

inherits = "modus_vivendi"

"constant.character.escape" = "magenta"
"comment" = "yellow-cooler"
"function" = "magenta"
"tag" = "magenta"

"ui.cursor" = { fg = "bg-main", bg = "blue-intense" }
"ui.cursor.primary.normal" = { fg = "bg-main", bg = "blue-intense" }

"diagnostic.error" = { underline = { color = "yellow-intense", style = "curl" } }
"diagnostic.warning" = { underline = { color = "magenta-faint", style = "curl" } }
"diagnostic.info" = { underline = { color = "cyan", style = "curl" } }
"diagnostic.hint" = { underline = { color = "blue", style = "curl" } }

error = "yellow-intense"
warning = "magenta-faint"
info = "cyan"
hint = "blue"

[palette]
# Basic values
bg-main = "#000000"
Expand Down
5 changes: 4 additions & 1 deletion runtime/themes/modus_vivendi_tinted.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
# Adapted from: https://protesilaos.com/emacs/modus-themes, by Protesilaos Stavrou
# Source: https://github.com/protesilaos/modus-themes/blob/main/modus-vivendi-tinted-theme.el
# Version 4.3.0
#

inherits = "modus_vivendi"

"comment" = "red-faint"

"ui.cursor.primary" = { fg = "bg-main", bg = "red" }

[palette]
# Basic values
bg-main = "#0d0e1c"
Expand Down
33 changes: 32 additions & 1 deletion runtime/themes/modus_vivendi_tritanopia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,41 @@
# Adapted from https://protesilaos.com/emacs/modus-themes, by Protesilaos Stavrou
# Source: https://github.com/protesilaos/modus-themes/blob/main/modus-vivendi-tritanopia-theme.el
# Version 4.3.0
#

inherits = "modus_vivendi"

"type" = "blue-warmer"
"constructor" = "blue-warmer"
"constant" = "green-cooler"
"constant.character.escape" = "red-cooler"
"string" = "cyan"
"comment" = "red-faint"
"variable.parameter" = "cyan-cooler"
"keyword" = "red-cooler"
"keyword.directive" = "red-warmer"
"function" = "cyan-warmer"
"function.macro" = "magenta"
"tag" = "red-cooler"

"markup.heading.2" = { fg = "red-faint", modifiers = ["bold"] }
"markup.heading.3" = { fg = "cyan-faint", modifiers = ["bold"] }
"markup.heading.6" = { fg = "magenta-faint", modifiers = ["bold"] }
"markup.link.url" = { fg = "cyan-cooler" }
"markup.link.text" = { fg = "cyan", modifiers = ["underlined"] }

"ui.cursor" = { fg = "bg-main", bg = "red-intense" }
"ui.cursor.primary.normal" = { fg = "bg-main", bg = "red-intense" }

"diagnostic.error" = { underline = { color = "red-warmer", style = "curl" } }
"diagnostic.warning" = { underline = { color = "magenta", style = "curl" } }
"diagnostic.info" = { underline = { color = "cyan", style = "curl" } }
"diagnostic.hint" = { underline = { color = "blue", style = "curl" } }

error = "red-warmer"
warning = "magenta"
info = "cyan"
hint = "blue"

[palette]
# Basic values
bg-main = "#000000"
Expand Down

0 comments on commit be4c0a4

Please sign in to comment.