From be4c0a4beb807defa3e564cfebb9f4cf94bcb76b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Dzivjak?= Date: Sat, 25 Nov 2023 17:34:54 +0100 Subject: [PATCH] fix themes --- runtime/themes/modus_vivendi.toml | 1 - .../themes/modus_vivendi_deuteranopia.toml | 19 ++++++++++- runtime/themes/modus_vivendi_tinted.toml | 5 ++- runtime/themes/modus_vivendi_tritanopia.toml | 33 ++++++++++++++++++- 4 files changed, 54 insertions(+), 4 deletions(-) diff --git a/runtime/themes/modus_vivendi.toml b/runtime/themes/modus_vivendi.toml index b701e63cd390d..823b7655dd39f 100644 --- a/runtime/themes/modus_vivendi.toml +++ b/runtime/themes/modus_vivendi.toml @@ -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 # ------------------- diff --git a/runtime/themes/modus_vivendi_deuteranopia.toml b/runtime/themes/modus_vivendi_deuteranopia.toml index 705480d5d34d3..57c796cb7a243 100644 --- a/runtime/themes/modus_vivendi_deuteranopia.toml +++ b/runtime/themes/modus_vivendi_deuteranopia.toml @@ -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" diff --git a/runtime/themes/modus_vivendi_tinted.toml b/runtime/themes/modus_vivendi_tinted.toml index 532b574488d90..624a261c9642c 100644 --- a/runtime/themes/modus_vivendi_tinted.toml +++ b/runtime/themes/modus_vivendi_tinted.toml @@ -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" diff --git a/runtime/themes/modus_vivendi_tritanopia.toml b/runtime/themes/modus_vivendi_tritanopia.toml index 0333dc2ce3089..983bb7546929d 100644 --- a/runtime/themes/modus_vivendi_tritanopia.toml +++ b/runtime/themes/modus_vivendi_tritanopia.toml @@ -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"