From 9f0d939f2535187157c0aae324c6614872684354 Mon Sep 17 00:00:00 2001 From: OwO Swordsman <29553973+OwOSwordsman@users.noreply.github.com> Date: Sat, 7 Jan 2023 00:35:37 -0500 Subject: [PATCH] Add GitHub themes (#5353) * Add github themes * Increase contrast for hover and completion menus * Use inheritance for the GitHub themes --- runtime/themes/github_dark.toml | 228 ++++++++++++++++++ runtime/themes/github_dark_colorblind.toml | 151 ++++++++++++ runtime/themes/github_dark_dimmed.toml | 151 ++++++++++++ runtime/themes/github_dark_high_contrast.toml | 151 ++++++++++++ runtime/themes/github_dark_tritanopia.toml | 151 ++++++++++++ runtime/themes/github_light.toml | 228 ++++++++++++++++++ runtime/themes/github_light_colorblind.toml | 151 ++++++++++++ .../themes/github_light_high_contrast.toml | 151 ++++++++++++ runtime/themes/github_light_tritanopia.toml | 151 ++++++++++++ 9 files changed, 1513 insertions(+) create mode 100644 runtime/themes/github_dark.toml create mode 100644 runtime/themes/github_dark_colorblind.toml create mode 100644 runtime/themes/github_dark_dimmed.toml create mode 100644 runtime/themes/github_dark_high_contrast.toml create mode 100644 runtime/themes/github_dark_tritanopia.toml create mode 100644 runtime/themes/github_light.toml create mode 100644 runtime/themes/github_light_colorblind.toml create mode 100644 runtime/themes/github_light_high_contrast.toml create mode 100644 runtime/themes/github_light_tritanopia.toml diff --git a/runtime/themes/github_dark.toml b/runtime/themes/github_dark.toml new file mode 100644 index 000000000..cdb97aa33 --- /dev/null +++ b/runtime/themes/github_dark.toml @@ -0,0 +1,228 @@ +# Author : OwOSwordsman +# An unofficial GitHub theme, generated using colors from: https://primer.style/primitives/colors +# Credit goes to the original VSCode theme: https://github.com/primer/github-vscode-theme +# Only the Light and Dark variants were specifically tested + +attribute = "fg.default" +keyword = "scale.red.3" +"keyword.directive" = "scale.red.3" # -- preprocessor comments (#if in C) +namespace = "scale.orange.2" +punctuation = "fg.default" +"punctuation.delimiter" = "fg.default" +operator = "scale.red.3" +special = "scale.blue.1" +"variable.other.member" = "fg.default" +variable = "fg.default" +"variable.parameter" = "scale.orange.2" +"variable.builtin" = "scale.red.3" +type = "scale.orange.2" +"type.builtin" = "scale.blue.2" +constructor = "scale.purple.2" +function = "scale.purple.2" +"function.macro" = "scale.purple.2" +tag = "scale.green.1" +comment = "fg.muted" +constant = "scale.blue.2" +"constant.builtin" = "scale.blue.2" +string = "scale.blue.1" +"constant.numeric" = "scale.blue.2" +"constant.character.escape" = "scale.blue.2" +# used for lifetimes +label = "scale.red.3" + +"markup.heading" = "scale.blue.2" +"markup.bold" = { modifiers = ["bold"] } +"markup.italic" = { modifiers = ["italic"] } +"markup.link.url" = { modifiers = ["underlined"] } +"markup.link.text" = { fg = "scale.blue.1", modifiers = ["underlined"] } +"markup.raw" = "scale.blue.2" + +"diff.plus" = "open.fg" +"diff.minus" = "closed.fg" +"diff.delta" = "attention.fg" + +"ui.background" = { bg = "canvas.default" } +"ui.background.separator" = { fg = "fg.subtle" } +"ui.linenr" = { fg = "fg.subtle" } +"ui.linenr.selected" = { fg = "fg.default" } +"ui.statusline" = { fg = "fg.muted", bg = "scale.gray.7" } +"ui.statusline.active" = { fg = "fg.default", bg = "canvas.default", underline = { color = "scale.coral.3", style = "line" } } +"ui.statusline.normal" = { fg = "fg.default", bg = "accent.muted" } +"ui.statusline.insert" = { fg = "fg.default", bg = "attention.muted" } +"ui.statusline.select" = { fg = "fg.default", bg = "sponsors.muted" } +"ui.popup" = { bg = "scale.gray.8" } +"ui.popup.info" = { fg = "fg.default", bg = "canvas.overlay" } +"ui.window" = { fg = "border.default" } +"ui.help" = { fg = "fg.default", bg = "canvas.overlay" } + +"ui.text" = { fg = "fg.muted" } +"ui.text.focus" = { fg = "fg.default" } +"ui.text.inactive" = "fg.subtle" +"ui.virtual" = { fg = "scale.gray.6" } + +"ui.selection" = { bg = "scale.blue.8" } +"ui.selection.primary" = { bg = "scale.blue.7" } +"ui.cursor.match" = { fg = "attention.fg", modifiers = [ + "bold", +], underline = { style = "line" } } +"ui.cursor" = { modifiers = ["reversed"] } +"ui.cursorline.primary" = { bg = "canvas.subtle" } + +"ui.menu" = { fg = "fg.default", bg = "canvas.overlay" } +"ui.menu.selected" = { bg = "scale.gray.4" } +"ui.menu.scroll" = { fg = "scale.gray.5", bg = "canvas.overlay" } + +"diagnostic.hint" = { underline = { color = "success.fg", style = "curl" } } +"diagnostic.info" = { underline = { color = "accent.fg", style = "curl" } } +"diagnostic.warning" = { underline = { color = "attention.fg", style = "curl" } } +"diagnostic.error" = { underline = { color = "danger.fg", style = "curl" } } + +hint = "success.fg" +info = "accent.fg" +warning = "attention.fg" +error = "danger.fg" + +[palette] +"accent.emphasis" = "#1f6feb" +"accent.fg" = "#58a6ff" +"accent.muted" = "#388bfd66" +"accent.subtle" = "#388bfd26" +"attention.emphasis" = "#9e6a03" +"attention.fg" = "#d29922" +"attention.muted" = "#bb800966" +"attention.subtle" = "#bb800926" +"border.default" = "#30363d" +"border.muted" = "#21262d" +"border.subtle" = "#f0f6fc1a" +"canvas.default" = "#0d1117" +"canvas.inset" = "#010409" +"canvas.overlay" = "#161b22" +"canvas.subtle" = "#161b22" +"closed.emphasis" = "#da3633" +"closed.fg" = "#f85149" +"closed.muted" = "#f8514966" +"closed.subtle" = "#f8514926" +"danger.emphasis" = "#da3633" +"danger.fg" = "#f85149" +"danger.muted" = "#f8514966" +"danger.subtle" = "#f8514926" +"done.emphasis" = "#8957e5" +"done.fg" = "#a371f7" +"done.muted" = "#a371f766" +"done.subtle" = "#a371f726" +"fg.default" = "#c9d1d9" +"fg.muted" = "#8b949e" +"fg.onEmphasis" = "#ffffff" +"fg.subtle" = "#6e7681" +"neutral.emphasis" = "#6e7681" +"neutral.emphasisPlus" = "#6e7681" +"neutral.muted" = "#6e768166" +"neutral.subtle" = "#6e76811a" +"open.emphasis" = "#238636" +"open.fg" = "#3fb950" +"open.muted" = "#2ea04366" +"open.subtle" = "#2ea04326" +"scale.black" = "#010409" +"scale.blue.0" = "#cae8ff" +"scale.blue.1" = "#a5d6ff" +"scale.blue.2" = "#79c0ff" +"scale.blue.3" = "#58a6ff" +"scale.blue.4" = "#388bfd" +"scale.blue.5" = "#1f6feb" +"scale.blue.6" = "#1158c7" +"scale.blue.7" = "#0d419d" +"scale.blue.8" = "#0c2d6b" +"scale.blue.9" = "#051d4d" +"scale.coral.0" = "#ffddd2" +"scale.coral.1" = "#ffc2b2" +"scale.coral.2" = "#ffa28b" +"scale.coral.3" = "#f78166" +"scale.coral.4" = "#ea6045" +"scale.coral.5" = "#cf462d" +"scale.coral.6" = "#ac3220" +"scale.coral.7" = "#872012" +"scale.coral.8" = "#640d04" +"scale.coral.9" = "#460701" +"scale.gray.0" = "#f0f6fc" +"scale.gray.1" = "#c9d1d9" +"scale.gray.2" = "#b1bac4" +"scale.gray.3" = "#8b949e" +"scale.gray.4" = "#6e7681" +"scale.gray.5" = "#484f58" +"scale.gray.6" = "#30363d" +"scale.gray.7" = "#21262d" +"scale.gray.8" = "#161b22" +"scale.gray.9" = "#0d1117" +"scale.green.0" = "#aff5b4" +"scale.green.1" = "#7ee787" +"scale.green.2" = "#56d364" +"scale.green.3" = "#3fb950" +"scale.green.4" = "#2ea043" +"scale.green.5" = "#238636" +"scale.green.6" = "#196c2e" +"scale.green.7" = "#0f5323" +"scale.green.8" = "#033a16" +"scale.green.9" = "#04260f" +"scale.orange.0" = "#ffdfb6" +"scale.orange.1" = "#ffc680" +"scale.orange.2" = "#ffa657" +"scale.orange.3" = "#f0883e" +"scale.orange.4" = "#db6d28" +"scale.orange.5" = "#bd561d" +"scale.orange.6" = "#9b4215" +"scale.orange.7" = "#762d0a" +"scale.orange.8" = "#5a1e02" +"scale.orange.9" = "#3d1300" +"scale.pink.0" = "#ffdaec" +"scale.pink.1" = "#ffbedd" +"scale.pink.2" = "#ff9bce" +"scale.pink.3" = "#f778ba" +"scale.pink.4" = "#db61a2" +"scale.pink.5" = "#bf4b8a" +"scale.pink.6" = "#9e3670" +"scale.pink.7" = "#7d2457" +"scale.pink.8" = "#5e103e" +"scale.pink.9" = "#42062a" +"scale.purple.0" = "#eddeff" +"scale.purple.1" = "#e2c5ff" +"scale.purple.2" = "#d2a8ff" +"scale.purple.3" = "#bc8cff" +"scale.purple.4" = "#a371f7" +"scale.purple.5" = "#8957e5" +"scale.purple.6" = "#6e40c9" +"scale.purple.7" = "#553098" +"scale.purple.8" = "#3c1e70" +"scale.purple.9" = "#271052" +"scale.red.0" = "#ffdcd7" +"scale.red.1" = "#ffc1ba" +"scale.red.2" = "#ffa198" +"scale.red.3" = "#ff7b72" +"scale.red.4" = "#f85149" +"scale.red.5" = "#da3633" +"scale.red.6" = "#b62324" +"scale.red.7" = "#8e1519" +"scale.red.8" = "#67060c" +"scale.red.9" = "#490202" +"scale.white" = "#ffffff" +"scale.yellow.0" = "#f8e3a1" +"scale.yellow.1" = "#f2cc60" +"scale.yellow.2" = "#e3b341" +"scale.yellow.3" = "#d29922" +"scale.yellow.4" = "#bb8009" +"scale.yellow.5" = "#9e6a03" +"scale.yellow.6" = "#845306" +"scale.yellow.7" = "#693e00" +"scale.yellow.8" = "#4b2900" +"scale.yellow.9" = "#341a00" +"severe.emphasis" = "#bd561d" +"severe.fg" = "#db6d28" +"severe.muted" = "#db6d2866" +"severe.subtle" = "#db6d2826" +"sponsors.emphasis" = "#bf4b8a" +"sponsors.fg" = "#db61a2" +"sponsors.muted" = "#db61a266" +"sponsors.subtle" = "#db61a226" +"success.emphasis" = "#238636" +"success.fg" = "#3fb950" +"success.muted" = "#2ea04366" +"success.subtle" = "#2ea04326" diff --git a/runtime/themes/github_dark_colorblind.toml b/runtime/themes/github_dark_colorblind.toml new file mode 100644 index 000000000..afc806928 --- /dev/null +++ b/runtime/themes/github_dark_colorblind.toml @@ -0,0 +1,151 @@ +# Author : OwOSwordsman +# An unofficial GitHub theme, generated using colors from: https://primer.style/primitives/colors +# Credit goes to the original VSCode theme: https://github.com/primer/github-vscode-theme +# Only the Light and Dark variants were specifically tested + +inherits = "github_dark" + +[palette] +"accent.emphasis" = "#1f6feb" +"accent.fg" = "#58a6ff" +"accent.muted" = "#388bfd66" +"accent.subtle" = "#388bfd26" +"attention.emphasis" = "#9e6a03" +"attention.fg" = "#d29922" +"attention.muted" = "#bb800966" +"attention.subtle" = "#bb800926" +"border.default" = "#30363d" +"border.muted" = "#21262d" +"border.subtle" = "#f0f6fc1a" +"canvas.default" = "#0d1117" +"canvas.inset" = "#010409" +"canvas.overlay" = "#161b22" +"canvas.subtle" = "#161b22" +"closed.emphasis" = "#6e7681" +"closed.fg" = "#8b949e" +"closed.muted" = "#6e768166" +"closed.subtle" = "#6e76811a" +"danger.emphasis" = "#b76100" +"danger.fg" = "#d47616" +"danger.muted" = "#d4761666" +"danger.subtle" = "#d4761626" +"done.emphasis" = "#8957e5" +"done.fg" = "#a371f7" +"done.muted" = "#a371f766" +"done.subtle" = "#a371f726" +"fg.default" = "#c9d1d9" +"fg.muted" = "#8b949e" +"fg.onEmphasis" = "#ffffff" +"fg.subtle" = "#6e7681" +"neutral.emphasis" = "#6e7681" +"neutral.emphasisPlus" = "#6e7681" +"neutral.muted" = "#6e768166" +"neutral.subtle" = "#6e76811a" +"open.emphasis" = "#b76100" +"open.fg" = "#ec8e2c" +"open.muted" = "#d4761666" +"open.subtle" = "#d4761626" +"scale.black" = "#010409" +"scale.blue.0" = "#cae8ff" +"scale.blue.1" = "#a5d6ff" +"scale.blue.2" = "#79c0ff" +"scale.blue.3" = "#58a6ff" +"scale.blue.4" = "#388bfd" +"scale.blue.5" = "#1f6feb" +"scale.blue.6" = "#1158c7" +"scale.blue.7" = "#0d419d" +"scale.blue.8" = "#0c2d6b" +"scale.blue.9" = "#051d4d" +"scale.coral.0" = "#ffddd2" +"scale.coral.1" = "#ffc2b2" +"scale.coral.2" = "#ffa28b" +"scale.coral.3" = "#f78166" +"scale.coral.4" = "#ea6045" +"scale.coral.5" = "#cf462d" +"scale.coral.6" = "#ac3220" +"scale.coral.7" = "#872012" +"scale.coral.8" = "#640d04" +"scale.coral.9" = "#460701" +"scale.gray.0" = "#f0f6fc" +"scale.gray.1" = "#c9d1d9" +"scale.gray.2" = "#b1bac4" +"scale.gray.3" = "#8b949e" +"scale.gray.4" = "#6e7681" +"scale.gray.5" = "#484f58" +"scale.gray.6" = "#30363d" +"scale.gray.7" = "#21262d" +"scale.gray.8" = "#161b22" +"scale.gray.9" = "#0d1117" +"scale.green.0" = "#cae8ff" +"scale.green.1" = "#a5d6ff" +"scale.green.2" = "#79c0ff" +"scale.green.3" = "#58a6ff" +"scale.green.4" = "#388bfd" +"scale.green.5" = "#1f6feb" +"scale.green.6" = "#1158c7" +"scale.green.7" = "#0d419d" +"scale.green.8" = "#0c2d6b" +"scale.green.9" = "#051d4d" +"scale.orange.0" = "#ffe2bb" +"scale.orange.1" = "#ffc981" +"scale.orange.2" = "#fdac54" +"scale.orange.3" = "#ec8e2c" +"scale.orange.4" = "#d47616" +"scale.orange.5" = "#b76100" +"scale.orange.6" = "#914d04" +"scale.orange.7" = "#6c3906" +"scale.orange.8" = "#4e2906" +"scale.orange.9" = "#331c04" +"scale.pink.0" = "#ffdaec" +"scale.pink.1" = "#ffbedd" +"scale.pink.2" = "#ff9bce" +"scale.pink.3" = "#f778ba" +"scale.pink.4" = "#db61a2" +"scale.pink.5" = "#bf4b8a" +"scale.pink.6" = "#9e3670" +"scale.pink.7" = "#7d2457" +"scale.pink.8" = "#5e103e" +"scale.pink.9" = "#42062a" +"scale.purple.0" = "#eddeff" +"scale.purple.1" = "#e2c5ff" +"scale.purple.2" = "#d2a8ff" +"scale.purple.3" = "#bc8cff" +"scale.purple.4" = "#a371f7" +"scale.purple.5" = "#8957e5" +"scale.purple.6" = "#6e40c9" +"scale.purple.7" = "#553098" +"scale.purple.8" = "#3c1e70" +"scale.purple.9" = "#271052" +"scale.red.0" = "#ffe2bb" +"scale.red.1" = "#ffc981" +"scale.red.2" = "#fdac54" +"scale.red.3" = "#ec8e2c" +"scale.red.4" = "#d47616" +"scale.red.5" = "#b76100" +"scale.red.6" = "#914d04" +"scale.red.7" = "#6c3906" +"scale.red.8" = "#4e2906" +"scale.red.9" = "#331c04" +"scale.white" = "#ffffff" +"scale.yellow.0" = "#f8e3a1" +"scale.yellow.1" = "#f2cc60" +"scale.yellow.2" = "#e3b341" +"scale.yellow.3" = "#d29922" +"scale.yellow.4" = "#bb8009" +"scale.yellow.5" = "#9e6a03" +"scale.yellow.6" = "#845306" +"scale.yellow.7" = "#693e00" +"scale.yellow.8" = "#4b2900" +"scale.yellow.9" = "#341a00" +"severe.emphasis" = "#b76100" +"severe.fg" = "#d47616" +"severe.muted" = "#d4761666" +"severe.subtle" = "#d4761626" +"sponsors.emphasis" = "#bf4b8a" +"sponsors.fg" = "#db61a2" +"sponsors.muted" = "#db61a266" +"sponsors.subtle" = "#db61a226" +"success.emphasis" = "#1f6feb" +"success.fg" = "#58a6ff" +"success.muted" = "#388bfd66" +"success.subtle" = "#388bfd26" diff --git a/runtime/themes/github_dark_dimmed.toml b/runtime/themes/github_dark_dimmed.toml new file mode 100644 index 000000000..b8783d043 --- /dev/null +++ b/runtime/themes/github_dark_dimmed.toml @@ -0,0 +1,151 @@ +# Author : OwOSwordsman +# An unofficial GitHub theme, generated using colors from: https://primer.style/primitives/colors +# Credit goes to the original VSCode theme: https://github.com/primer/github-vscode-theme +# Only the Light and Dark variants were specifically tested + +inherits = "github_dark" + +[palette] +"accent.emphasis" = "#316dca" +"accent.fg" = "#539bf5" +"accent.muted" = "#4184e466" +"accent.subtle" = "#4184e426" +"attention.emphasis" = "#966600" +"attention.fg" = "#c69026" +"attention.muted" = "#ae7c1466" +"attention.subtle" = "#ae7c1426" +"border.default" = "#444c56" +"border.muted" = "#373e47" +"border.subtle" = "#cdd9e51a" +"canvas.default" = "#22272e" +"canvas.inset" = "#1c2128" +"canvas.overlay" = "#2d333b" +"canvas.subtle" = "#2d333b" +"closed.emphasis" = "#c93c37" +"closed.fg" = "#e5534b" +"closed.muted" = "#e5534b66" +"closed.subtle" = "#e5534b26" +"danger.emphasis" = "#c93c37" +"danger.fg" = "#e5534b" +"danger.muted" = "#e5534b66" +"danger.subtle" = "#e5534b26" +"done.emphasis" = "#8256d0" +"done.fg" = "#986ee2" +"done.muted" = "#986ee266" +"done.subtle" = "#986ee226" +"fg.default" = "#adbac7" +"fg.muted" = "#768390" +"fg.onEmphasis" = "#cdd9e5" +"fg.subtle" = "#636e7b" +"neutral.emphasis" = "#636e7b" +"neutral.emphasisPlus" = "#636e7b" +"neutral.muted" = "#636e7b66" +"neutral.subtle" = "#636e7b1a" +"open.emphasis" = "#347d39" +"open.fg" = "#57ab5a" +"open.muted" = "#46954a66" +"open.subtle" = "#46954a26" +"scale.black" = "#1c2128" +"scale.blue.0" = "#c6e6ff" +"scale.blue.1" = "#96d0ff" +"scale.blue.2" = "#6cb6ff" +"scale.blue.3" = "#539bf5" +"scale.blue.4" = "#4184e4" +"scale.blue.5" = "#316dca" +"scale.blue.6" = "#255ab2" +"scale.blue.7" = "#1b4b91" +"scale.blue.8" = "#143d79" +"scale.blue.9" = "#0f2d5c" +"scale.coral.0" = "#ffdacf" +"scale.coral.1" = "#ffb9a5" +"scale.coral.2" = "#f79981" +"scale.coral.3" = "#ec775c" +"scale.coral.4" = "#de5b41" +"scale.coral.5" = "#c2442d" +"scale.coral.6" = "#a93524" +"scale.coral.7" = "#8d291b" +"scale.coral.8" = "#771d13" +"scale.coral.9" = "#5d1008" +"scale.gray.0" = "#cdd9e5" +"scale.gray.1" = "#adbac7" +"scale.gray.2" = "#909dab" +"scale.gray.3" = "#768390" +"scale.gray.4" = "#636e7b" +"scale.gray.5" = "#545d68" +"scale.gray.6" = "#444c56" +"scale.gray.7" = "#373e47" +"scale.gray.8" = "#2d333b" +"scale.gray.9" = "#22272e" +"scale.green.0" = "#b4f1b4" +"scale.green.1" = "#8ddb8c" +"scale.green.2" = "#6bc46d" +"scale.green.3" = "#57ab5a" +"scale.green.4" = "#46954a" +"scale.green.5" = "#347d39" +"scale.green.6" = "#2b6a30" +"scale.green.7" = "#245829" +"scale.green.8" = "#1b4721" +"scale.green.9" = "#113417" +"scale.orange.0" = "#ffddb0" +"scale.orange.1" = "#ffbc6f" +"scale.orange.2" = "#f69d50" +"scale.orange.3" = "#e0823d" +"scale.orange.4" = "#cc6b2c" +"scale.orange.5" = "#ae5622" +"scale.orange.6" = "#94471b" +"scale.orange.7" = "#7f3913" +"scale.orange.8" = "#682d0f" +"scale.orange.9" = "#4d210c" +"scale.pink.0" = "#ffd7eb" +"scale.pink.1" = "#ffb3d8" +"scale.pink.2" = "#fc8dc7" +"scale.pink.3" = "#e275ad" +"scale.pink.4" = "#c96198" +"scale.pink.5" = "#ae4c82" +"scale.pink.6" = "#983b6e" +"scale.pink.7" = "#7e325a" +"scale.pink.8" = "#69264a" +"scale.pink.9" = "#551639" +"scale.purple.0" = "#eedcff" +"scale.purple.1" = "#dcbdfb" +"scale.purple.2" = "#dcbdfb" +"scale.purple.3" = "#b083f0" +"scale.purple.4" = "#986ee2" +"scale.purple.5" = "#8256d0" +"scale.purple.6" = "#6b44bc" +"scale.purple.7" = "#5936a2" +"scale.purple.8" = "#472c82" +"scale.purple.9" = "#352160" +"scale.red.0" = "#ffd8d3" +"scale.red.1" = "#ffb8b0" +"scale.red.2" = "#ff938a" +"scale.red.3" = "#f47067" +"scale.red.4" = "#e5534b" +"scale.red.5" = "#c93c37" +"scale.red.6" = "#ad2e2c" +"scale.red.7" = "#922323" +"scale.red.8" = "#78191b" +"scale.red.9" = "#5d0f12" +"scale.white" = "#cdd9e5" +"scale.yellow.0" = "#fbe090" +"scale.yellow.1" = "#eac55f" +"scale.yellow.2" = "#daaa3f" +"scale.yellow.3" = "#c69026" +"scale.yellow.4" = "#ae7c14" +"scale.yellow.5" = "#966600" +"scale.yellow.6" = "#805400" +"scale.yellow.7" = "#6c4400" +"scale.yellow.8" = "#593600" +"scale.yellow.9" = "#452700" +"severe.emphasis" = "#ae5622" +"severe.fg" = "#cc6b2c" +"severe.muted" = "#cc6b2c66" +"severe.subtle" = "#cc6b2c26" +"sponsors.emphasis" = "#ae4c82" +"sponsors.fg" = "#c96198" +"sponsors.muted" = "#c9619866" +"sponsors.subtle" = "#c9619826" +"success.emphasis" = "#347d39" +"success.fg" = "#57ab5a" +"success.muted" = "#46954a66" +"success.subtle" = "#46954a26" diff --git a/runtime/themes/github_dark_high_contrast.toml b/runtime/themes/github_dark_high_contrast.toml new file mode 100644 index 000000000..59d2c8f2e --- /dev/null +++ b/runtime/themes/github_dark_high_contrast.toml @@ -0,0 +1,151 @@ +# Author : OwOSwordsman +# An unofficial GitHub theme, generated using colors from: https://primer.style/primitives/colors +# Credit goes to the original VSCode theme: https://github.com/primer/github-vscode-theme +# Only the Light and Dark variants were specifically tested + +inherits = "github_dark" + +[palette] +"accent.emphasis" = "#409eff" +"accent.fg" = "#71b7ff" +"accent.muted" = "#409eff" +"accent.subtle" = "#409eff26" +"attention.emphasis" = "#e09b13" +"attention.fg" = "#f0b72f" +"attention.muted" = "#e09b13" +"attention.subtle" = "#e09b1326" +"border.default" = "#7a828e" +"border.muted" = "#7a828e" +"border.subtle" = "#7a828e" +"canvas.default" = "#0a0c10" +"canvas.inset" = "#010409" +"canvas.overlay" = "#272b33" +"canvas.subtle" = "#272b33" +"closed.emphasis" = "#ff6a69" +"closed.fg" = "#ff6a69" +"closed.muted" = "#ff6a6966" +"closed.subtle" = "#ff6a6926" +"danger.emphasis" = "#ff6a69" +"danger.fg" = "#ff6a69" +"danger.muted" = "#ff6a69" +"danger.subtle" = "#ff6a6926" +"done.emphasis" = "#b87fff" +"done.fg" = "#b780ff" +"done.muted" = "#b780ff" +"done.subtle" = "#b780ff26" +"fg.default" = "#f0f3f6" +"fg.muted" = "#f0f3f6" +"fg.onEmphasis" = "#0a0c10" +"fg.subtle" = "#9ea7b3" +"neutral.emphasis" = "#9ea7b3" +"neutral.emphasisPlus" = "#ffffff" +"neutral.muted" = "#9ea7b366" +"neutral.subtle" = "#9ea7b31a" +"open.emphasis" = "#09b43a" +"open.fg" = "#26cd4d" +"open.muted" = "#09b43a66" +"open.subtle" = "#09b43a26" +"scale.black" = "#010409" +"scale.blue.0" = "#caeaff" +"scale.blue.1" = "#addcff" +"scale.blue.2" = "#91cbff" +"scale.blue.3" = "#71b7ff" +"scale.blue.4" = "#409eff" +"scale.blue.5" = "#409eff" +"scale.blue.6" = "#318bf8" +"scale.blue.7" = "#2672f3" +"scale.blue.8" = "#1e60d5" +"scale.blue.9" = "#194fb1" +"scale.coral.0" = "#ffded4" +"scale.coral.1" = "#ffcbb9" +"scale.coral.2" = "#ffb39b" +"scale.coral.3" = "#ff967d" +"scale.coral.4" = "#fc704f" +"scale.coral.5" = "#fc704f" +"scale.coral.6" = "#f75133" +"scale.coral.7" = "#e03b21" +"scale.coral.8" = "#c62612" +"scale.coral.9" = "#a91500" +"scale.gray.0" = "#ffffff" +"scale.gray.1" = "#f0f3f6" +"scale.gray.2" = "#d9dee3" +"scale.gray.3" = "#bdc4cc" +"scale.gray.4" = "#9ea7b3" +"scale.gray.5" = "#7a828e" +"scale.gray.6" = "#525964" +"scale.gray.7" = "#272b33" +"scale.gray.8" = "#272b33" +"scale.gray.9" = "#0a0c10" +"scale.green.0" = "#acf7b6" +"scale.green.1" = "#72f088" +"scale.green.2" = "#4ae168" +"scale.green.3" = "#26cd4d" +"scale.green.4" = "#09b43a" +"scale.green.5" = "#09b43a" +"scale.green.6" = "#02a232" +"scale.green.7" = "#008c2c" +"scale.green.8" = "#007728" +"scale.green.9" = "#006222" +"scale.orange.0" = "#ffe1b4" +"scale.orange.1" = "#ffcf86" +"scale.orange.2" = "#ffb757" +"scale.orange.3" = "#fe9a2d" +"scale.orange.4" = "#e7811d" +"scale.orange.5" = "#e7811d" +"scale.orange.6" = "#d57014" +"scale.orange.7" = "#bf5e0a" +"scale.orange.8" = "#a74c00" +"scale.orange.9" = "#8f3c00" +"scale.pink.0" = "#ffdceb" +"scale.pink.1" = "#ffc7e1" +"scale.pink.2" = "#ffadd4" +"scale.pink.3" = "#ff8dc7" +"scale.pink.4" = "#ef6eb1" +"scale.pink.5" = "#ef6eb1" +"scale.pink.6" = "#e456a3" +"scale.pink.7" = "#d23d91" +"scale.pink.8" = "#b72c7d" +"scale.pink.9" = "#9c1d6a" +"scale.purple.0" = "#f0dfff" +"scale.purple.1" = "#e6ccff" +"scale.purple.2" = "#dbb7ff" +"scale.purple.3" = "#cb9eff" +"scale.purple.4" = "#b780ff" +"scale.purple.5" = "#b87fff" +"scale.purple.6" = "#a66bff" +"scale.purple.7" = "#954ffd" +"scale.purple.8" = "#8031f7" +"scale.purple.9" = "#6921d7" +"scale.red.0" = "#ffdedb" +"scale.red.1" = "#ffc9c7" +"scale.red.2" = "#ffb1af" +"scale.red.3" = "#ff9492" +"scale.red.4" = "#ff6a69" +"scale.red.5" = "#ff6a69" +"scale.red.6" = "#ff4445" +"scale.red.7" = "#e82a2f" +"scale.red.8" = "#cc1421" +"scale.red.9" = "#ad0116" +"scale.white" = "#ffffff" +"scale.yellow.0" = "#fbe59e" +"scale.yellow.1" = "#fbd669" +"scale.yellow.2" = "#f7c843" +"scale.yellow.3" = "#f0b72f" +"scale.yellow.4" = "#e09b13" +"scale.yellow.5" = "#e09b13" +"scale.yellow.6" = "#c88508" +"scale.yellow.7" = "#ae7104" +"scale.yellow.8" = "#945d02" +"scale.yellow.9" = "#7b4900" +"severe.emphasis" = "#e7811d" +"severe.fg" = "#e7811d" +"severe.muted" = "#e7811d" +"severe.subtle" = "#e7811d26" +"sponsors.emphasis" = "#ef6eb1" +"sponsors.fg" = "#ef6eb1" +"sponsors.muted" = "#ef6eb1" +"sponsors.subtle" = "#ef6eb126" +"success.emphasis" = "#09b43a" +"success.fg" = "#26cd4d" +"success.muted" = "#09b43a" +"success.subtle" = "#09b43a26" diff --git a/runtime/themes/github_dark_tritanopia.toml b/runtime/themes/github_dark_tritanopia.toml new file mode 100644 index 000000000..d92217512 --- /dev/null +++ b/runtime/themes/github_dark_tritanopia.toml @@ -0,0 +1,151 @@ +# Author : OwOSwordsman +# An unofficial GitHub theme, generated using colors from: https://primer.style/primitives/colors +# Credit goes to the original VSCode theme: https://github.com/primer/github-vscode-theme +# Only the Light and Dark variants were specifically tested + +inherits = "github_dark" + +[palette] +"accent.emphasis" = "#1f6feb" +"accent.fg" = "#58a6ff" +"accent.muted" = "#388bfd66" +"accent.subtle" = "#388bfd26" +"attention.emphasis" = "#9e6a03" +"attention.fg" = "#d29922" +"attention.muted" = "#bb800966" +"attention.subtle" = "#bb800926" +"border.default" = "#30363d" +"border.muted" = "#21262d" +"border.subtle" = "#f0f6fc1a" +"canvas.default" = "#0d1117" +"canvas.inset" = "#010409" +"canvas.overlay" = "#161b22" +"canvas.subtle" = "#161b22" +"closed.emphasis" = "#6e7681" +"closed.fg" = "#8b949e" +"closed.muted" = "#6e768166" +"closed.subtle" = "#6e76811a" +"danger.emphasis" = "#da3633" +"danger.fg" = "#f85149" +"danger.muted" = "#f8514966" +"danger.subtle" = "#f8514926" +"done.emphasis" = "#8957e5" +"done.fg" = "#a371f7" +"done.muted" = "#a371f766" +"done.subtle" = "#a371f726" +"fg.default" = "#c9d1d9" +"fg.muted" = "#8b949e" +"fg.onEmphasis" = "#ffffff" +"fg.subtle" = "#6e7681" +"neutral.emphasis" = "#6e7681" +"neutral.emphasisPlus" = "#6e7681" +"neutral.muted" = "#6e768166" +"neutral.subtle" = "#6e76811a" +"open.emphasis" = "#da3633" +"open.fg" = "#ff7b72" +"open.muted" = "#f8514966" +"open.subtle" = "#f8514926" +"scale.black" = "#010409" +"scale.blue.0" = "#cae8ff" +"scale.blue.1" = "#a5d6ff" +"scale.blue.2" = "#79c0ff" +"scale.blue.3" = "#58a6ff" +"scale.blue.4" = "#388bfd" +"scale.blue.5" = "#1f6feb" +"scale.blue.6" = "#1158c7" +"scale.blue.7" = "#0d419d" +"scale.blue.8" = "#0c2d6b" +"scale.blue.9" = "#051d4d" +"scale.coral.0" = "#ffddd2" +"scale.coral.1" = "#ffc2b2" +"scale.coral.2" = "#ffa28b" +"scale.coral.3" = "#f78166" +"scale.coral.4" = "#ea6045" +"scale.coral.5" = "#cf462d" +"scale.coral.6" = "#ac3220" +"scale.coral.7" = "#872012" +"scale.coral.8" = "#640d04" +"scale.coral.9" = "#460701" +"scale.gray.0" = "#f0f6fc" +"scale.gray.1" = "#c9d1d9" +"scale.gray.2" = "#b1bac4" +"scale.gray.3" = "#8b949e" +"scale.gray.4" = "#6e7681" +"scale.gray.5" = "#484f58" +"scale.gray.6" = "#30363d" +"scale.gray.7" = "#21262d" +"scale.gray.8" = "#161b22" +"scale.gray.9" = "#0d1117" +"scale.green.0" = "#cae8ff" +"scale.green.1" = "#a5d6ff" +"scale.green.2" = "#79c0ff" +"scale.green.3" = "#58a6ff" +"scale.green.4" = "#388bfd" +"scale.green.5" = "#1f6feb" +"scale.green.6" = "#1158c7" +"scale.green.7" = "#0d419d" +"scale.green.8" = "#0c2d6b" +"scale.green.9" = "#051d4d" +"scale.orange.0" = "#ffdcd7" +"scale.orange.1" = "#ffc1ba" +"scale.orange.2" = "#ffa198" +"scale.orange.3" = "#ff7b72" +"scale.orange.4" = "#f85149" +"scale.orange.5" = "#da3633" +"scale.orange.6" = "#b62324" +"scale.orange.7" = "#8e1519" +"scale.orange.8" = "#67060c" +"scale.orange.9" = "#490202" +"scale.pink.0" = "#ffdaec" +"scale.pink.1" = "#ffbedd" +"scale.pink.2" = "#ff9bce" +"scale.pink.3" = "#f778ba" +"scale.pink.4" = "#db61a2" +"scale.pink.5" = "#bf4b8a" +"scale.pink.6" = "#9e3670" +"scale.pink.7" = "#7d2457" +"scale.pink.8" = "#5e103e" +"scale.pink.9" = "#42062a" +"scale.purple.0" = "#eddeff" +"scale.purple.1" = "#e2c5ff" +"scale.purple.2" = "#d2a8ff" +"scale.purple.3" = "#bc8cff" +"scale.purple.4" = "#a371f7" +"scale.purple.5" = "#8957e5" +"scale.purple.6" = "#6e40c9" +"scale.purple.7" = "#553098" +"scale.purple.8" = "#3c1e70" +"scale.purple.9" = "#271052" +"scale.red.0" = "#ffdcd7" +"scale.red.1" = "#ffc1ba" +"scale.red.2" = "#ffa198" +"scale.red.3" = "#ff7b72" +"scale.red.4" = "#f85149" +"scale.red.5" = "#da3633" +"scale.red.6" = "#b62324" +"scale.red.7" = "#8e1519" +"scale.red.8" = "#67060c" +"scale.red.9" = "#490202" +"scale.white" = "#ffffff" +"scale.yellow.0" = "#f8e3a1" +"scale.yellow.1" = "#f2cc60" +"scale.yellow.2" = "#e3b341" +"scale.yellow.3" = "#d29922" +"scale.yellow.4" = "#bb8009" +"scale.yellow.5" = "#9e6a03" +"scale.yellow.6" = "#845306" +"scale.yellow.7" = "#693e00" +"scale.yellow.8" = "#4b2900" +"scale.yellow.9" = "#341a00" +"severe.emphasis" = "#da3633" +"severe.fg" = "#f85149" +"severe.muted" = "#f8514966" +"severe.subtle" = "#f8514926" +"sponsors.emphasis" = "#bf4b8a" +"sponsors.fg" = "#db61a2" +"sponsors.muted" = "#db61a266" +"sponsors.subtle" = "#db61a226" +"success.emphasis" = "#1f6feb" +"success.fg" = "#58a6ff" +"success.muted" = "#388bfd66" +"success.subtle" = "#388bfd26" diff --git a/runtime/themes/github_light.toml b/runtime/themes/github_light.toml new file mode 100644 index 000000000..d9969729d --- /dev/null +++ b/runtime/themes/github_light.toml @@ -0,0 +1,228 @@ +# Author : OwOSwordsman +# An unofficial GitHub theme, generated using colors from: https://primer.style/primitives/colors +# Credit goes to the original VSCode theme: https://github.com/primer/github-vscode-theme +# Only the Light and Dark variants were specifically tested + +attribute = "fg.default" +keyword = "scale.red.5" +"keyword.directive" = "scale.red.5" # -- preprocessor comments (#if in C) +namespace = "scale.orange.6" +punctuation = "fg.default" +"punctuation.delimiter" = "fg.default" +operator = "scale.red.5" +special = "scale.blue.8" +"variable.other.member" = "fg.default" +variable = "fg.default" +"variable.parameter" = "scale.orange.6" +"variable.builtin" = "scale.red.5" +type = "scale.orange.6" +"type.builtin" = "scale.blue.6" +constructor = "done.fg" +function = "done.fg" +"function.macro" = "done.fg" +tag = "scale.green.6" +comment = "fg.muted" +constant = "scale.blue.6" +"constant.builtin" = "scale.blue.6" +string = "scale.blue.8" +"constant.numeric" = "scale.blue.6" +"constant.character.escape" = "scale.blue.6" +# used for lifetimes +label = "scale.red.5" + +"markup.heading" = "scale.blue.6" +"markup.bold" = { modifiers = ["bold"] } +"markup.italic" = { modifiers = ["italic"] } +"markup.link.url" = { modifiers = ["underlined"] } +"markup.link.text" = { fg = "scale.blue.8", modifiers = ["underlined"] } +"markup.raw" = "scale.blue.6" + +"diff.plus" = "open.fg" +"diff.minus" = "closed.fg" +"diff.delta" = "attention.fg" + +"ui.background" = { bg = "canvas.default" } +"ui.background.separator" = { fg = "fg.subtle" } +"ui.linenr" = { fg = "fg.subtle" } +"ui.linenr.selected" = { fg = "fg.default" } +"ui.statusline" = { fg = "fg.muted", bg = "neutral.subtle" } +"ui.statusline.active" = { fg = "fg.default", bg = "canvas.default", underline = { color = "scale.coral.3", style = "line" } } +"ui.statusline.normal" = { fg = "fg.default", bg = "accent.muted" } +"ui.statusline.insert" = { fg = "fg.default", bg = "attention.muted" } +"ui.statusline.select" = { fg = "fg.default", bg = "sponsors.muted" } +"ui.popup" = { bg = "scale.gray.0" } +"ui.popup.info" = { fg = "fg.default", bg = "scale.gray.0" } +"ui.window" = { fg = "border.default" } +"ui.help" = { fg = "fg.default", bg = "scale.gray.0" } + +"ui.text" = { fg = "fg.muted" } +"ui.text.focus" = { fg = "fg.default" } +"ui.text.inactive" = "fg.subtle" +"ui.virtual" = { fg = "scale.gray.2" } + +"ui.selection" = { bg = "scale.blue.0" } +"ui.selection.primary" = { bg = "scale.blue.1" } +"ui.cursor.match" = { fg = "attention.fg", modifiers = [ + "bold", +], underline = { style = "line" } } +"ui.cursor" = { modifiers = ["reversed"] } +"ui.cursorline.primary" = { bg = "canvas.subtle" } + +"ui.menu" = { fg = "fg.default", bg = "scale.gray.0" } +"ui.menu.selected" = { bg = "scale.gray.1" } +"ui.menu.scroll" = { fg = "scale.gray.2", bg = "scale.gray.0" } + +"diagnostic.hint" = { underline = { color = "success.fg", style = "curl" } } +"diagnostic.info" = { underline = { color = "accent.fg", style = "curl" } } +"diagnostic.warning" = { underline = { color = "attention.fg", style = "curl" } } +"diagnostic.error" = { underline = { color = "danger.fg", style = "curl" } } + +hint = "success.fg" +info = "accent.fg" +warning = "attention.fg" +error = "danger.fg" + +[palette] +"accent.emphasis" = "#0969da" +"accent.fg" = "#0969da" +"accent.muted" = "#54aeff66" +"accent.subtle" = "#ddf4ff" +"attention.emphasis" = "#bf8700" +"attention.fg" = "#9a6700" +"attention.muted" = "#d4a72c66" +"attention.subtle" = "#fff8c5" +"border.default" = "#d0d7de" +"border.muted" = "#d8dee4" +"border.subtle" = "#1b1f2426" +"canvas.default" = "#ffffff" +"canvas.inset" = "#f6f8fa" +"canvas.overlay" = "#ffffff" +"canvas.subtle" = "#f6f8fa" +"closed.emphasis" = "#cf222e" +"closed.fg" = "#cf222e" +"closed.muted" = "#ff818266" +"closed.subtle" = "#ffebe9" +"danger.emphasis" = "#cf222e" +"danger.fg" = "#cf222e" +"danger.muted" = "#ff818266" +"danger.subtle" = "#ffebe9" +"done.emphasis" = "#8250df" +"done.fg" = "#8250df" +"done.muted" = "#c297ff66" +"done.subtle" = "#fbefff" +"fg.default" = "#24292f" +"fg.muted" = "#57606a" +"fg.onEmphasis" = "#ffffff" +"fg.subtle" = "#6e7781" +"neutral.emphasis" = "#6e7781" +"neutral.emphasisPlus" = "#24292f" +"neutral.muted" = "#afb8c133" +"neutral.subtle" = "#eaeef280" +"open.emphasis" = "#2da44e" +"open.fg" = "#1a7f37" +"open.muted" = "#4ac26b66" +"open.subtle" = "#dafbe1" +"scale.black" = "#1b1f24" +"scale.blue.0" = "#ddf4ff" +"scale.blue.1" = "#b6e3ff" +"scale.blue.2" = "#80ccff" +"scale.blue.3" = "#54aeff" +"scale.blue.4" = "#218bff" +"scale.blue.5" = "#0969da" +"scale.blue.6" = "#0550ae" +"scale.blue.7" = "#033d8b" +"scale.blue.8" = "#0a3069" +"scale.blue.9" = "#002155" +"scale.coral.0" = "#fff0eb" +"scale.coral.1" = "#ffd6cc" +"scale.coral.2" = "#ffb4a1" +"scale.coral.3" = "#fd8c73" +"scale.coral.4" = "#ec6547" +"scale.coral.5" = "#c4432b" +"scale.coral.6" = "#9e2f1c" +"scale.coral.7" = "#801f0f" +"scale.coral.8" = "#691105" +"scale.coral.9" = "#510901" +"scale.gray.0" = "#f6f8fa" +"scale.gray.1" = "#eaeef2" +"scale.gray.2" = "#d0d7de" +"scale.gray.3" = "#afb8c1" +"scale.gray.4" = "#8c959f" +"scale.gray.5" = "#6e7781" +"scale.gray.6" = "#57606a" +"scale.gray.7" = "#424a53" +"scale.gray.8" = "#32383f" +"scale.gray.9" = "#24292f" +"scale.green.0" = "#dafbe1" +"scale.green.1" = "#aceebb" +"scale.green.2" = "#6fdd8b" +"scale.green.3" = "#4ac26b" +"scale.green.4" = "#2da44e" +"scale.green.5" = "#1a7f37" +"scale.green.6" = "#116329" +"scale.green.7" = "#044f1e" +"scale.green.8" = "#003d16" +"scale.green.9" = "#002d11" +"scale.orange.0" = "#fff1e5" +"scale.orange.1" = "#ffd8b5" +"scale.orange.2" = "#ffb77c" +"scale.orange.3" = "#fb8f44" +"scale.orange.4" = "#e16f24" +"scale.orange.5" = "#bc4c00" +"scale.orange.6" = "#953800" +"scale.orange.7" = "#762c00" +"scale.orange.8" = "#5c2200" +"scale.orange.9" = "#471700" +"scale.pink.0" = "#ffeff7" +"scale.pink.1" = "#ffd3eb" +"scale.pink.2" = "#ffadda" +"scale.pink.3" = "#ff80c8" +"scale.pink.4" = "#e85aad" +"scale.pink.5" = "#bf3989" +"scale.pink.6" = "#99286e" +"scale.pink.7" = "#772057" +"scale.pink.8" = "#611347" +"scale.pink.9" = "#4d0336" +"scale.purple.0" = "#fbefff" +"scale.purple.1" = "#ecd8ff" +"scale.purple.2" = "#d8b9ff" +"scale.purple.3" = "#c297ff" +"scale.purple.4" = "#a475f9" +"scale.purple.5" = "#8250df" +"scale.purple.6" = "#6639ba" +"scale.purple.7" = "#512a97" +"scale.purple.8" = "#3e1f79" +"scale.purple.9" = "#2e1461" +"scale.red.0" = "#ffebe9" +"scale.red.1" = "#ffcecb" +"scale.red.2" = "#ffaba8" +"scale.red.3" = "#ff8182" +"scale.red.4" = "#fa4549" +"scale.red.5" = "#cf222e" +"scale.red.6" = "#a40e26" +"scale.red.7" = "#82071e" +"scale.red.8" = "#660018" +"scale.red.9" = "#4c0014" +"scale.white" = "#ffffff" +"scale.yellow.0" = "#fff8c5" +"scale.yellow.1" = "#fae17d" +"scale.yellow.2" = "#eac54f" +"scale.yellow.3" = "#d4a72c" +"scale.yellow.4" = "#bf8700" +"scale.yellow.5" = "#9a6700" +"scale.yellow.6" = "#7d4e00" +"scale.yellow.7" = "#633c01" +"scale.yellow.8" = "#4d2d00" +"scale.yellow.9" = "#3b2300" +"severe.emphasis" = "#bc4c00" +"severe.fg" = "#bc4c00" +"severe.muted" = "#fb8f4466" +"severe.subtle" = "#fff1e5" +"sponsors.emphasis" = "#bf3989" +"sponsors.fg" = "#bf3989" +"sponsors.muted" = "#ff80c866" +"sponsors.subtle" = "#ffeff7" +"success.emphasis" = "#2da44e" +"success.fg" = "#1a7f37" +"success.muted" = "#4ac26b66" +"success.subtle" = "#dafbe1" diff --git a/runtime/themes/github_light_colorblind.toml b/runtime/themes/github_light_colorblind.toml new file mode 100644 index 000000000..295fecd8a --- /dev/null +++ b/runtime/themes/github_light_colorblind.toml @@ -0,0 +1,151 @@ +# Author : OwOSwordsman +# An unofficial GitHub theme, generated using colors from: https://primer.style/primitives/colors +# Credit goes to the original VSCode theme: https://github.com/primer/github-vscode-theme +# Only the Light and Dark variants were specifically tested + +inherits = "github_light" + +[palette] +"accent.emphasis" = "#0969da" +"accent.fg" = "#0969da" +"accent.muted" = "#54aeff66" +"accent.subtle" = "#ddf4ff" +"attention.emphasis" = "#bf8700" +"attention.fg" = "#9a6700" +"attention.muted" = "#d4a72c66" +"attention.subtle" = "#fff8c5" +"border.default" = "#d0d7de" +"border.muted" = "#d8dee4" +"border.subtle" = "#1b1f2426" +"canvas.default" = "#ffffff" +"canvas.inset" = "#f6f8fa" +"canvas.overlay" = "#ffffff" +"canvas.subtle" = "#f6f8fa" +"closed.emphasis" = "#6e7781" +"closed.fg" = "#6e7781" +"closed.muted" = "#afb8c166" +"closed.subtle" = "#f6f8fa" +"danger.emphasis" = "#b35900" +"danger.fg" = "#b35900" +"danger.muted" = "#f7993966" +"danger.subtle" = "#fff5e8" +"done.emphasis" = "#8250df" +"done.fg" = "#8250df" +"done.muted" = "#c297ff66" +"done.subtle" = "#fbefff" +"fg.default" = "#24292f" +"fg.muted" = "#57606a" +"fg.onEmphasis" = "#ffffff" +"fg.subtle" = "#6e7781" +"neutral.emphasis" = "#6e7781" +"neutral.emphasisPlus" = "#24292f" +"neutral.muted" = "#afb8c133" +"neutral.subtle" = "#eaeef280" +"open.emphasis" = "#dd7815" +"open.fg" = "#b35900" +"open.muted" = "#f7993966" +"open.subtle" = "#fff5e8" +"scale.black" = "#1b1f24" +"scale.blue.0" = "#ddf4ff" +"scale.blue.1" = "#b6e3ff" +"scale.blue.2" = "#80ccff" +"scale.blue.3" = "#54aeff" +"scale.blue.4" = "#218bff" +"scale.blue.5" = "#0969da" +"scale.blue.6" = "#0550ae" +"scale.blue.7" = "#033d8b" +"scale.blue.8" = "#0a3069" +"scale.blue.9" = "#002155" +"scale.coral.0" = "#fff0eb" +"scale.coral.1" = "#ffd6cc" +"scale.coral.2" = "#ffb4a1" +"scale.coral.3" = "#fd8c73" +"scale.coral.4" = "#ec6547" +"scale.coral.5" = "#c4432b" +"scale.coral.6" = "#9e2f1c" +"scale.coral.7" = "#801f0f" +"scale.coral.8" = "#691105" +"scale.coral.9" = "#510901" +"scale.gray.0" = "#f6f8fa" +"scale.gray.1" = "#eaeef2" +"scale.gray.2" = "#d0d7de" +"scale.gray.3" = "#afb8c1" +"scale.gray.4" = "#8c959f" +"scale.gray.5" = "#6e7781" +"scale.gray.6" = "#57606a" +"scale.gray.7" = "#424a53" +"scale.gray.8" = "#32383f" +"scale.gray.9" = "#24292f" +"scale.green.0" = "#ddf4ff" +"scale.green.1" = "#b6e3ff" +"scale.green.2" = "#80ccff" +"scale.green.3" = "#54aeff" +"scale.green.4" = "#218bff" +"scale.green.5" = "#0969da" +"scale.green.6" = "#0550ae" +"scale.green.7" = "#033d8b" +"scale.green.8" = "#0a3069" +"scale.green.9" = "#002155" +"scale.orange.0" = "#fff5e8" +"scale.orange.1" = "#ffddb0" +"scale.orange.2" = "#ffbc6d" +"scale.orange.3" = "#f79939" +"scale.orange.4" = "#dd7815" +"scale.orange.5" = "#b35900" +"scale.orange.6" = "#8a4600" +"scale.orange.7" = "#6f3800" +"scale.orange.8" = "#572c00" +"scale.orange.9" = "#412000" +"scale.pink.0" = "#ffeff7" +"scale.pink.1" = "#ffd3eb" +"scale.pink.2" = "#ffadda" +"scale.pink.3" = "#ff80c8" +"scale.pink.4" = "#e85aad" +"scale.pink.5" = "#bf3989" +"scale.pink.6" = "#99286e" +"scale.pink.7" = "#772057" +"scale.pink.8" = "#611347" +"scale.pink.9" = "#4d0336" +"scale.purple.0" = "#fbefff" +"scale.purple.1" = "#ecd8ff" +"scale.purple.2" = "#d8b9ff" +"scale.purple.3" = "#c297ff" +"scale.purple.4" = "#a475f9" +"scale.purple.5" = "#8250df" +"scale.purple.6" = "#6639ba" +"scale.purple.7" = "#512a97" +"scale.purple.8" = "#3e1f79" +"scale.purple.9" = "#2e1461" +"scale.red.0" = "#fff5e8" +"scale.red.1" = "#ffddb0" +"scale.red.2" = "#ffbc6d" +"scale.red.3" = "#f79939" +"scale.red.4" = "#dd7815" +"scale.red.5" = "#b35900" +"scale.red.6" = "#8a4600" +"scale.red.7" = "#6f3800" +"scale.red.8" = "#572c00" +"scale.red.9" = "#412000" +"scale.white" = "#ffffff" +"scale.yellow.0" = "#fff8c5" +"scale.yellow.1" = "#fae17d" +"scale.yellow.2" = "#eac54f" +"scale.yellow.3" = "#d4a72c" +"scale.yellow.4" = "#bf8700" +"scale.yellow.5" = "#9a6700" +"scale.yellow.6" = "#7d4e00" +"scale.yellow.7" = "#633c01" +"scale.yellow.8" = "#4d2d00" +"scale.yellow.9" = "#3b2300" +"severe.emphasis" = "#b35900" +"severe.fg" = "#b35900" +"severe.muted" = "#f7993966" +"severe.subtle" = "#fff5e8" +"sponsors.emphasis" = "#bf3989" +"sponsors.fg" = "#bf3989" +"sponsors.muted" = "#ff80c866" +"sponsors.subtle" = "#ffeff7" +"success.emphasis" = "#218bff" +"success.fg" = "#0969da" +"success.muted" = "#54aeff66" +"success.subtle" = "#ddf4ff" diff --git a/runtime/themes/github_light_high_contrast.toml b/runtime/themes/github_light_high_contrast.toml new file mode 100644 index 000000000..f4fbd4df9 --- /dev/null +++ b/runtime/themes/github_light_high_contrast.toml @@ -0,0 +1,151 @@ +# Author : OwOSwordsman +# An unofficial GitHub theme, generated using colors from: https://primer.style/primitives/colors +# Credit goes to the original VSCode theme: https://github.com/primer/github-vscode-theme +# Only the Light and Dark variants were specifically tested + +inherits = "github_light" + +[palette] +"accent.emphasis" = "#0349b4" +"accent.fg" = "#0349b4" +"accent.muted" = "#368cf9" +"accent.subtle" = "#dff7ff" +"attention.emphasis" = "#744500" +"attention.fg" = "#744500" +"attention.muted" = "#b58407" +"attention.subtle" = "#fcf7be" +"border.default" = "#20252c" +"border.muted" = "#88929d" +"border.subtle" = "#010409cc" +"canvas.default" = "#ffffff" +"canvas.inset" = "#ffffff" +"canvas.overlay" = "#ffffff" +"canvas.subtle" = "#e7ecf0" +"closed.emphasis" = "#a0111f" +"closed.fg" = "#a0111f" +"closed.muted" = "#ee5a5d66" +"closed.subtle" = "#fff0ee" +"danger.emphasis" = "#a0111f" +"danger.fg" = "#a0111f" +"danger.muted" = "#ee5a5d" +"danger.subtle" = "#fff0ee" +"done.emphasis" = "#622cbc" +"done.fg" = "#622cbc" +"done.muted" = "#a371f7" +"done.subtle" = "#faf0fe" +"fg.default" = "#0e1116" +"fg.muted" = "#0e1116" +"fg.onEmphasis" = "#ffffff" +"fg.subtle" = "#66707b" +"neutral.emphasis" = "#66707b" +"neutral.emphasisPlus" = "#0e1116" +"neutral.muted" = "#acb6c033" +"neutral.subtle" = "#e7ecf0" +"open.emphasis" = "#117f32" +"open.fg" = "#055d20" +"open.muted" = "#26a14866" +"open.subtle" = "#d2fedb" +"scale.black" = "#010409" +"scale.blue.0" = "#dff7ff" +"scale.blue.1" = "#9cd7ff" +"scale.blue.2" = "#67b3fd" +"scale.blue.3" = "#368cf9" +"scale.blue.4" = "#1168e3" +"scale.blue.5" = "#0349b4" +"scale.blue.6" = "#023b95" +"scale.blue.7" = "#022f7a" +"scale.blue.8" = "#032563" +"scale.blue.9" = "#021a4a" +"scale.coral.0" = "#fff0ed" +"scale.coral.1" = "#ffc2b6" +"scale.coral.2" = "#ff8f7e" +"scale.coral.3" = "#ef5b48" +"scale.coral.4" = "#cd3425" +"scale.coral.5" = "#9f1710" +"scale.coral.6" = "#870706" +"scale.coral.7" = "#6f0107" +"scale.coral.8" = "#5b0002" +"scale.coral.9" = "#430200" +"scale.gray.0" = "#ffffff" +"scale.gray.1" = "#e7ecf0" +"scale.gray.2" = "#ced5dc" +"scale.gray.3" = "#acb6c0" +"scale.gray.4" = "#88929d" +"scale.gray.5" = "#66707b" +"scale.gray.6" = "#4b535d" +"scale.gray.7" = "#343b43" +"scale.gray.8" = "#20252c" +"scale.gray.9" = "#0e1116" +"scale.green.0" = "#d2fedb" +"scale.green.1" = "#82e596" +"scale.green.2" = "#43c663" +"scale.green.3" = "#26a148" +"scale.green.4" = "#117f32" +"scale.green.5" = "#055d20" +"scale.green.6" = "#024c1a" +"scale.green.7" = "#013d14" +"scale.green.8" = "#003110" +"scale.green.9" = "#00230b" +"scale.orange.0" = "#fff2d5" +"scale.orange.1" = "#ffc67b" +"scale.orange.2" = "#f99636" +"scale.orange.3" = "#dc6d1a" +"scale.orange.4" = "#b45105" +"scale.orange.5" = "#873800" +"scale.orange.6" = "#702c00" +"scale.orange.7" = "#5b2300" +"scale.orange.8" = "#491b00" +"scale.orange.9" = "#361200" +"scale.pink.0" = "#feeff7" +"scale.pink.1" = "#ffbde0" +"scale.pink.2" = "#fc87ca" +"scale.pink.3" = "#ed4baf" +"scale.pink.4" = "#c9248e" +"scale.pink.5" = "#971368" +"scale.pink.6" = "#7d0c57" +"scale.pink.7" = "#660847" +"scale.pink.8" = "#53043a" +"scale.pink.9" = "#3e022b" +"scale.purple.0" = "#faf0fe" +"scale.purple.1" = "#e0c5ff" +"scale.purple.2" = "#c49bff" +"scale.purple.3" = "#a371f7" +"scale.purple.4" = "#844ae7" +"scale.purple.5" = "#622cbc" +"scale.purple.6" = "#512598" +"scale.purple.7" = "#411d7b" +"scale.purple.8" = "#341763" +"scale.purple.9" = "#260f49" +"scale.red.0" = "#fff0ee" +"scale.red.1" = "#ffc1bc" +"scale.red.2" = "#ff8e8a" +"scale.red.3" = "#ee5a5d" +"scale.red.4" = "#d5232c" +"scale.red.5" = "#a0111f" +"scale.red.6" = "#86061d" +"scale.red.7" = "#6e011a" +"scale.red.8" = "#5a0016" +"scale.red.9" = "#430011" +"scale.white" = "#ffffff" +"scale.yellow.0" = "#fcf7be" +"scale.yellow.1" = "#f0ce53" +"scale.yellow.2" = "#d5a824" +"scale.yellow.3" = "#b58407" +"scale.yellow.4" = "#956400" +"scale.yellow.5" = "#744500" +"scale.yellow.6" = "#603700" +"scale.yellow.7" = "#4e2c00" +"scale.yellow.8" = "#3f2200" +"scale.yellow.9" = "#2e1800" +"severe.emphasis" = "#873800" +"severe.fg" = "#873800" +"severe.muted" = "#dc6d1a" +"severe.subtle" = "#fff2d5" +"sponsors.emphasis" = "#971368" +"sponsors.fg" = "#971368" +"sponsors.muted" = "#ed4baf" +"sponsors.subtle" = "#feeff7" +"success.emphasis" = "#055d20" +"success.fg" = "#055d20" +"success.muted" = "#26a148" +"success.subtle" = "#d2fedb" diff --git a/runtime/themes/github_light_tritanopia.toml b/runtime/themes/github_light_tritanopia.toml new file mode 100644 index 000000000..646539ba0 --- /dev/null +++ b/runtime/themes/github_light_tritanopia.toml @@ -0,0 +1,151 @@ +# Author : OwOSwordsman +# An unofficial GitHub theme, generated using colors from: https://primer.style/primitives/colors +# Credit goes to the original VSCode theme: https://github.com/primer/github-vscode-theme +# Only the Light and Dark variants were specifically tested + +inherits = "github_light" + +[palette] +"accent.emphasis" = "#0969da" +"accent.fg" = "#0969da" +"accent.muted" = "#54aeff66" +"accent.subtle" = "#ddf4ff" +"attention.emphasis" = "#bf8700" +"attention.fg" = "#9a6700" +"attention.muted" = "#d4a72c66" +"attention.subtle" = "#fff8c5" +"border.default" = "#d0d7de" +"border.muted" = "#d8dee4" +"border.subtle" = "#1b1f2426" +"canvas.default" = "#ffffff" +"canvas.inset" = "#f6f8fa" +"canvas.overlay" = "#ffffff" +"canvas.subtle" = "#f6f8fa" +"closed.emphasis" = "#6e7781" +"closed.fg" = "#6e7781" +"closed.muted" = "#afb8c166" +"closed.subtle" = "#f6f8fa" +"danger.emphasis" = "#cf222e" +"danger.fg" = "#cf222e" +"danger.muted" = "#ff818266" +"danger.subtle" = "#ffebe9" +"done.emphasis" = "#8250df" +"done.fg" = "#8250df" +"done.muted" = "#c297ff66" +"done.subtle" = "#fbefff" +"fg.default" = "#24292f" +"fg.muted" = "#57606a" +"fg.onEmphasis" = "#ffffff" +"fg.subtle" = "#6e7781" +"neutral.emphasis" = "#6e7781" +"neutral.emphasisPlus" = "#24292f" +"neutral.muted" = "#afb8c133" +"neutral.subtle" = "#eaeef280" +"open.emphasis" = "#fa4549" +"open.fg" = "#cf222e" +"open.muted" = "#ff818266" +"open.subtle" = "#ffebe9" +"scale.black" = "#1b1f24" +"scale.blue.0" = "#ddf4ff" +"scale.blue.1" = "#b6e3ff" +"scale.blue.2" = "#80ccff" +"scale.blue.3" = "#54aeff" +"scale.blue.4" = "#218bff" +"scale.blue.5" = "#0969da" +"scale.blue.6" = "#0550ae" +"scale.blue.7" = "#033d8b" +"scale.blue.8" = "#0a3069" +"scale.blue.9" = "#002155" +"scale.coral.0" = "#fff0eb" +"scale.coral.1" = "#ffd6cc" +"scale.coral.2" = "#ffb4a1" +"scale.coral.3" = "#fd8c73" +"scale.coral.4" = "#ec6547" +"scale.coral.5" = "#c4432b" +"scale.coral.6" = "#9e2f1c" +"scale.coral.7" = "#801f0f" +"scale.coral.8" = "#691105" +"scale.coral.9" = "#510901" +"scale.gray.0" = "#f6f8fa" +"scale.gray.1" = "#eaeef2" +"scale.gray.2" = "#d0d7de" +"scale.gray.3" = "#afb8c1" +"scale.gray.4" = "#8c959f" +"scale.gray.5" = "#6e7781" +"scale.gray.6" = "#57606a" +"scale.gray.7" = "#424a53" +"scale.gray.8" = "#32383f" +"scale.gray.9" = "#24292f" +"scale.green.0" = "#ddf4ff" +"scale.green.1" = "#b6e3ff" +"scale.green.2" = "#80ccff" +"scale.green.3" = "#54aeff" +"scale.green.4" = "#218bff" +"scale.green.5" = "#0969da" +"scale.green.6" = "#0550ae" +"scale.green.7" = "#033d8b" +"scale.green.8" = "#0a3069" +"scale.green.9" = "#002155" +"scale.orange.0" = "#ffebe9" +"scale.orange.1" = "#ffcecb" +"scale.orange.2" = "#ffaba8" +"scale.orange.3" = "#ff8182" +"scale.orange.4" = "#fa4549" +"scale.orange.5" = "#cf222e" +"scale.orange.6" = "#a40e26" +"scale.orange.7" = "#82071e" +"scale.orange.8" = "#660018" +"scale.orange.9" = "#4c0014" +"scale.pink.0" = "#ffeff7" +"scale.pink.1" = "#ffd3eb" +"scale.pink.2" = "#ffadda" +"scale.pink.3" = "#ff80c8" +"scale.pink.4" = "#e85aad" +"scale.pink.5" = "#bf3989" +"scale.pink.6" = "#99286e" +"scale.pink.7" = "#772057" +"scale.pink.8" = "#611347" +"scale.pink.9" = "#4d0336" +"scale.purple.0" = "#fbefff" +"scale.purple.1" = "#ecd8ff" +"scale.purple.2" = "#d8b9ff" +"scale.purple.3" = "#c297ff" +"scale.purple.4" = "#a475f9" +"scale.purple.5" = "#8250df" +"scale.purple.6" = "#6639ba" +"scale.purple.7" = "#512a97" +"scale.purple.8" = "#3e1f79" +"scale.purple.9" = "#2e1461" +"scale.red.0" = "#ffebe9" +"scale.red.1" = "#ffcecb" +"scale.red.2" = "#ffaba8" +"scale.red.3" = "#ff8182" +"scale.red.4" = "#fa4549" +"scale.red.5" = "#cf222e" +"scale.red.6" = "#a40e26" +"scale.red.7" = "#82071e" +"scale.red.8" = "#660018" +"scale.red.9" = "#4c0014" +"scale.white" = "#ffffff" +"scale.yellow.0" = "#fff8c5" +"scale.yellow.1" = "#fae17d" +"scale.yellow.2" = "#eac54f" +"scale.yellow.3" = "#d4a72c" +"scale.yellow.4" = "#bf8700" +"scale.yellow.5" = "#9a6700" +"scale.yellow.6" = "#7d4e00" +"scale.yellow.7" = "#633c01" +"scale.yellow.8" = "#4d2d00" +"scale.yellow.9" = "#3b2300" +"severe.emphasis" = "#cf222e" +"severe.fg" = "#cf222e" +"severe.muted" = "#ff818266" +"severe.subtle" = "#ffebe9" +"sponsors.emphasis" = "#bf3989" +"sponsors.fg" = "#bf3989" +"sponsors.muted" = "#ff80c866" +"sponsors.subtle" = "#ffeff7" +"success.emphasis" = "#218bff" +"success.fg" = "#0969da" +"success.muted" = "#54aeff66" +"success.subtle" = "#ddf4ff"