Add markup support (#1525)

* Add markup support for all Base16 themes

* Fix rose_pine `markup.link.text` attribute misname

* Add basic default markup support for all themes

* Fix cursor change color on Base16 terminal and default

* Remove old markup monokai_pro support and fix Onedark `markup.link.text` attribute misname

* Remove old markup dracula support
pull/1563/head^2
NNB 3 years ago committed by GitHub
parent b8cafee9f5
commit 83bde1004d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,7 +11,7 @@
"ui.statusline" = { fg = "black", bg = "white" } "ui.statusline" = { fg = "black", bg = "white" }
"ui.statusline.inactive" = { fg = "gray", bg = "white" } "ui.statusline.inactive" = { fg = "gray", bg = "white" }
"ui.help" = { modifiers = ["reversed"] } "ui.help" = { modifiers = ["reversed"] }
"ui.cursor" = { modifiers = ["reversed"] } "ui.cursor" = { fg = "white", modifiers = ["reversed"] }
"variable" = "red" "variable" = "red"
"constant.numeric" = "yellow" "constant.numeric" = "yellow"
"constant" = "yellow" "constant" = "yellow"
@ -29,6 +29,15 @@
"namespace" = "magenta" "namespace" = "magenta"
"ui.help" = { fg = "white", bg = "black" } "ui.help" = { fg = "white", bg = "black" }
"markup.heading" = "blue"
"markup.list" = "red"
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "magenta", modifiers = ["italic"] }
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
"markup.link.text" = "red"
"markup.quote" = "cyan"
"markup.raw" = "green"
"diff.plus" = "green" "diff.plus" = "green"
"diff.delta" = "yellow" "diff.delta" = "yellow"
"diff.minus" = "red" "diff.minus" = "red"

@ -33,6 +33,15 @@
"namespace" = "base0E" "namespace" = "base0E"
"ui.help" = { fg = "base06", bg = "base01" } "ui.help" = { fg = "base06", bg = "base01" }
"markup.heading" = "base0D"
"markup.list" = "base08"
"markup.bold" = { fg = "base0A", modifiers = ["bold"] }
"markup.italic" = { fg = "base0E", modifiers = ["italic"] }
"markup.link.url" = { fg = "base09", modifiers = ["underlined"] }
"markup.link.text" = "base08"
"markup.quote" = "base0C"
"markup.raw" = "base0B"
"diff.plus" = "base0B" "diff.plus" = "base0B"
"diff.delta" = "base09" "diff.delta" = "base09"
"diff.minus" = "base08" "diff.minus" = "base08"

@ -33,6 +33,15 @@
"namespace" = "base0E" "namespace" = "base0E"
"ui.help" = { fg = "base06", bg = "base01" } "ui.help" = { fg = "base06", bg = "base01" }
"markup.heading" = "base0D"
"markup.list" = "base08"
"markup.bold" = { fg = "base0A", modifiers = ["bold"] }
"markup.italic" = { fg = "base0E", modifiers = ["italic"] }
"markup.link.url" = { fg = "base09", modifiers = ["underlined"] }
"markup.link.text" = "base08"
"markup.quote" = "base0C"
"markup.raw" = "base0B"
"diff.plus" = "base0B" "diff.plus" = "base0B"
"diff.delta" = "base09" "diff.delta" = "base09"
"diff.minus" = "base08" "diff.minus" = "base08"

