Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(themes): material theme collection #8211

Merged
merged 11 commits into from
Sep 10, 2023
20 changes: 20 additions & 0 deletions runtime/themes/material_darker.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Material Theme <https://material-theme.com/> for Helix Editor

inherits = "material_deep_ocean"

[palette]
bg = "#212121"
text = "#b0bec5"

gray = "#616161"
error = "#ff5370"

disabled = "#474747"

accent = "#ff9800"

highlight = "#3f3f3f"

comment = "#616161"

selection = "#404040"
123 changes: 123 additions & 0 deletions runtime/themes/material_deep_ocean.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
# Material Theme <https://material-theme.com/> for Helix Editor

# Syntax Highlighting

"type" = "purple"

"constructor" = "blue"

"constant" = "yellow"

"string" = "green"
"string.regexp" = "yellow"
"string.special" = "blue"

"comment" = { fg = "comment" }

"variable" = "text"
"variable.parameter" = { fg = "orange" }
"variable.builtin" = "yellow"

"label" = "orange"

"punctuation" = "cyan"

"keyword" = "purple"
"keyword.storage" = "cyan"

"operator" = "cyan"

"function" = "blue"
"function.macro" = "cyan"

"tag" = "red"
"attribute" = "purple"

"namespace" = { fg = "yellow" }

"special" = "cyan"

"markup.heading.marker" = { fg = "cyan", modifiers = ["bold"] }
"markup.heading.1" = "cyan"
"markup.heading.2" = "red"
"markup.heading.3" = "green"
"markup.heading.4" = "yellow"
"markup.heading.5" = "blue"
"markup.heading.6" = "orange"
"markup.list" = "purple"
"markup.bold" = { modifiers = ["bold"] }
"markup.italic" = { modifiers = ["italic"] }
"markup.strikethrough" = { modifiers = ["crossed_out"] }
"markup.link.url" = { fg = "green", modifiers = ["underlined"] }
"markup.link.text" = "blue"
"markup.raw" = "text"

"diff.plus" = "green"
"diff.minus" = "red"
"diff.delta" = "blue"

# User Interface

"ui.background" = { bg = "bg", fg = "text" }
"ui.text" = { fg = "text" }

"ui.statusline" = { bg = "bg", fg = "text" }
"ui.statusline.inactive" = { bg = "bg", fg = "disabled" }
"ui.statusline.normal" = { bg = "accent", fg = "text" }
"ui.statusline.insert" = { bg = "green", fg = "text" }
"ui.statusline.select" = { bg = "purple", fg = "text" }


"ui.selection" = { bg = "selection" }

"ui.linenr" = { fg = "line-number" }
"ui.linenr.selected" = { fg = "accent" }

"ui.cursor" = { bg = "highlight", fg = "white" }

"ui.cursor.primary" = { bg = "white", fg = "gray" }
"ui.cursorline.primary" = { bg = "white" }

"ui.virtual" = { fg = "gray" }
"ui.virtual.ruler" = { bg = "highlight" }
"ui.virtual.indent-guide" = { fg = "gray" }

"ui.highlight" = { bg = "highlight" }

"ui.menu" = { bg = "highlight", fg = "text" }

"ui.help" = { bg = "highlight", fg = "text" }

"ui.popup" = { bg = "highlight", fg = "text" }

warning = "yellow"
error = "error"
info = "blue"
hint = "purple"

[palette]
bg = "#0f111a"
text = "#a6accd"

white = "#eeffff"
green = "#c3e88d"
yellow = "#ffcb6b"
blue = "#82aaff"
red = "#f07178"
purple = "#c792ea"
orange = "#f78c6c"
cyan = "#89ddff"
gray = "#717cb4"
error = "#ff5370"

disabled = "#464b5d"

accent = "#84ffff"

highlight = "#1f2233"

comment = "#464b5d"

selection = "#1f2233"

line-number = "#3b3f51"
21 changes: 21 additions & 0 deletions runtime/themes/material_oceanic.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Material Theme <https://material-theme.com/> for Helix Editor

inherits = "material_deep_ocean"

[palette]
bg = "#25363b"
text = "#b0bec5"

gray = "#546e7a"

disabled = "#415967"

accent = "#009688"

highlight = "#425b67"

comment = "#546e7a"

selection = "#395b65"

line-number = "#355058"
19 changes: 19 additions & 0 deletions runtime/themes/material_palenight.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Material Theme <https://material-theme.com/> for Helix Editor

inherits = "material_deep_ocean"

[palette]
bg = "#292d3e"
text = "#a6accd"

disabled = "#515772"

accent = "#ab47bc"

highlight = "#444267"

comment = "#676e95"

selection = "#444267"

line-number = "#3a3f58"