Skip to content

Commit

Permalink
Add molokai theme (#6260)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaechus authored Mar 13, 2023
1 parent 66033ed commit 951aecc
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 2 deletions.
48 changes: 48 additions & 0 deletions runtime/themes/molokai.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Author : Maxwell Anderson <zaechus@pm.me>

inherits = "monokai"

"comment" = "comment"
"comment.block.documentation" = { fg = "comment", modifiers = ["bold"] }
"constant.character.escape" = { fg = "light-blue", modifiers = ["italic"] }
"function.macro" = { fg = "#c4be89", modifiers = ["italic"] }
"keyword" = { fg = "keyword", modifiers = ["bold"] }
"keyword.control" = { fg = "keyword", modifiers = ["bold"] }
"keyword.control.exception" = { fg = "fn_declaration", modifiers = ["bold"] }
"keyword.directive" = { fg = "fn_declaration", modifiers = ["bold"] }
"keyword.storage.modifier" = { fg = "#fd971f", modifiers = ["italic"] }
"label" = "#e6db74"
"operator" = "keyword"
"punctuation.delimeter" = "#8f8f8f"
"type" = "light-blue"
"variable.builtin" = { fg = "#ae81ff", modifiers = ["bold"] }
"tag.builtin" = { fg = "#ae81ff", modifiers = ["bold"] }
"variable.parameter" = "variable"

"diff.plus" = "text"
"diff.delta" = "#89807d"
"diff.minus" = "#960050"

"ui.cursor.primary" = { fg = "#000000", bg = "#f8f8f0" }
"ui.cursor.match" = { fg = "#000000", bg = "#fd971f", modifiers = ["bold"] }
"ui.selection" = { bg = "#403d3d" }
"ui.linenr" = "#465457"
"ui.linenr.selected" = "#fd971f"

"ui.help" = { fg = "light-blue", bg = "#000000" }
"ui.menu" = { fg = "light-blue", bg = "#000000" }
"ui.popup" = { fg = "light-blue", bg = "#000000" }
"ui.popup.info" = { fg = "light-blue", bg = "#000000" }
"ui.text.info" = { fg = "light-blue", bg = "#000000" }

"warning" = { fg = "#ffffff", modifiers = ["bold"] }
"error" = { fg = "#ffffff", modifiers = ["bold"] }
"info" = { fg = "#ffffff", modifiers = ["bold"] }
"hint" = { fg = "#ffffff", modifiers = ["bold"] }

[palette]
light-blue = "#66d9ef"

background = "#1b1d1e"

comment = "#7e8e91"
4 changes: 2 additions & 2 deletions runtime/themes/monokai.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@
"warning" = { fg = "#cca700" }
"error" = { fg = "#f48771" }
"info" = { fg = "#75beff" }
"hint" = { fg = "#eeeeeb3" }
"hint" = { fg = "#eeeeb3" }

"diagnostic.warning" = { underline = { color = "#cca700", style = "curl" } }
"diagnostic.error" = { underline = { color = "#f48771", style = "curl" } }
"diagnostic.info" = { underline = { color = "#75beff", style = "curl" } }
"diagnostic.hint" = { underline = { color = "#eeeeeb3", style = "curl" } }
"diagnostic.hint" = { underline = { color = "#eeeeb3", style = "curl" } }

[palette]
type = "#A6E22E"
Expand Down

0 comments on commit 951aecc

Please sign in to comment.