@ -12,7 +12,7 @@
"ui.statusline.inactive" = { fg = "gray", bg = "black" } "ui.statusline.inactive" = { fg = "gray", bg = "black" }
"ui.help" = { fg = "white", bg = "black" } "ui.help" = { fg = "white", bg = "black" }
"ui.cursor" = { fg = "light-gray", modifiers = ["reversed"] } "ui.cursor" = { fg = "light-gray", modifiers = ["reversed"] }
"ui.cursor.primary" = { modifiers = ["reversed"] } "ui.cursor.primary" = { fg = "light-white", modifiers = ["reversed"] }
"variable" = "light-red" "variable" = "light-red"
"constant.numeric" = "yellow" "constant.numeric" = "yellow"
"constant" = "yellow" "constant" = "yellow"
@ -30,6 +30,15 @@
"namespace" = "light-magenta" "namespace" = "light-magenta"
"ui.help" = { fg = "white", bg = "black" } "ui.help" = { fg = "white", bg = "black" }
"markup.heading" = "light-blue"
"markup.list" = "light-red"
"markup.bold" = { fg = "light-yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "light-magenta", modifiers = ["italic"] }
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
"markup.link.text" = "light-red"
"markup.quote" = "light-cyan"
"markup.raw" = "light-green"
"diff.plus" = "light-green" "diff.plus" = "light-green"
"diff.delta" = "yellow" "diff.delta" = "yellow"
"diff.minus" = "light-red" "diff.minus" = "light-red"

@ -28,6 +28,16 @@
"module" = "#d32c5d" "module" = "#d32c5d"
# TODO
"markup.heading" = "blue"
"markup.list" = "red"
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "magenta", modifiers = ["italic"] }
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
"markup.link.text" = "red"
"markup.quote" = "cyan"
"markup.raw" = "green"
"diff.plus" = "#59dcb7" "diff.plus" = "#59dcb7"
"diff.delta" = "#dc7759" "diff.delta" = "#dc7759"
"diff.minus" = "#dc597f" "diff.minus" = "#dc597f"

@ -39,6 +39,16 @@
"constant.numeric" = { fg = "pale_green" } "constant.numeric" = { fg = "pale_green" }
"constant.character.escape" = { fg = "gold" } "constant.character.escape" = { fg = "gold" }
# TODO
"markup.heading" = "blue"
"markup.list" = "red"
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "magenta", modifiers = ["italic"] }
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
"markup.link.text" = "red"
"markup.quote" = "cyan"
"markup.raw" = "green"
"diff.plus" = { fg = "pale_green" } "diff.plus" = { fg = "pale_green" }
"diff.delta" = { fg = "gold" } "diff.delta" = { fg = "gold" }
"diff.minus" = { fg = "red" } "diff.minus" = { fg = "red" }

@ -34,6 +34,16 @@
"module" = "blue" "module" = "blue"
"special" = "orange" "special" = "orange"
# TODO
"markup.heading" = "blue"
"markup.list" = "red"
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "magenta", modifiers = ["italic"] }
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
"markup.link.text" = "red"
"markup.quote" = "cyan"
"markup.raw" = "green"
"diff.plus" = "green" "diff.plus" = "green"
"diff.delta" = "orange" "diff.delta" = "orange"
"diff.minus" = "red" "diff.minus" = "red"

@ -34,6 +34,16 @@
"module" = "blue" "module" = "blue"
"special" = "orange" "special" = "orange"
# TODO
"markup.heading" = "blue"
"markup.list" = "red"
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "magenta", modifiers = ["italic"] }
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
"markup.link.text" = "red"
"markup.quote" = "cyan"
"markup.raw" = "green"
"diff.plus" = "green" "diff.plus" = "green"
"diff.delta" = "orange" "diff.delta" = "orange"
"diff.minus" = "red" "diff.minus" = "red"

@ -28,6 +28,16 @@
"module" = "#839A53" "module" = "#839A53"
# TODO
"markup.heading" = "blue"
"markup.list" = "red"
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "magenta", modifiers = ["italic"] }
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
"markup.link.text" = "red"
"markup.quote" = "cyan"
"markup.raw" = "green"
"diff.plus" = "#839A53" "diff.plus" = "#839A53"
"diff.delta" = "#D4A520" "diff.delta" = "#D4A520"
"diff.minus" = "#D74E50" "diff.minus" = "#D74E50"

@ -39,6 +39,16 @@
"constant.numeric" = { fg = "#ae81ff" } "constant.numeric" = { fg = "#ae81ff" }
"constant.character.escape" = { fg = "#ae81ff" } "constant.character.escape" = { fg = "#ae81ff" }
# TODO
"markup.heading" = "blue"
"markup.list" = "red"
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "magenta", modifiers = ["italic"] }
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
"markup.link.text" = "red"
"markup.quote" = "cyan"
"markup.raw" = "green"
"diff.plus" = { fg = "#a6e22e" } "diff.plus" = { fg = "#a6e22e" }
"diff.delta" = { fg = "#fd971f" } "diff.delta" = { fg = "#fd971f" }
"diff.minus" = { fg = "#f92672" } "diff.minus" = { fg = "#f92672" }

