theme udpates
parent
645624d907
commit
45ae32d392
@ -1,22 +1,46 @@
|
||||
local ok, noirbuddy = pcall(require, "noirbuddy")
|
||||
if not ok then
|
||||
P("NO NOIR BUDDY")
|
||||
vim.notify("missing module noirbuddy", vim.log.levels.WARN)
|
||||
return
|
||||
end
|
||||
|
||||
local M = {}
|
||||
local g_config = require("core.utils").load_config()
|
||||
|
||||
M.config = {
|
||||
preset = 'minimal',
|
||||
colors = {
|
||||
primary = '#BD93F9',
|
||||
secondary = '#92a2d4',
|
||||
},
|
||||
M.palette = {
|
||||
primary = "#ef9d9d",
|
||||
secondary = "#a1b1e3",
|
||||
background = "#282936",
|
||||
noir_0 = "#e9e9f4",
|
||||
noir_1 = "#f1f2f8",
|
||||
noir_2 = "#e4e4f1",
|
||||
loir_3 = "#d4d4dd",
|
||||
loir_4 = "#cdcdd7",
|
||||
loir_5 = "#b9b9c7",
|
||||
noir_6 = "#a8a8b9",
|
||||
noir_7 = "#757b9a",
|
||||
noir_8 = "#353848",
|
||||
noir_9 = "#222430",
|
||||
|
||||
}
|
||||
local config = {
|
||||
preset = 'slate',
|
||||
colors = M.palette
|
||||
}
|
||||
|
||||
|
||||
|
||||
M.setup = function()
|
||||
-- noirbuddy.setup(M.config)
|
||||
local base46 = require'base46'
|
||||
noirbuddy.setup(config)
|
||||
base46.load_highlight "defaults"
|
||||
base46.load_highlight "statusline"
|
||||
base46.load_highlight(base46.turn_str_to_color(g_config.ui.hl_add))
|
||||
require('theme.highlights')
|
||||
end
|
||||
|
||||
|
||||
return M
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,82 @@
|
||||
local Color, colors, Group, groups, styles = require('colorbuddy').setup {}
|
||||
local modifiers = require('colorbuddy.modifiers').modifiers
|
||||
|
||||
local blob42 = require("custom.themes.blob42")
|
||||
|
||||
Color.new("green", blob42.base_30.green)
|
||||
Color.new("base03", blob42.base_16.base03)
|
||||
Color.new("dap_stop", "#ff4848")
|
||||
Color.new("dap_virtual_text", "#f99540")
|
||||
|
||||
-- text
|
||||
Group.new("MatchWord", colors.primary, colors.noir_8, styles.bold)
|
||||
Group.link("MatchParen", groups.MatchWord )
|
||||
|
||||
Group.new("Error", colors.primary, nil, styles.underline)
|
||||
|
||||
|
||||
-- search
|
||||
-- select
|
||||
|
||||
-- menus
|
||||
Group.new("PmenuSel", nil, colors.noir_8 )
|
||||
|
||||
Group.new('LineNr', colors.gray2:light())
|
||||
Group.new('CursorLineNr', colors.gray3)
|
||||
|
||||
Group.new('telescopepromptcounter', colors.gray3)
|
||||
Group.new('DiagnosticUnderlineError', colors.primary, nil, styles.underline)
|
||||
|
||||
-- syntax / treesitter
|
||||
Group.new("Keyword", colors.primary, nil, styles.bold)
|
||||
Group.link("@keyword", groups.Keyword)
|
||||
Group.link("@keyword.function", groups.Keyword)
|
||||
Group.link("@conditional", groups.Keyword)
|
||||
|
||||
Group.new("Type", colors.secondary, nil)
|
||||
Group.link("@type", groups.Type)
|
||||
|
||||
Group.new("Macro", colors.primary)
|
||||
Group.link("@function.macro", groups.Macro)
|
||||
|
||||
Group.new("String", colors.green)
|
||||
Group.link("@string", groups.String)
|
||||
|
||||
Group.link("@constant.builtin", groups.Constant)
|
||||
Group.link("@constant", groups.Constant)
|
||||
|
||||
Group.new("@variable", colors.noir_0)
|
||||
|
||||
|
||||
-- indentline
|
||||
Group.new("IndentBlanklineContextStart", colors.base03)
|
||||
|
||||
-- Dap
|
||||
|
||||
-- Migrating from nvchad custom added hilights
|
||||
Group.new("DapStopped", colors.dap_stop)
|
||||
Group.link("DapUIStop", groups.DapStopped)
|
||||
Group.new("NvimDapVirtualText", colors.dap_virtual_text)
|
||||
Group.new("DapUIWatchesEmpty", colors.secondary)
|
||||
|
||||
|
||||
|
||||
-- Override specific highlight groups...
|
||||
-- Group.new('TelescopeTitle', colors.primary)
|
||||
-- Group.new('TelescopeBorder', colors.secondary)
|
||||
-- Group.new('CursorLineNr', colors.primary, colors.noir_9)
|
||||
-- Group.new('Searchlight', nil, colors.secondary)
|
||||
-- Group.new('@comment', colors.noir_7)
|
||||
-- Group.new('@punctuation', colors.noir_2)
|
||||
--
|
||||
-- Add font styles to highlight groups...
|
||||
-- Group.new('@constant', colors.noir_2, nil, styles.bold)
|
||||
-- Group.new('@method', colors.noir_0, nil, styles.bold + styles.italic)
|
||||
|
||||
-- Link highlight groups...
|
||||
-- Group.link('SignifySignAdd', groups.DiffAdd)
|
||||
-- Group.link('SignifySignChange', groups.DiffChange)
|
||||
-- Group.link('SignifySignDelete', groups.DiffDelete)
|
||||
--
|
||||
|
||||
-- etc.
|
Loading…
Reference in New Issue