-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
windows-terminal-theme: generate using lua script
- Loading branch information
Showing
18 changed files
with
205 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
local palette = require('github-theme.palette') | ||
local util = require('github-theme.util') | ||
|
||
---Generate github theme for windows terminal. | ||
---@param cfg gt.ConfigSchema | ||
return function(cfg) | ||
local colors = palette.get_palette(cfg.theme_style) | ||
|
||
local name = 'Github ' .. cfg.theme_style:lower():gsub('^%l', string.upper) | ||
local windows_terminal = util.template([[ | ||
{ | ||
"name": "]] .. name .. [[", | ||
"background": "${bg}", | ||
"foreground": "${fg_term}", | ||
"cursorColor": "${cursor}", | ||
"selectionBackground": "${bg_visual_selection}", | ||
"black": "${black}", | ||
"brightBlack": "${bright_black}", | ||
"white": "${white}", | ||
"brightWhite": "${bright_white}", | ||
"red": "${red}", | ||
"brightRed": "${bright_red}", | ||
"green": "${green}", | ||
"brightGreen": "${bright_green}", | ||
"yellow": "${yellow}", | ||
"brightYellow": "${bright_yellow}", | ||
"blue": "${blue}", | ||
"brightBlue": "${bright_blue}", | ||
"purple": "${magenta}", | ||
"brightPurple": "${bright_magenta}", | ||
"cyan": "${cyan}", | ||
"brightCyan": "${bright_cyan}" | ||
}]], colors) | ||
return windows_terminal | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "Github Dark", | ||
"background": "#24292e", | ||
"foreground": "#d1d5da", | ||
"cursorColor": "#c8e1ff", | ||
"selectionBackground": "#284566", | ||
"black": "#586069", | ||
"brightBlack": "#959da5", | ||
"white": "#d1d5da", | ||
"brightWhite": "#fafbfc", | ||
"red": "#ea4a5a", | ||
"brightRed": "#f97583", | ||
"green": "#34d058", | ||
"brightGreen": "#85e89d", | ||
"yellow": "#ffea7f", | ||
"brightYellow": "#ffea7f", | ||
"blue": "#2188ff", | ||
"brightBlue": "#79b8ff", | ||
"purple": "#b392f0", | ||
"brightPurple": "#b392f0", | ||
"cyan": "#39c5cf", | ||
"brightCyan": "#56d4dd" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "Github Dark_colorblind", | ||
"background": "#0d1117", | ||
"foreground": "#b3b1ad", | ||
"cursorColor": "#73b7f2", | ||
"selectionBackground": "#163356", | ||
"black": "#484f58", | ||
"brightBlack": "#6e7681", | ||
"white": "#b1bac4", | ||
"brightWhite": "#f0f6fc", | ||
"red": "#ff7b72", | ||
"brightRed": "#ffa198", | ||
"green": "#3fb950", | ||
"brightGreen": "#56d364", | ||
"yellow": "#d29922", | ||
"brightYellow": "#e3b341", | ||
"blue": "#58a6ff", | ||
"brightBlue": "#79c0ff", | ||
"purple": "#bc8cff", | ||
"brightPurple": "#d2a8ff", | ||
"cyan": "#39c5cf", | ||
"brightCyan": "#56d4dd" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "Github Dark_default", | ||
"background": "#0d1117", | ||
"foreground": "#b3b1ad", | ||
"cursorColor": "#73b7f2", | ||
"selectionBackground": "#163356", | ||
"black": "#484f58", | ||
"brightBlack": "#6e7681", | ||
"white": "#b1bac4", | ||
"brightWhite": "#f0f6fc", | ||
"red": "#ff7b72", | ||
"brightRed": "#ffa198", | ||
"green": "#3fb950", | ||
"brightGreen": "#56d364", | ||
"yellow": "#d29922", | ||
"brightYellow": "#e3b341", | ||
"blue": "#58a6ff", | ||
"brightBlue": "#79c0ff", | ||
"purple": "#bc8cff", | ||
"brightPurple": "#d2a8ff", | ||
"cyan": "#39c5cf", | ||
"brightCyan": "#56d4dd" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "Github Dimmed", | ||
"background": "#22272e", | ||
"foreground": "#768390", | ||
"cursorColor": "#6cb6ff", | ||
"selectionBackground": "#264466", | ||
"black": "#545d68", | ||
"brightBlack": "#636e7b", | ||
"white": "#909dab", | ||
"brightWhite": "#cdd9e5", | ||
"red": "#f47067", | ||
"brightRed": "#ff938a", | ||
"green": "#57ab5a", | ||
"brightGreen": "#6bc46d", | ||
"yellow": "#c69026", | ||
"brightYellow": "#daaa3f", | ||
"blue": "#539bf5", | ||
"brightBlue": "#6cb6ff", | ||
"purple": "#b083f0", | ||
"brightPurple": "#dcbdfb", | ||
"cyan": "#39c5cf", | ||
"brightCyan": "#56d4dd" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "Github Light", | ||
"background": "#ffffff", | ||
"foreground": "#24292f", | ||
"cursorColor": "#044289", | ||
"selectionBackground": "#dbe9f9", | ||
"black": "#24292e", | ||
"brightBlack": "#959da5", | ||
"white": "#6a737d", | ||
"brightWhite": "#d1d5da", | ||
"red": "#d73a49", | ||
"brightRed": "#cb2431", | ||
"green": "#28a745", | ||
"brightGreen": "#22863a", | ||
"yellow": "#dbab09", | ||
"brightYellow": "#b08800", | ||
"blue": "#0366d6", | ||
"brightBlue": "#005cc5", | ||
"purple": "#5a32a3", | ||
"brightPurple": "#5a32a3", | ||
"cyan": "#0598bc", | ||
"brightCyan": "#3192aa" | ||
} |
Oops, something went wrong.