mirror of
https://github.com/craftzdog/solarized-osaka.nvim.git
synced 2026-09-10 07:16:21 -04:00
perf(reassign): slowly replace all reassign colors with theme colors
This commit is contained in:
parent
d4dfdf3e38
commit
1fac64a23c
|
|
@ -1,24 +1,24 @@
|
|||
local c = require("solarized-osaka.colors").setup({ transform = true })
|
||||
|
||||
local M = {
|
||||
normal = { bg = c.none, fg = c.fg_dark },
|
||||
normal = { bg = c.none, fg = c.base0 },
|
||||
|
||||
ellipsis = { fg = c.dark5 },
|
||||
separator = { fg = c.dark5 },
|
||||
modified = { fg = c.warning },
|
||||
|
||||
dirname = { fg = c.dark5 },
|
||||
basename = { fg = c.fg_dark, bold = true },
|
||||
context = { fg = c.fg_dark },
|
||||
basename = { fg = c.base0, bold = true },
|
||||
context = { fg = c.base0 },
|
||||
|
||||
context_file = { fg = c.fg_dark },
|
||||
context_file = { fg = c.base0 },
|
||||
context_module = { fg = c.yellow },
|
||||
context_namespace = { fg = c.yellow },
|
||||
context_package = { fg = c.blue },
|
||||
context_class = { fg = c.orange },
|
||||
context_method = { fg = c.blue },
|
||||
context_property = { fg = c.green1 },
|
||||
context_field = { fg = c.green1 },
|
||||
context_property = { fg = c.green500 },
|
||||
context_field = { fg = c.green500 },
|
||||
context_constructor = { fg = c.blue },
|
||||
context_enum = { fg = c.orange },
|
||||
context_interface = { fg = c.orange },
|
||||
|
|
@ -32,11 +32,11 @@ local M = {
|
|||
context_object = { fg = c.orange },
|
||||
context_key = { fg = c.purple },
|
||||
context_null = { fg = c.blue1 },
|
||||
context_enum_member = { fg = c.green1 },
|
||||
context_enum_member = { fg = c.green500 },
|
||||
context_struct = { fg = c.orange },
|
||||
context_event = { fg = c.orange },
|
||||
context_operator = { fg = c.green1 },
|
||||
context_type_parameter = { fg = c.green1 },
|
||||
context_operator = { fg = c.green500 },
|
||||
context_type_parameter = { fg = c.green500 },
|
||||
}
|
||||
|
||||
return M
|
||||
|
|
|
|||
|
|
@ -33,23 +33,23 @@ tab.selected.fg=${black}
|
|||
tab.selected.bg=${blue}
|
||||
|
||||
statusline_default.fg=${fg}
|
||||
statusline_default.bg=${bg_dark}
|
||||
statusline_default.bg=${base03}
|
||||
statusline_error.fg=${error}
|
||||
statusline_success.fg=${green1}
|
||||
statusline_success.fg=${green500}
|
||||
|
||||
*error.bold=true
|
||||
*error.fg=${error}
|
||||
*warning.fg=${warning}
|
||||
*success.fg=${green1}
|
||||
*success.fg=${green500}
|
||||
|
||||
dirlist_*.bg=${bg}
|
||||
dirlist_*.fg=${fg}
|
||||
dirlist_*.selected.bg=${bg_visual}
|
||||
dirlist_*.selected.bg=${blue700}
|
||||
dirlist_*.selected.fg=${fg}
|
||||
|
||||
msglist_*.bg=${bg}
|
||||
msglist_*.fg=${fg}
|
||||
msglist_*.selected.bg=${bg_visual}
|
||||
msglist_*.selected.bg=${blue700}
|
||||
#msglist_*.selected.fg=${fg}
|
||||
msglist_unread.bold=true
|
||||
msglist_unread.fg=${blue}
|
||||
|
|
@ -77,14 +77,14 @@ spinner.bg=${bg}
|
|||
spinner.fg=${fg}
|
||||
|
||||
selector_focused.bold=false
|
||||
selector_focused.bg=${bg_visual}
|
||||
selector_focused.bg=${blue700}
|
||||
selector_focused.fg=${fg}
|
||||
selector_chooser.bold=false
|
||||
selector_chooser.bg=${bg_visual}
|
||||
selector_chooser.bg=${blue700}
|
||||
selector_chooser.fg=${fg}
|
||||
default.selected.bold=false
|
||||
default.selected.fg=${fg}
|
||||
default.selected.bg=${bg_visual}
|
||||
default.selected.bg=${blue700}
|
||||
|
||||
[viewer]
|
||||
url.underline=true
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ colors:
|
|||
blue: '${blue}'
|
||||
magenta: '${magenta}'
|
||||
cyan: '${cyan}'
|
||||
white: '${fg_dark}'
|
||||
white: '${base0}'
|
||||
|
||||
# Bright colors
|
||||
bright:
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ local util = require("solarized-osaka.util")
|
|||
|
||||
local M = {}
|
||||
-- TODO:Assign colors
|
||||
--bg_dark1
|
||||
--base031
|
||||
--blue0
|
||||
--dark5
|
||||
--blue1
|
||||
|
|
@ -14,9 +14,9 @@ function M.generate(colors)
|
|||
.theme-light,
|
||||
.theme-dark {
|
||||
--header-primary: ${fg};
|
||||
--header-secondary: ${fg_dark};
|
||||
--header-secondary: ${base0};
|
||||
--text-normal: ${fg};
|
||||
--text-muted: ${fg_dark};
|
||||
--text-muted: ${base0};
|
||||
--text-link: ${blue};
|
||||
--text-link-low-saturation: ${blue5};
|
||||
--text-positive: ${hint};
|
||||
|
|
@ -25,24 +25,24 @@ function M.generate(colors)
|
|||
--text-brand: ${blue};
|
||||
--background-primary: ${bg};
|
||||
--bg-base-primary: ${bg};
|
||||
--background-secondary: ${bg_dark};
|
||||
--background-secondary-alt: ${bg_dark};
|
||||
--background-secondary: ${base03};
|
||||
--background-secondary-alt: ${base03};
|
||||
--background-tertiary: ${bg_dark1};
|
||||
--background-accent: ${blue0};
|
||||
--background-floating: ${bg_float};
|
||||
--background-nested-floating: ${bg_dark};
|
||||
--background-nested-floating: ${base03};
|
||||
--background-mobile-primary: ${bg};
|
||||
--background-mobile-secondary: ${bg_dark};
|
||||
--bg-base-secondary: ${bg_dark};
|
||||
--bg-surface-raised: ${bg_dark};
|
||||
--background-mobile-secondary: ${base03};
|
||||
--bg-base-secondary: ${base03};
|
||||
--bg-surface-raised: ${base03};
|
||||
--home-background: ${bg};
|
||||
--chat-background: ${bg};
|
||||
--chat-border: ${bg_highlight};
|
||||
--chat-input-container-background: ${bg};
|
||||
--background-modifier-hover: ${dark3}26;
|
||||
--background-modifier-selected: ${dark3}32;
|
||||
--background-modifier-accent: ${dark3}42;
|
||||
--background-modifier-active: ${dark3}2B;
|
||||
--background-modifier-hover: ${base02}26;
|
||||
--background-modifier-selected: ${base02}32;
|
||||
--background-modifier-accent: ${base02}42;
|
||||
--background-modifier-active: ${base02}2B;
|
||||
--info-positive-background: ${green}26;
|
||||
--info-positive-foreground: ${hint};
|
||||
--info-positive-text: ${fg};
|
||||
|
|
@ -101,10 +101,10 @@ function M.generate(colors)
|
|||
--button-danger-background-active: ${blue5};
|
||||
--button-danger-background-disabled: ${red};
|
||||
--button-positive-background: ${hint};
|
||||
--button-positive-background-hover: ${green1};
|
||||
--button-positive-background-hover: ${green500};
|
||||
--button-positive-background-active: ${green2};
|
||||
--button-positive-background-disabled: ${hint};
|
||||
--button-secondary-background: ${dark3};
|
||||
--button-secondary-background: ${base02};
|
||||
--button-secondary-background-hover: ${base01};
|
||||
--button-secondary-background-active: ${base01};
|
||||
--button-secondary-background-disabled: ${dark5};
|
||||
|
|
@ -123,7 +123,7 @@ function M.generate(colors)
|
|||
--button-outline-positive-background-hover: ${green};
|
||||
--button-outline-positive-text-hover: ${bg};
|
||||
--button-outline-positive-border-hover: ${green};
|
||||
--button-outline-positive-background-active: ${green1};
|
||||
--button-outline-positive-background-active: ${green500};
|
||||
--button-outline-positive-text-active: ${bg};
|
||||
--button-outline-positive-border-active: ${green};
|
||||
--button-outline-brand-text: ${fg};
|
||||
|
|
@ -136,14 +136,14 @@ function M.generate(colors)
|
|||
--button-outline-brand-text-active: ${bg};
|
||||
--button-outline-brand-border-active: ${blue1};
|
||||
--button-outline-primary-text: ${fg};
|
||||
--button-outline-primary-border: ${dark3};
|
||||
--button-outline-primary-border: ${base02};
|
||||
--button-outline-primary-background: transparent;
|
||||
--button-outline-primary-background-hover: ${dark3};
|
||||
--button-outline-primary-background-hover: ${base02};
|
||||
--button-outline-primary-text-hover: ${bg};
|
||||
--button-outline-primary-border-hover: ${dark3};
|
||||
--button-outline-primary-background-active: ${dark3};
|
||||
--button-outline-primary-border-hover: ${base02};
|
||||
--button-outline-primary-background-active: ${base02};
|
||||
--button-outline-primary-text-active: ${bg};
|
||||
--button-outline-primary-border-active: ${dark3};
|
||||
--button-outline-primary-border-active: ${base02};
|
||||
--modal-background: ${bg};
|
||||
--modal-footer-background: ${bg_highlight};
|
||||
--scrollbar-thin-thumb: ${blue};
|
||||
|
|
@ -161,29 +161,29 @@ function M.generate(colors)
|
|||
--mention-background: ${terminal_black};
|
||||
--background-mentioned: ${yellow}19;
|
||||
--background-mentioned-hover: ${yellow}14;
|
||||
--background-message-hover: ${bg_dark}3F;
|
||||
--background-message-hover: ${base03}3F;
|
||||
--background-message-automod: ${magenta}0C;
|
||||
--background-message-automod-hover: ${magenta}19;
|
||||
--background-message-highlight: ${blue}14;
|
||||
--background-message-highlight-hover: ${blue}0F;
|
||||
--channels-default: ${fg_dark};
|
||||
--channels-default: ${base0};
|
||||
--channel-icon: ${blue}99;
|
||||
--channel-text-area-placeholder: ${dark3}7F;
|
||||
--channeltextarea-background: ${bg_dark};
|
||||
--channel-text-area-placeholder: ${base02}7F;
|
||||
--channeltextarea-background: ${base03};
|
||||
--activity-card-background: ${bg_highlight};
|
||||
--textbox-markdown-syntax: ${fg};
|
||||
--spoiler-revealed-background: ${bg_highlight};
|
||||
--spoiler-hidden-background: ${comment};
|
||||
--android-navigation-bar-background: ${bg_highlight};
|
||||
--android-ripple: ${black}4C;
|
||||
--bg-mod-faint: ${bg_dark};
|
||||
--bg-mod-faint: ${base03};
|
||||
--bg-mod-subtle: ${terminal_black};
|
||||
--focus-primary: ${blue};
|
||||
--interactive-normal: ${fg};
|
||||
--interactive-muted: ${dark3}4C;
|
||||
--interactive-muted: ${base02}4C;
|
||||
--interactive-hover: ${fg};
|
||||
--interactive-active: ${fg};
|
||||
--search-popout-option-non-text-color: ${fg_dark};
|
||||
--search-popout-option-non-text-color: ${base0};
|
||||
--__spoiler-background-color--hidden: ${blue7};
|
||||
--__spoiler-warning-background-color: ${purple};
|
||||
}
|
||||
|
|
@ -218,12 +218,12 @@ rect[mask="url(#svg-mask-status-offline)"] {
|
|||
:root {
|
||||
/* ---- Default Colors -- */
|
||||
--background: var(--background-secondary);
|
||||
--text-default: ${fg_dark};
|
||||
--text-default: ${base0};
|
||||
--color-1: ${red};
|
||||
--color-2: ${orange};
|
||||
--color-3: ${yellow};
|
||||
--color-4: ${green};
|
||||
--color-5: ${green1};
|
||||
--color-5: ${green500};
|
||||
--color-6: ${blue6};
|
||||
--color-7: ${blue2};
|
||||
--color-8: ${cyan};
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ function M.generate(colors)
|
|||
# For more configuraion options see https://github.com/dunst-project/dunst/blob/master/dunstrc
|
||||
|
||||
[urgency_low]
|
||||
background = "${bg_dark}"
|
||||
background = "${base03}"
|
||||
foreground = "${fg}"
|
||||
frame_color = "${fg}"
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ function M.generate(colors)
|
|||
[[
|
||||
# solarized-osaka Color Palette
|
||||
set -l foreground ${fg}
|
||||
set -l selection ${bg_visual}
|
||||
set -l selection ${blue700}
|
||||
set -l comment ${comment}
|
||||
set -l red ${red}
|
||||
set -l orange ${orange}
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ function M.generate(colors)
|
|||
fish_color_error ${red}
|
||||
fish_color_param ${purple}
|
||||
fish_color_comment ${comment}
|
||||
fish_color_selection --background=${bg_visual}
|
||||
fish_color_search_match --background=${bg_visual}
|
||||
fish_color_selection --background=${blue700}
|
||||
fish_color_search_match --background=${blue700}
|
||||
fish_color_operator ${green}
|
||||
fish_color_escape ${magenta}
|
||||
fish_color_autosuggestion ${comment}
|
||||
|
|
@ -36,7 +36,7 @@ function M.generate(colors)
|
|||
fish_pager_color_prefix ${cyan}
|
||||
fish_pager_color_completion ${fg}
|
||||
fish_pager_color_description ${comment}
|
||||
fish_pager_color_selected_background --background=${bg_visual}
|
||||
fish_pager_color_selected_background --background=${blue700}
|
||||
]],
|
||||
fishColors
|
||||
)
|
||||
|
|
|
|||
|
|
@ -14,14 +14,14 @@ function M.generate(colors)
|
|||
local foot = util.template(
|
||||
[[
|
||||
[cursor]
|
||||
color=${fg} ${bg_visual}
|
||||
color=${fg} ${blue700}
|
||||
|
||||
[colors]
|
||||
foreground=${fg}
|
||||
background=${bg}
|
||||
selection-foreground=${fg}
|
||||
selection-background=${bg_visual}
|
||||
urls=${green1}
|
||||
selection-background=${blue700}
|
||||
urls=${green500}
|
||||
|
||||
regular0=${black}
|
||||
regular1=${red}
|
||||
|
|
@ -30,7 +30,7 @@ regular3=${yellow}
|
|||
regular4=${blue}
|
||||
regular5=${magenta}
|
||||
regular6=${cyan}
|
||||
regular7=${fg_dark}
|
||||
regular7=${base0}
|
||||
|
||||
bright0=${terminal_black}
|
||||
bright1=${red}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ palette = 15=${base4}
|
|||
background = ${bg}
|
||||
foreground = ${fg}
|
||||
cursor-color = ${fg}
|
||||
selection-background = ${bg_visual}
|
||||
selection-background = ${blue700}
|
||||
selection-foreground = ${fg}
|
||||
]],
|
||||
colors
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ function M.generate(colors)
|
|||
disabled_fg: ${comment}
|
||||
diff_line_add: ${green}
|
||||
diff_line_delete: ${red}
|
||||
diff_file_added: ${green1}
|
||||
diff_file_added: ${green500}
|
||||
diff_file_removed: ${red1}
|
||||
diff_file_moved: ${magenta2}
|
||||
diff_file_modified: ${yellow}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ local M = {}
|
|||
--- @type table<string, {ext:string, url:string, label:string}>
|
||||
-- stylua: ignore
|
||||
M.extras = {
|
||||
aerc = { ext = "ini", url = "https://git.sr.ht/~rjarry/aerc/", label = "Aerc" },
|
||||
-- aerc = { ext = "ini", url = "https://git.sr.ht/~rjarry/aerc/", label = "Aerc" },
|
||||
-- alacritty = { ext = "toml", url = "https://github.com/alacritty/alacritty", label = "Alacritty" }, delta = { ext = "gitconfig", url = "https://github.com/dandavison/delta", label = "Delta" },
|
||||
-- discord = { ext = "css", url ="https://betterdiscord.app/", label = "(Better-)Discord"},
|
||||
-- dunst = { ext = "dunstrc", url = "https://dunst-project.org/", label = "Dunst" },
|
||||
|
|
|
|||
|
|
@ -200,13 +200,13 @@ function M.generate(colors)
|
|||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>${fg_dark.b}</real>
|
||||
<real>${base0.b}</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>${fg_dark.g}</real>
|
||||
<real>${base0.g}</real>
|
||||
<key>Red Component</key>
|
||||
<real>${fg_dark.r}</real>
|
||||
<real>${base0.r}</real>
|
||||
</dict>
|
||||
<key>Ansi 8 Color</key>
|
||||
<dict>
|
||||
|
|
@ -330,13 +330,13 @@ function M.generate(colors)
|
|||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>${green1.b}</real>
|
||||
<real>${green500.b}</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>${green1.g}</real>
|
||||
<real>${green500.g}</real>
|
||||
<key>Red Component</key>
|
||||
<real>${green1.r}</real>
|
||||
<real>${green500.r}</real>
|
||||
</dict>
|
||||
<key>Selected Text Color</key>
|
||||
<dict>
|
||||
|
|
@ -356,13 +356,13 @@ function M.generate(colors)
|
|||
<key>Alpha Component</key>
|
||||
<real>1</real>
|
||||
<key>Blue Component</key>
|
||||
<real>${bg_visual.b}</real>
|
||||
<real>${blue700.b}</real>
|
||||
<key>Color Space</key>
|
||||
<string>sRGB</string>
|
||||
<key>Green Component</key>
|
||||
<real>${bg_visual.g}</real>
|
||||
<real>${blue700.g}</real>
|
||||
<key>Red Component</key>
|
||||
<real>${bg_visual.r}</real>
|
||||
<real>${blue700.r}</real>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>]],
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ gui:
|
|||
optionsTextColor:
|
||||
- "${blue}"
|
||||
selectedLineBgColor:
|
||||
- "${bg_visual}"
|
||||
- "${blue700}"
|
||||
cherryPickedCommitFgColor:
|
||||
- "${blue}"
|
||||
cherryPickedCommitBgColor:
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ style:
|
|||
name: ${_colors_name}
|
||||
body:
|
||||
fgColor: '${fg}'
|
||||
bgColor: '${bg_dark}'
|
||||
secondaryTextColor: '${fg_dark}'
|
||||
bgColor: '${base03}'
|
||||
secondaryTextColor: '${base0}'
|
||||
tertiaryTextColor: '${base02}'
|
||||
borderColor: '${base01}'
|
||||
stat_table:
|
||||
|
|
@ -20,7 +20,7 @@ style:
|
|||
proc_table:
|
||||
fgColor: '${blue}'
|
||||
fgWarning: '${yellow}'
|
||||
fgPending: '${dark3}'
|
||||
fgPending: '${base02}'
|
||||
fgCompleted: '${green}'
|
||||
fgError: '${red1}'
|
||||
headerFgColor: '${fg}'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ local M = {}
|
|||
|
||||
--- @param colors ColorScheme
|
||||
function M.generate(colors)
|
||||
return util.template("${border},${bg_highlight},${magenta},${bg_visual}", colors)
|
||||
return util.template("${border},${bg_highlight},${magenta},${blue700}", colors)
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ M.template = [=[
|
|||
[[themes]]
|
||||
name = "${_style_name}"
|
||||
[themes.palette]
|
||||
background = "${bg_dark}"
|
||||
foreground = "${fg_dark}"
|
||||
background = "${base03}"
|
||||
foreground = "${base0}"
|
||||
black = "${terminal_black}"
|
||||
red = "${red}"
|
||||
green = "${green}"
|
||||
|
|
@ -22,7 +22,7 @@ cyan = "${cyan}"
|
|||
white = "${base04}"
|
||||
bright_black = "${bg}"
|
||||
bright_red = "${red1}"
|
||||
bright_green = "${green1}"
|
||||
bright_green = "${green500}"
|
||||
bright_yellow = "${orange}"
|
||||
bright_blue = "${blue2}"
|
||||
bright_magenta = "${magenta300}"
|
||||
|
|
|
|||
|
|
@ -384,7 +384,7 @@ M.template = [[
|
|||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>${green1}</string>
|
||||
<string>${green500}</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
|
|
@ -980,7 +980,7 @@ M.template = [[
|
|||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>${green1}</string>
|
||||
<string>${green500}</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
|
|
@ -1240,7 +1240,7 @@ M.template = [[
|
|||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>${green1}</string>
|
||||
<string>${green500}</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
|
|
@ -1341,7 +1341,7 @@ M.template = [[
|
|||
<key>settings</key>
|
||||
<dict>
|
||||
<key>foreground</key>
|
||||
<string>${green1}</string>
|
||||
<string>${green500}</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ function M.generate(colors)
|
|||
local terminator = util.template(
|
||||
[=[
|
||||
[[${_style_name}]]
|
||||
palette = "${black}:${red}:${green}:${yellow}:${blue}:${magenta}:${cyan}:${fg_dark}:${terminal_black}:${red}:${green}:${yellow}:${blue}:${magenta}:${cyan}:${purple}"
|
||||
palette = "${black}:${red}:${green}:${yellow}:${blue}:${magenta}:${cyan}:${base0}:${terminal_black}:${red}:${green}:${yellow}:${blue}:${magenta}:${cyan}:${purple}"
|
||||
background_color = "${bg}"
|
||||
foreground_color = "${fg}"
|
||||
]=],
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ function M.generate(colors)
|
|||
"${blue}",
|
||||
"${magenta}",
|
||||
"${cyan}",
|
||||
"${fg_dark}",
|
||||
"${base0}",
|
||||
"${terminal_black}",
|
||||
"${red}",
|
||||
"${green}",
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ function M.generate(colors)
|
|||
--vimium-blue: ${blue};
|
||||
--vimium-green: ${green};
|
||||
--vimium-fg: ${fg};
|
||||
--vimium-fg-dark: ${fg_dark};
|
||||
--vimium-fg-dark: ${base0};
|
||||
--vimium-border: ${border};
|
||||
--vimium-border-highlight: ${border_highlight};
|
||||
--vimium-bg: ${bg};
|
||||
|
|
|
|||
|
|
@ -12,14 +12,14 @@ background = "${bg}"
|
|||
cursor_bg = "${fg}"
|
||||
cursor_border = "${fg}"
|
||||
cursor_fg = "${bg}"
|
||||
selection_bg = "${bg_visual}"
|
||||
selection_bg = "${blue700}"
|
||||
selection_fg = "${fg}"
|
||||
|
||||
ansi = ["${black}", "${red}", "${green}", "${yellow}", "${blue}", "${magenta}", "${cyan}", "${fg_dark}"]
|
||||
ansi = ["${black}", "${red}", "${green}", "${yellow}", "${blue}", "${magenta}", "${cyan}", "${base0}"]
|
||||
brights = ["${terminal_black}", "${red}", "${green}", "${yellow}", "${blue}", "${magenta}", "${cyan}", "${fg}"]
|
||||
|
||||
[colors.tab_bar]
|
||||
inactive_tab_edge = "${bg_dark}"
|
||||
inactive_tab_edge = "${base03}"
|
||||
background = "#191b28"
|
||||
|
||||
[colors.tab_bar.active_tab]
|
||||
|
|
@ -27,15 +27,15 @@ fg_color = "${blue}"
|
|||
bg_color = "${bg}"
|
||||
|
||||
[colors.tab_bar.inactive_tab]
|
||||
bg_color = "${bg_dark}"
|
||||
fg_color = "${dark3}"
|
||||
bg_color = "${base03}"
|
||||
fg_color = "${base02}"
|
||||
|
||||
[colors.tab_bar.inactive_tab_hover]
|
||||
bg_color = "${bg_dark}"
|
||||
bg_color = "${base03}"
|
||||
fg_color = "${blue}"
|
||||
|
||||
[colors.tab_bar.new_tab_hover]
|
||||
fg_color = "${bg_dark}"
|
||||
fg_color = "${base03}"
|
||||
bg_color = "${blue}"
|
||||
|
||||
[colors.tab_bar.new_tab]
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@ function M.generate(colors)
|
|||
"name": "${_style_name}",
|
||||
"purple": "${magenta}",
|
||||
"red": "${red}",
|
||||
"selectionBackground": "${bg_visual}",
|
||||
"white": "${fg_dark}",
|
||||
"selectionBackground": "${blue700}",
|
||||
"white": "${base0}",
|
||||
"yellow": "${yellow}"
|
||||
}
|
||||
]],
|
||||
|
|
|
|||
|
|
@ -11,10 +11,10 @@ Name=solarized-osaka Colors
|
|||
ColorBackground=${bg}
|
||||
ColorForeground=${fg}
|
||||
|
||||
ColorSelectionBackground=${bg_visual}
|
||||
ColorSelectionBackground=${blue700}
|
||||
ColorSelection=${fg}
|
||||
|
||||
ColorPalette=${black};${red};${green};${yellow};${blue};${magenta};${cyan};${fg_dark};${terminal_black};${red};${green};${yellow};${blue};${magenta};${cyan};${fg}
|
||||
ColorPalette=${black};${red};${green};${yellow};${blue};${magenta};${cyan};${base0};${terminal_black};${red};${green};${yellow};${blue};${magenta};${cyan};${fg}
|
||||
]],
|
||||
colors
|
||||
)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ function M.generate(colors)
|
|||
*color4: ${blue}
|
||||
*color5: ${magenta}
|
||||
*color6: ${cyan}
|
||||
*color7: ${fg_dark}
|
||||
*color7: ${base0}
|
||||
|
||||
*color8: ${terminal_black}
|
||||
*color9: ${red}
|
||||
|
|
|
|||
|
|
@ -12,18 +12,18 @@ function M.generate(colors)
|
|||
# NOTE: can combined with tmTheme (sublime colorshceme file) for preview code highlight
|
||||
# syntect_theme = "path/to/tmTheme"
|
||||
|
||||
cwd = { fg = "${fg_dark}", italic = true }
|
||||
cwd = { fg = "${base0}", italic = true }
|
||||
|
||||
# Hovered
|
||||
hovered = { bg = "${bg_highlight}" }
|
||||
preview_hovered = { bg = "${bg_highlight}" }
|
||||
|
||||
# Find
|
||||
find_keyword = { fg = "${bg_dark}", bg = "${orange}", bold = true }
|
||||
find_keyword = { fg = "${base03}", bg = "${orange}", bold = true }
|
||||
find_position = { fg = "${blue2}", bg = "${bg_search}", bold = true }
|
||||
|
||||
# Marker
|
||||
marker_copied = { fg = "${green1}", bg = "${green1}" }
|
||||
marker_copied = { fg = "${green500}", bg = "${green500}" }
|
||||
marker_cut = { fg = "${red}", bg = "${red}" }
|
||||
marker_marked = { fg = "${magenta}", bg = "${magenta}" }
|
||||
marker_selected = { fg = "${blue}", bg = "${blue}" }
|
||||
|
|
@ -58,7 +58,7 @@ separator_close = ""
|
|||
# separator_style = { fg = "${base01}", bg = "${base01}" }
|
||||
|
||||
# Progress
|
||||
progress_label = { fg = "${fg_dark}", bold = true }
|
||||
progress_label = { fg = "${base0}", bold = true }
|
||||
progress_normal = { fg = "${bg}" }
|
||||
progress_error = { fg = "${red}" }
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ perm_sep = { fg = "${terminal_black}" }
|
|||
|
||||
[pick]
|
||||
border = { fg = "${border_highlight}" }
|
||||
active = { fg = "${fg}", bg = "${bg_visual}" }
|
||||
active = { fg = "${fg}", bg = "${blue700}" }
|
||||
inactive = { fg = "${fg}" }
|
||||
|
||||
# Input
|
||||
|
|
@ -79,12 +79,12 @@ inactive = { fg = "${fg}" }
|
|||
border = { fg = "${blue2}" }
|
||||
title = { fg = "${blue2}" }
|
||||
value = { fg = "${purple}" }
|
||||
selected = { bg = "${bg_visual}" }
|
||||
selected = { bg = "${blue700}" }
|
||||
|
||||
# Completion
|
||||
[completion]
|
||||
border = { fg = "${blue2}" }
|
||||
active = { fg = "${fg}", bg = "${bg_visual}" }
|
||||
active = { fg = "${fg}", bg = "${blue700}" }
|
||||
inactive = { fg = "${fg}" }
|
||||
|
||||
icon_file = ""
|
||||
|
|
@ -95,12 +95,12 @@ icon_command = ""
|
|||
[tasks]
|
||||
border = { fg = "${border_highlight}" }
|
||||
title = { fg = "${border_highlight}" }
|
||||
hovered = { fg = "${fg}", bg="${bg_visual}" }
|
||||
hovered = { fg = "${fg}", bg="${blue700}" }
|
||||
|
||||
# Which
|
||||
[which]
|
||||
cols = 3
|
||||
mask = { bg = "${bg_dark}" }
|
||||
mask = { bg = "${base03}" }
|
||||
cand = { fg = "${cyan}" }
|
||||
rest = { fg = "${blue}" }
|
||||
desc = { fg = "${magenta}" }
|
||||
|
|
@ -113,7 +113,7 @@ border = { fg = "${blue2}" }
|
|||
title = { fg = "${border_highlight}" }
|
||||
content = {}
|
||||
list = {}
|
||||
btn_yes = { bg = "${bg_visual}" }
|
||||
btn_yes = { bg = "${blue700}" }
|
||||
btn_no = {}
|
||||
btn_labels = [ " [Y]es ", " (N)o " ]
|
||||
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@ set notification-warning-fg "${terminal_black}"
|
|||
set notification-bg "${bg}"
|
||||
set notification-fg "${fg}"
|
||||
set completion-bg "${bg}"
|
||||
set completion-fg "${fg_dark}"
|
||||
set completion-fg "${base0}"
|
||||
set completion-group-bg "${bg}"
|
||||
set completion-group-fg "${fg_dark}"
|
||||
set completion-group-fg "${base0}"
|
||||
set completion-highlight-bg "${terminal_black}"
|
||||
set completion-highlight-fg "${fg}"
|
||||
set index-bg "${bg}"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ themes {
|
|||
blue "${blue}"
|
||||
magenta "${magenta}"
|
||||
cyan "${cyan}"
|
||||
white "${fg_dark}"
|
||||
white "${base0}"
|
||||
orange "${orange}"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@ local M = {}
|
|||
|
||||
function M.setup(colors)
|
||||
-- Additional color assignments
|
||||
colors.fg_sidebar = colors.base0
|
||||
colors.fg_gutter = colors.base01
|
||||
colors.bg_visual = colors.blue500
|
||||
colors.green1 = colors.green500
|
||||
colors.dark3 = colors.base02
|
||||
colors.fg_dark = colors.base0
|
||||
-- colors.fg_sidebar = colors.base0
|
||||
-- colors.fg_gutter = colors.base01
|
||||
-- colors.bg_visual = colors.blue700
|
||||
-- colors.green1 = colors.green500
|
||||
-- colors.dark3 = colors.base02
|
||||
-- colors.fg_dark = colors.base0
|
||||
colors.bg_dark = colors.base03
|
||||
colors.terminal_black = colors.bg
|
||||
colors.red1 = colors.red300
|
||||
|
|
|
|||
Loading…
Reference in a new issue