@ -84,6 +84,16 @@
# nord15 - integer, floating point # nord15 - integer, floating point
"constant.numeric" = "nord15" "constant.numeric" = "nord15"
# TODO markup
"markup.heading" = "blue"
"markup.list" = "red"
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "magenta", modifiers = ["italic"] }
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
"markup.link.text" = "red"
"markup.quote" = "cyan"
"markup.raw" = "green"
# vcs # vcs
"diff.plus" = "nord14" "diff.plus" = "nord14"
"diff.delta" = "nord12" "diff.delta" = "nord12"

@ -34,7 +34,7 @@
"markup.list" = { fg = "red" } "markup.list" = { fg = "red" }
"markup.quote" = { fg = "yellow" } "markup.quote" = { fg = "yellow" }
"markup.link.url" = { fg = "cyan", modifiers = ["underlined"]} "markup.link.url" = { fg = "cyan", modifiers = ["underlined"]}
"markup.link.label" = { fg = "purple" } "markup.link.text" = { fg = "purple" }
"diff.plus" = "green" "diff.plus" = "green"
"diff.delta" = "gold" "diff.delta" = "gold"

@ -55,7 +55,7 @@
"markup.list" = { fg = "love" } "markup.list" = { fg = "love" }
"markup.quote" = { fg = "rose" } "markup.quote" = { fg = "rose" }
"markup.link.url" = { fg = "pine", modifiers = ["underlined"]} "markup.link.url" = { fg = "pine", modifiers = ["underlined"]}
"markup.link.label" = { fg = "foam" } "markup.link.text" = { fg = "foam" }
[palette] [palette]
base = "#191724" base = "#191724"

@ -55,7 +55,7 @@
"markup.list" = { fg = "love" } "markup.list" = { fg = "love" }
"markup.quote" = { fg = "rose" } "markup.quote" = { fg = "rose" }
"markup.link.url" = { fg = "pine", modifiers = ["underlined"]} "markup.link.url" = { fg = "pine", modifiers = ["underlined"]}
"markup.link.label" = { fg = "foam" } "markup.link.test" = { fg = "foam" }
[palette] [palette]
base = "#faf4ed" base = "#faf4ed"

@ -22,6 +22,16 @@
"module" = { fg = "violet" } "module" = { fg = "violet" }
"tag" = { fg = "magenta" } "tag" = { fg = "magenta" }
# TODO
"markup.heading" = "blue"
"markup.list" = "red"
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "magenta", modifiers = ["italic"] }
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
"markup.link.text" = "red"
"markup.quote" = "cyan"
"markup.raw" = "green"
"diff.plus" = { fg = "green" } "diff.plus" = { fg = "green" }
"diff.delta" = { fg = "orange" } "diff.delta" = { fg = "orange" }
"diff.minus" = { fg = "red" } "diff.minus" = { fg = "red" }

@ -22,6 +22,16 @@
"module" = { fg = "violet" } "module" = { fg = "violet" }
"tag" = { fg = "magenta" } "tag" = { fg = "magenta" }
# TODO
"markup.heading" = "blue"
"markup.list" = "red"
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "magenta", modifiers = ["italic"] }
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
"markup.link.text" = "red"
"markup.quote" = "cyan"
"markup.raw" = "green"
"diff.plus" = { fg = "green" } "diff.plus" = { fg = "green" }
"diff.delta" = { fg = "orange" } "diff.delta" = { fg = "orange" }
"diff.minus" = { fg = "red" } "diff.minus" = { fg = "red" }

@ -30,6 +30,16 @@
"label" = "#b1951d" "label" = "#b1951d"
"module" = "#b1951d" "module" = "#b1951d"
# TODO
"markup.heading" = "blue"
"markup.list" = "red"
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
"markup.italic" = { fg = "magenta", modifiers = ["italic"] }
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
"markup.link.text" = "red"
"markup.quote" = "cyan"
"markup.raw" = "green"
"diff.plus" = "#2d9574" "diff.plus" = "#2d9574"
"diff.delta" = "#715ab1" "diff.delta" = "#715ab1"
"diff.minus" = "#ba2f59" "diff.minus" = "#ba2f59"

Loading…
Cancel
Save