dotfiles/.config/luakit/theme.lua.cgt

113 lines
3.2 KiB
Text
Raw Normal View History

-- <! tmpl:setPostProcessor(opt.luaCompile) !>
local catppuccin = {
bg = "#181825",
fg = "#cdd6f4",
bright_bg = "#1e1e2e",
very_bright_bg = "#313244",
cyan = "#89b4fa",
green = "#a6e3a1",
orange = "#fab387",
pink = "#f5c2e7",
purple = "#cba6f7",
red = "#f38ba8",
yellow = "#f9e2af",
2022-01-29 01:49:36 +01:00
}
local theme = {}
-- Default settings
theme.font = "12px <% opt.font %>"
theme.fg = catppuccin.fg
theme.bg = catppuccin.bg
2022-01-29 01:49:36 +01:00
-- Genaral colors
theme.success_fg = catppuccin.green
theme.loaded_fg = catppuccin.cyan
2022-01-29 01:49:36 +01:00
-- Error colors
theme.error_fg = catppuccin.red
theme.error_bg = catppuccin.bright_bg
2022-01-29 01:49:36 +01:00
-- Warning colors
theme.warning_fg = catppuccin.orange
theme.warning_bg = catppuccin.bright_bg
2022-01-29 01:49:36 +01:00
-- Notification colors
theme.notif_fg = catppuccin.very_bright_bg
theme.notif_bg = catppuccin.bg
2022-01-29 01:49:36 +01:00
-- Menu colors
theme.menu_fg = catppuccin.fg
theme.menu_bg = catppuccin.bg
theme.menu_selected_fg = catppuccin.fg
theme.menu_selected_bg = catppuccin.bright_bg
theme.menu_title_bg = catppuccin.bg
theme.menu_primary_title_fg = catppuccin.red
theme.menu_secondary_title_fg = catppuccin.bright_bg
theme.menu_disabled_fg = catppuccin.very_bright_bg
theme.menu_disabled_bg = catppuccin.purple
2022-01-29 01:49:36 +01:00
theme.menu_enabled_fg = theme.menu_fg
theme.menu_enabled_bg = theme.menu_bg
theme.menu_active_fg = catppuccin.very_bright_bg
2022-01-29 01:49:36 +01:00
theme.menu_active_bg = theme.menu_bg
-- Proxy manager
theme.proxy_active_menu_fg = catppuccin.fg
theme.proxy_active_menu_bg = catppuccin.bg
theme.proxy_inactive_menu_fg = catppuccin.bright_bg
theme.proxy_inactive_menu_bg = catppuccin.very_bright_bg
2022-01-29 01:49:36 +01:00
-- Statusbar specific
theme.sbar_fg = catppuccin.fg
theme.sbar_bg = catppuccin.bg
2022-01-29 01:49:36 +01:00
-- Downloadbar specific
theme.dbar_fg = catppuccin.fg
theme.dbar_bg = catppuccin.bg
theme.dbar_error_fg = catppuccin.red
2022-01-29 01:49:36 +01:00
-- Input bar specific
theme.ibar_fg = catppuccin.fg
theme.ibar_bg = catppuccin.bg
2022-01-29 01:49:36 +01:00
-- Tab label
theme.tab_fg = catppuccin.fg
theme.tab_bg = catppuccin.bg
theme.tab_hover_bg = catppuccin.orange
2022-01-29 01:49:36 +01:00
theme.tab_ntheme = "#ddd"
theme.selected_fg = catppuccin.fg
theme.selected_bg = catppuccin.bright_bg
2022-01-29 01:49:36 +01:00
theme.selected_ntheme = "#ddd"
theme.loading_fg = catppuccin.cyan
theme.loading_bg = catppuccin.bg
2022-01-29 01:49:36 +01:00
theme.selected_private_tab_bg = catppuccin.pink
theme.private_tab_bg = catppuccin.purple
2022-01-29 01:49:36 +01:00
-- Trusted/untrusted ssl colors
theme.trust_fg = catppuccin.green
theme.notrust_fg = catppuccin.red
2022-01-29 01:49:36 +01:00
-- Follow mode hints
theme.hint_font = "12px <% opt.font %>, monospace, courier, sans-serif"
theme.hint_fg = catppuccin.fg
theme.hint_bg = catppuccin.very_bright_bg
theme.hint_border = "2px dashed " .. catppuccin.green
2022-01-29 01:49:36 +01:00
theme.hint_opacity = "0.3"
theme.hint_overlay_bg = "rgba(255,255,153,0.3)"
theme.hint_overlay_border = "1px dotted #000"
theme.hint_overlay_selected_bg = "rgba(0,255,0,0.3)"
theme.hint_overlay_selected_border = theme.hint_overlay_border
-- General colour pairings
theme.ok = { fg = catppuccin.fg, bg = catppuccin.bg }
theme.warn = { fg = catppuccin.orange, bg = catppuccin.bg }
theme.error = { fg = catppuccin.red, bg = catppuccin.bright_bg }
2022-01-29 01:49:36 +01:00
-- Gopher page style (override defaults)
theme.gopher_light = { bg = "#E8E8E8", fg = "#17181C", link = "#03678D" }
theme.gopher_dark = { bg = "#17181C", fg = "#E8E8E8", link = "#f90" }
return theme