52 lines
1.4 KiB
Lua
52 lines
1.4 KiB
Lua
-- Generated by Noctalia
|
|
-- This file is the generated color boundary: config/appearance.lua calls
|
|
-- apply_theme(), while other modules remain independent of palette values.
|
|
|
|
local primary = "rgb(fff59b)"
|
|
local surface = "rgb(070722)"
|
|
local secondary = "rgb(a9aefe)"
|
|
local error = "rgb(fd4663)"
|
|
|
|
-- Apply generated colors to regular borders, grouped windows, and group tabs.
|
|
local function apply_theme()
|
|
hl.config({
|
|
general = {
|
|
col = {
|
|
active_border = primary,
|
|
inactive_border = surface,
|
|
},
|
|
},
|
|
|
|
group = {
|
|
col = {
|
|
border_active = secondary,
|
|
border_inactive = surface,
|
|
border_locked_active = error,
|
|
border_locked_inactive = surface,
|
|
},
|
|
|
|
groupbar = {
|
|
col = {
|
|
active = secondary,
|
|
inactive = surface,
|
|
locked_active = error,
|
|
locked_inactive = surface,
|
|
},
|
|
},
|
|
},
|
|
})
|
|
end
|
|
|
|
return {
|
|
-- Expose the raw palette for future modules that need matching colors.
|
|
colors = {
|
|
primary = primary,
|
|
surface = surface,
|
|
secondary = secondary,
|
|
error = error,
|
|
},
|
|
-- Keep application explicit so requiring this generated file has no side
|
|
-- effects on its own.
|
|
apply_theme = apply_theme
|
|
}
|