mirror of
https://github.com/gabehf/base46.git
synced 2026-03-17 11:16:28 -07:00
add hl groups for default & vscode statusline themes
This commit is contained in:
parent
cf83cc0689
commit
9a96b99b16
3 changed files with 226 additions and 207 deletions
209
lua/base46/integrations/default_st.lua
Normal file
209
lua/base46/integrations/default_st.lua
Normal file
|
|
@ -0,0 +1,209 @@
|
||||||
|
local colors = require("base46").get_theme_tb "base_30"
|
||||||
|
|
||||||
|
------------------------------------- default Statusline ----------------------------------------------
|
||||||
|
|
||||||
|
return {
|
||||||
|
StatusLine = {
|
||||||
|
bg = colors.statusline_bg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_gitIcons = {
|
||||||
|
fg = colors.light_grey,
|
||||||
|
bg = colors.statusline_bg,
|
||||||
|
bold = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- LSP
|
||||||
|
|
||||||
|
St_lspError = {
|
||||||
|
fg = colors.red,
|
||||||
|
bg = colors.statusline_bg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_lspWarning = {
|
||||||
|
fg = colors.yellow,
|
||||||
|
bg = colors.statusline_bg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_LspHints = {
|
||||||
|
fg = colors.purple,
|
||||||
|
bg = colors.statusline_bg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_LspInfo = {
|
||||||
|
fg = colors.green,
|
||||||
|
bg = colors.statusline_bg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_LspStatus = {
|
||||||
|
fg = colors.nord_blue,
|
||||||
|
bg = colors.statusline_bg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_LspProgress = {
|
||||||
|
fg = colors.green,
|
||||||
|
bg = colors.statusline_bg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_LspStatus_Icon = {
|
||||||
|
fg = colors.black,
|
||||||
|
bg = colors.nord_blue,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- MODES
|
||||||
|
|
||||||
|
St_NormalMode = {
|
||||||
|
bg = colors.nord_blue,
|
||||||
|
fg = colors.black,
|
||||||
|
bold = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_InsertMode = {
|
||||||
|
bg = colors.dark_purple,
|
||||||
|
fg = colors.black,
|
||||||
|
|
||||||
|
bold = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_TerminalMode = {
|
||||||
|
bg = colors.green,
|
||||||
|
fg = colors.black,
|
||||||
|
bold = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_NTerminalMode = {
|
||||||
|
bg = colors.yellow,
|
||||||
|
fg = colors.black,
|
||||||
|
bold = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_VisualMode = {
|
||||||
|
bg = colors.cyan,
|
||||||
|
fg = colors.black,
|
||||||
|
bold = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_ReplaceMode = {
|
||||||
|
bg = colors.orange,
|
||||||
|
fg = colors.black,
|
||||||
|
|
||||||
|
bold = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_ConfirmMode = {
|
||||||
|
bg = colors.teal,
|
||||||
|
fg = colors.black,
|
||||||
|
|
||||||
|
bold = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_CommandMode = {
|
||||||
|
bg = colors.green,
|
||||||
|
fg = colors.black,
|
||||||
|
|
||||||
|
bold = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_SelectMode = {
|
||||||
|
bg = colors.nord_blue,
|
||||||
|
fg = colors.black,
|
||||||
|
|
||||||
|
bold = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Separators for mode
|
||||||
|
St_NormalModeSep = {
|
||||||
|
fg = colors.nord_blue,
|
||||||
|
bg = colors.grey,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_InsertModeSep = {
|
||||||
|
fg = colors.dark_purple,
|
||||||
|
bg = colors.grey,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_TerminalModeSep = {
|
||||||
|
fg = colors.green,
|
||||||
|
bg = colors.grey,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_NTerminalModeSep = {
|
||||||
|
fg = colors.yellow,
|
||||||
|
bg = colors.grey,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_VisualModeSep = {
|
||||||
|
fg = colors.cyan,
|
||||||
|
bg = colors.grey,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_ReplaceModeSep = {
|
||||||
|
fg = colors.orange,
|
||||||
|
bg = colors.grey,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_ConfirmModeSep = {
|
||||||
|
fg = colors.teal,
|
||||||
|
bg = colors.grey,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_CommandModeSep = {
|
||||||
|
fg = colors.green,
|
||||||
|
bg = colors.grey,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_SelectModeSep = {
|
||||||
|
fg = colors.nord_blue,
|
||||||
|
bg = colors.grey,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_EmptySpace = {
|
||||||
|
fg = colors.grey,
|
||||||
|
bg = colors.lightbg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_EmptySpace2 = {
|
||||||
|
fg = colors.grey,
|
||||||
|
bg = colors.statusline_bg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_file_info = {
|
||||||
|
bg = colors.lightbg,
|
||||||
|
fg = colors.white,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_file_sep = {
|
||||||
|
bg = colors.statusline_bg,
|
||||||
|
fg = colors.lightbg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_cwd_icon = {
|
||||||
|
fg = colors.one_bg,
|
||||||
|
bg = colors.red,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_cwd_text = {
|
||||||
|
fg = colors.white,
|
||||||
|
bg = colors.lightbg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_cwd_sep = {
|
||||||
|
fg = colors.red,
|
||||||
|
bg = colors.statusline_bg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_pos_sep = {
|
||||||
|
fg = colors.green,
|
||||||
|
bg = colors.lightbg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_pos_icon = {
|
||||||
|
fg = colors.black,
|
||||||
|
bg = colors.green,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_pos_text = {
|
||||||
|
fg = colors.green,
|
||||||
|
bg = colors.lightbg,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -210,211 +210,4 @@ return {
|
||||||
bg = colors.green,
|
bg = colors.green,
|
||||||
fg = colors.black,
|
fg = colors.black,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
------------------------------------- Statusline ----------------------------------------------
|
|
||||||
|
|
||||||
StatusLine = {
|
|
||||||
bg = colors.statusline_bg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_gitIcons = {
|
|
||||||
fg = colors.light_grey,
|
|
||||||
bg = colors.statusline_bg,
|
|
||||||
bold = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- LSP
|
|
||||||
|
|
||||||
St_lspError = {
|
|
||||||
fg = colors.red,
|
|
||||||
bg = colors.statusline_bg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_lspWarning = {
|
|
||||||
fg = colors.yellow,
|
|
||||||
bg = colors.statusline_bg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_LspHints = {
|
|
||||||
fg = colors.purple,
|
|
||||||
bg = colors.statusline_bg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_LspInfo = {
|
|
||||||
fg = colors.green,
|
|
||||||
bg = colors.statusline_bg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_LspStatus = {
|
|
||||||
fg = colors.nord_blue,
|
|
||||||
bg = colors.statusline_bg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_LspProgress = {
|
|
||||||
fg = colors.green,
|
|
||||||
bg = colors.statusline_bg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_LspStatus_Icon = {
|
|
||||||
fg = colors.black,
|
|
||||||
bg = colors.nord_blue,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- MODES
|
|
||||||
|
|
||||||
St_NormalMode = {
|
|
||||||
bg = colors.nord_blue,
|
|
||||||
fg = colors.black,
|
|
||||||
bold = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_InsertMode = {
|
|
||||||
bg = colors.dark_purple,
|
|
||||||
fg = colors.black,
|
|
||||||
|
|
||||||
bold = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_TerminalMode = {
|
|
||||||
bg = colors.green,
|
|
||||||
fg = colors.black,
|
|
||||||
bold = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_NTerminalMode = {
|
|
||||||
bg = colors.yellow,
|
|
||||||
fg = colors.black,
|
|
||||||
bold = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_VisualMode = {
|
|
||||||
bg = colors.cyan,
|
|
||||||
fg = colors.black,
|
|
||||||
bold = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_ReplaceMode = {
|
|
||||||
bg = colors.orange,
|
|
||||||
fg = colors.black,
|
|
||||||
|
|
||||||
bold = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_ConfirmMode = {
|
|
||||||
bg = colors.teal,
|
|
||||||
fg = colors.black,
|
|
||||||
|
|
||||||
bold = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_CommandMode = {
|
|
||||||
bg = colors.green,
|
|
||||||
fg = colors.black,
|
|
||||||
|
|
||||||
bold = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_SelectMode = {
|
|
||||||
bg = colors.nord_blue,
|
|
||||||
fg = colors.black,
|
|
||||||
|
|
||||||
bold = true,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- Separators for mode
|
|
||||||
St_NormalModeSep = {
|
|
||||||
fg = colors.nord_blue,
|
|
||||||
bg = colors.grey,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_InsertModeSep = {
|
|
||||||
fg = colors.dark_purple,
|
|
||||||
bg = colors.grey,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_TerminalModeSep = {
|
|
||||||
fg = colors.green,
|
|
||||||
bg = colors.grey,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_NTerminalModeSep = {
|
|
||||||
fg = colors.yellow,
|
|
||||||
bg = colors.grey,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_VisualModeSep = {
|
|
||||||
fg = colors.cyan,
|
|
||||||
bg = colors.grey,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_ReplaceModeSep = {
|
|
||||||
fg = colors.orange,
|
|
||||||
bg = colors.grey,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_ConfirmModeSep = {
|
|
||||||
fg = colors.teal,
|
|
||||||
bg = colors.grey,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_CommandModeSep = {
|
|
||||||
fg = colors.green,
|
|
||||||
bg = colors.grey,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_SelectModeSep = {
|
|
||||||
fg = colors.nord_blue,
|
|
||||||
bg = colors.grey,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_EmptySpace = {
|
|
||||||
fg = colors.grey,
|
|
||||||
bg = colors.lightbg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_EmptySpace2 = {
|
|
||||||
fg = colors.grey,
|
|
||||||
bg = colors.statusline_bg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_file_info = {
|
|
||||||
bg = colors.lightbg,
|
|
||||||
fg = colors.white,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_file_sep = {
|
|
||||||
bg = colors.statusline_bg,
|
|
||||||
fg = colors.lightbg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_cwd_icon = {
|
|
||||||
fg = colors.one_bg,
|
|
||||||
bg = colors.red,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_cwd_text = {
|
|
||||||
fg = colors.white,
|
|
||||||
bg = colors.lightbg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_cwd_sep = {
|
|
||||||
fg = colors.red,
|
|
||||||
bg = colors.statusline_bg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_pos_sep = {
|
|
||||||
fg = colors.green,
|
|
||||||
bg = colors.lightbg,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_pos_icon = {
|
|
||||||
fg = colors.black,
|
|
||||||
bg = colors.green,
|
|
||||||
},
|
|
||||||
|
|
||||||
St_pos_text = {
|
|
||||||
fg = colors.green,
|
|
||||||
bg = colors.lightbg,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
17
lua/base46/integrations/vscode_st.lua
Normal file
17
lua/base46/integrations/vscode_st.lua
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
local colors = require("base46").get_theme_tb "base_30"
|
||||||
|
|
||||||
|
local generate_color = require("base46.colors").change_hex_lightness
|
||||||
|
|
||||||
|
colors.statusline_bg = generate_color(colors.statusline_bg, 1)
|
||||||
|
|
||||||
|
return {
|
||||||
|
StatusLine = {
|
||||||
|
fg = generate_color(colors.light_grey, 15),
|
||||||
|
bg = colors.statusline_bg,
|
||||||
|
},
|
||||||
|
|
||||||
|
St_Mode = {
|
||||||
|
fg = generate_color(colors.light_grey, 15),
|
||||||
|
bg = colors.one_bg3,
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue