Skip to content

Commit

Permalink
Update to modus-themes 4.4.0 (helix-editor#9912)
Browse files Browse the repository at this point in the history
  • Loading branch information
amousset authored and postsolar committed Apr 20, 2024
1 parent 4359d92 commit 0bb70a9
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 38 deletions.
16 changes: 8 additions & 8 deletions runtime/themes/modus_operandi.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Author: Alexis Mousset <contact@amousset.me>
# Adapted from https://protesilaos.com/emacs/modus-themes, by Protesilaos Stavrou
# Version 4.3.0
# Version 4.4.0
#

# Syntax highlighting
Expand Down Expand Up @@ -86,7 +86,7 @@ punctuation = "fg-dim"

"ui.cursor" = { fg = "bg-main", bg = "fg-main" }
"ui.cursor.primary" = { fg = "bg-main", bg = "fg-dim" }
"ui.cursor.match" = { bg = "bg-paren-match" }
"ui.cursor.match" = { fg = "fg-main", bg = "bg-paren-match" }
"ui.cursorline.primary" = { bg = "bg-hl-line" }

"ui.highlight" = { bg = "bg-hl-line" }
Expand Down Expand Up @@ -162,12 +162,12 @@ bg-blue-subtle = "#ccdfff"
bg-magenta-subtle = "#ffddff"
bg-cyan-subtle = "#bfefff"

bg-red-nuanced = "#fff1f0"
bg-green-nuanced = "#ecf7ed"
bg-yellow-nuanced = "#fff3da"
bg-blue-nuanced = "#f3f3ff"
bg-magenta-nuanced = "#fdf0ff"
bg-cyan-nuanced = "#ebf6fa"
bg-red-nuanced = "#ffe8e8"
bg-green-nuanced = "#e0f6e0"
bg-yellow-nuanced = "#f8f0d0"
bg-blue-nuanced = "#ecedff"
bg-magenta-nuanced = "#f8e6f5"
bg-cyan-nuanced = "#e0f2fa"

# Special purpose
bg-completion = "#c0deff"
Expand Down
1 change: 1 addition & 0 deletions runtime/themes/modus_operandi_deuteranopia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# modus_operandi.toml variant
#
# This variant is optimized for users with red-green color deficiency (deuteranopia)
# Version 4.4.0

inherits = "modus_operandi"

Expand Down
3 changes: 2 additions & 1 deletion runtime/themes/modus_operandi_tinted.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Author: Alexis Mousset <contact@amousset.me>
# modus_operandi.toml variant
# Version 4.4.0

inherits = "modus_operandi"

"comment" = "red-faint"

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

[palette]
# Basic values
Expand Down
1 change: 1 addition & 0 deletions runtime/themes/modus_operandi_tritanopia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# modus_operandi.toml variant
#
# This variant is optimized for users with blue-yellow color deficiency (tritanopia)
# Version 4.4.0

inherits = "modus_operandi"

Expand Down
16 changes: 8 additions & 8 deletions runtime/themes/modus_vivendi.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Author: Matous Dzivjak <matousdzivjak@gmail.com>
# 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
# Version 4.4.0

# Syntax highlighting
# -------------------
Expand Down Expand Up @@ -89,7 +89,7 @@ punctuation = "fg-dim"

"ui.cursor" = { fg = "bg-main", bg = "fg-main" }
"ui.cursor.primary" = { fg = "bg-main", bg = "fg-dim" }
"ui.cursor.match" = { bg = "bg-paren-match" }
"ui.cursor.match" = { bg = "bg-paren-match", fg = "fg-main" }
"ui.cursorline.primary" = { bg = "bg-hl-line" }

"ui.highlight" = { bg = "bg-hl-line" }
Expand Down Expand Up @@ -174,12 +174,12 @@ bg-blue-subtle = "#242679"
bg-magenta-subtle = "#552f5f"
bg-cyan-subtle = "#004065"

bg-red-nuanced = "#2c0614"
bg-green-nuanced = "#001904"
bg-yellow-nuanced = "#221000"
bg-blue-nuanced = "#0f0e39"
bg-magenta-nuanced = "#230631"
bg-cyan-nuanced = "#041529"
bg-red-nuanced = "#3a0c14"
bg-green-nuanced = "#092f1f"
bg-yellow-nuanced = "#381d0f"
bg-blue-nuanced = "#12154a"
bg-magenta-nuanced = "#2f0c3f"
bg-cyan-nuanced = "#042837"

# Uncommon accent backgrounds
bg-ochre = "#442c2f"
Expand Down
12 changes: 6 additions & 6 deletions runtime/themes/modus_vivendi_deuteranopia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ bg-blue-subtle = "#242679"
bg-magenta-subtle = "#552f5f"
bg-cyan-subtle = "#004065"

bg-red-nuanced = "#2c0614"
bg-green-nuanced = "#001904"
bg-yellow-nuanced = "#221000"
bg-blue-nuanced = "#0f0e39"
bg-magenta-nuanced = "#230631"
bg-cyan-nuanced = "#041529"
bg-red-nuanced = "#3a0c14"
bg-green-nuanced = "#092f1f"
bg-yellow-nuanced = "#381d0f"
bg-blue-nuanced = "#12154a"
bg-magenta-nuanced = "#2f0c3f"
bg-cyan-nuanced = "#042837"

# Uncommon accent backgrounds
bg-ochre = "#442c2f"
Expand Down
18 changes: 9 additions & 9 deletions runtime/themes/modus_vivendi_tinted.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Author: Matous Dzivjak <matousdzivjak@gmail.com>
# 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
# Version 4.4.0

inherits = "modus_vivendi"

"comment" = "red-faint"

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

[palette]
# Basic values
Expand Down Expand Up @@ -76,12 +76,12 @@ bg-blue-subtle = "#242679"
bg-magenta-subtle = "#552f5f"
bg-cyan-subtle = "#004065"

bg-red-nuanced = "#350f14"
bg-green-nuanced = "#002718"
bg-yellow-nuanced = "#2c1f00"
bg-blue-nuanced = "#131c4d"
bg-magenta-nuanced = "#2f133f"
bg-cyan-nuanced = "#04253f"
bg-red-nuanced = "#3a0c14"
bg-green-nuanced = "#092f1f"
bg-yellow-nuanced = "#381d0f"
bg-blue-nuanced = "#12154a"
bg-magenta-nuanced = "#2f0c3f"
bg-cyan-nuanced = "#042837"

# Special purpose
bg-completion = "#483d8a"
Expand Down Expand Up @@ -140,5 +140,5 @@ bg-lavender = "#38325c"
bg-sage = "#0f3d30"

# Paren match
bg-paren-match = "#2f7f9f"
bg-paren-match = "#5f789f"
bg-paren-expression = "#453040"
12 changes: 6 additions & 6 deletions runtime/themes/modus_vivendi_tritanopia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ bg-blue-subtle = "#242679"
bg-magenta-subtle = "#552f5f"
bg-cyan-subtle = "#004065"

bg-red-nuanced = "#2c0614"
bg-green-nuanced = "#001904"
bg-yellow-nuanced = "#221000"
bg-blue-nuanced = "#0f0e39"
bg-magenta-nuanced = "#230631"
bg-cyan-nuanced = "#041529"
bg-red-nuanced = "#3a0c14"
bg-green-nuanced = "#092f1f"
bg-yellow-nuanced = "#381d0f"
bg-blue-nuanced = "#12154a"
bg-magenta-nuanced = "#2f0c3f"
bg-cyan-nuanced = "#042837"

# Uncommon accent backgrounds
bg-ochre = "#442c2f"
Expand Down

0 comments on commit 0bb70a9

Please sign in to comment.