88 lines
2.2 KiB
Lua
88 lines
2.2 KiB
Lua
-- Central theme interface: catppuccin-mocha (Catppuccin Mocha).
|
|
-- Part of basic/.config/themes. Managed file: edit the palette here.
|
|
-- Consumers (hyprland.lua) load this via
|
|
-- dofile(os.getenv("HOME") .. "/.config/themes/current/theme.lua")
|
|
-- and must use the generic roles (bg/fg/accent/...) so a future
|
|
-- non-Catppuccin theme only adds a new directory. Full palette is
|
|
-- passed through for components that need specific colors.
|
|
-- Hyprland color syntax: "rgb(hex)" / "rgba(hexaa)".
|
|
|
|
local T = {
|
|
name = "catppuccin",
|
|
flavor = "mocha",
|
|
|
|
hex = {
|
|
rosewater = "f5e0dc",
|
|
flamingo = "f2cdcd",
|
|
pink = "f5c2e7",
|
|
mauve = "cba6f7",
|
|
red = "f38ba8",
|
|
maroon = "eba0ac",
|
|
peach = "fab387",
|
|
yellow = "f9e2af",
|
|
green = "a6e3a1",
|
|
teal = "94e2d5",
|
|
sky = "89dceb",
|
|
sapphire = "74c7ec",
|
|
blue = "89b4fa",
|
|
lavender = "b4befe",
|
|
text = "cdd6f4",
|
|
subtext1 = "bac2de",
|
|
subtext0 = "a6adc8",
|
|
overlay2 = "9399b2",
|
|
overlay1 = "7f849c",
|
|
overlay0 = "6c7086",
|
|
surface2 = "585b70",
|
|
surface1 = "45475a",
|
|
surface0 = "313244",
|
|
base = "1e1e2e",
|
|
mantle = "181825",
|
|
crust = "11111b",
|
|
},
|
|
|
|
-- Generic roles (stable interface, theme-agnostic).
|
|
bg = "rgba(1e1e2eee)",
|
|
bg_dim = "rgb(181825)",
|
|
fg = "rgb(cdd6f4)",
|
|
fg_dim = "rgb(a6adc8)",
|
|
surface = "rgb(313244)",
|
|
border_active = "rgba(74c7ecee)",
|
|
border_inactive = "rgba(45475aee)",
|
|
shadow = "rgba(74c7ecee)",
|
|
accent = "rgb(74c7ec)",
|
|
accent2 = "rgb(b4befe)",
|
|
ok = "rgb(a6e3a1)",
|
|
warn = "rgb(f9e2af)",
|
|
urgent = "rgb(f38ba8)",
|
|
|
|
-- Full palette passthrough (hyprland syntax).
|
|
rosewater = "rgb(f5e0dc)",
|
|
flamingo = "rgb(f2cdcd)",
|
|
pink = "rgb(f5c2e7)",
|
|
mauve = "rgb(cba6f7)",
|
|
red = "rgb(f38ba8)",
|
|
maroon = "rgb(eba0ac)",
|
|
peach = "rgb(fab387)",
|
|
yellow = "rgb(f9e2af)",
|
|
green = "rgb(a6e3a1)",
|
|
teal = "rgb(94e2d5)",
|
|
sky = "rgb(89dceb)",
|
|
sapphire = "rgb(74c7ec)",
|
|
blue = "rgb(89b4fa)",
|
|
lavender = "rgb(b4befe)",
|
|
text = "rgb(cdd6f4)",
|
|
subtext1 = "rgb(bac2de)",
|
|
subtext0 = "rgb(a6adc8)",
|
|
overlay2 = "rgb(9399b2)",
|
|
overlay1 = "rgb(7f849c)",
|
|
overlay0 = "rgb(6c7086)",
|
|
surface2 = "rgb(585b70)",
|
|
surface1 = "rgb(45475a)",
|
|
surface0 = "rgb(313244)",
|
|
base = "rgb(1e1e2e)",
|
|
mantle = "rgb(181825)",
|
|
crust = "rgb(11111b)",
|
|
}
|
|
|
|
return T
|