Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion assets/templates/hyprland/hyprland.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

local primary = "rgb({{colors.primary.default.hex_stripped}})"
local surface = "rgb({{colors.surface.default.hex_stripped}})"
local surface_variant = "rgb({{colors.surface_variant.default.hex_stripped}})"
local secondary = "rgb({{colors.secondary.default.hex_stripped}})"
local error = "rgb({{colors.error.default.hex_stripped}})"
local shadow = "rgb({{colors.shadow.default.hex_stripped}})"

local function apply_theme()
hl.config({
Expand All @@ -13,7 +15,15 @@ local function apply_theme()
inactive_border = surface,
},
},

decoration = {
shadow = {
color = shadow,
},
glow = {
color = primary,
color_inactive = surface,
},
},
group = {
col = {
border_active = secondary,
Expand All @@ -29,6 +39,8 @@ local function apply_theme()
locked_active = error,
locked_inactive = surface,
},
text_color = surface,
Comment thread
yipfluoric marked this conversation as resolved.
Outdated
text_color_inactive = surface_variant,
},
},
})
Expand All @@ -38,8 +50,10 @@ return {
colors = {
primary = primary,
surface = surface,
surface_variant = surface_variant,
secondary = secondary,
error = error,
shadow = shadow,
},
apply_theme = apply_theme
}
Loading