consistent styling

This commit is contained in:
2026-09-21 22:39:09 +02:00
parent c54c7a2b9d
commit 90a9390f37
37 changed files with 1004 additions and 263 deletions
@@ -0,0 +1,83 @@
# Central theme: catppuccin-mocha (Catppuccin Mocha), hyprland $vars.
# Part of basic/.config/themes. Managed file: refresh via
# basic/scripts/fetch-ports.sh
# (upstream: catppuccin/hyprland generated mocha.conf).
# Hyprland consumers load it via: source = ~/.config/themes/current/hypr.conf
$rosewater = rgb(f5e0dc)
$rosewaterAlpha = f5e0dc
$flamingo = rgb(f2cdcd)
$flamingoAlpha = f2cdcd
$pink = rgb(f5c2e7)
$pinkAlpha = f5c2e7
$mauve = rgb(cba6f7)
$mauveAlpha = cba6f7
$red = rgb(f38ba8)
$redAlpha = f38ba8
$maroon = rgb(eba0ac)
$maroonAlpha = eba0ac
$peach = rgb(fab387)
$peachAlpha = fab387
$yellow = rgb(f9e2af)
$yellowAlpha = f9e2af
$green = rgb(a6e3a1)
$greenAlpha = a6e3a1
$teal = rgb(94e2d5)
$tealAlpha = 94e2d5
$sky = rgb(89dceb)
$skyAlpha = 89dceb
$sapphire = rgb(74c7ec)
$sapphireAlpha = 74c7ec
$blue = rgb(89b4fa)
$blueAlpha = 89b4fa
$lavender = rgb(b4befe)
$lavenderAlpha = b4befe
$text = rgb(cdd6f4)
$textAlpha = cdd6f4
$subtext1 = rgb(bac2de)
$subtext1Alpha = bac2de
$subtext0 = rgb(a6adc8)
$subtext0Alpha = a6adc8
$overlay2 = rgb(9399b2)
$overlay2Alpha = 9399b2
$overlay1 = rgb(7f849c)
$overlay1Alpha = 7f849c
$overlay0 = rgb(6c7086)
$overlay0Alpha = 6c7086
$surface2 = rgb(585b70)
$surface2Alpha = 585b70
$surface1 = rgb(45475a)
$surface1Alpha = 45475a
$surface0 = rgb(313244)
$surface0Alpha = 313244
$base = rgb(1e1e2e)
$baseAlpha = 1e1e2e
$mantle = rgb(181825)
$mantleAlpha = 181825
$crust = rgb(11111b)
$crustAlpha = 11111b
@@ -0,0 +1,88 @@
# Central theme: catppuccin-mocha (Catppuccin Mocha), kitty colors.
# Part of basic/.config/themes. Managed file: refresh via
# basic/scripts/fetch-ports.sh
# (upstream: catppuccin/kitty themes/mocha.conf).
# vim:ft=kitty
## name: Catppuccin Kitty Mocha
## author: Catppuccin Org
## license: MIT
## upstream: https://github.com/catppuccin/kitty/blob/main/themes/mocha.conf
## blurb: Soothing pastel theme for the high-spirited!
# The basic colors
foreground #cdd6f4
background #1e1e2e
selection_foreground #1e1e2e
selection_background #f5e0dc
# Cursor colors
cursor #f5e0dc
cursor_text_color #1e1e2e
# Scrollbar colors
scrollbar_handle_color #9399b2
scrollbar_track_color #45475a
# URL color when hovering with mouse
url_color #f5e0dc
# Kitty window border colors
active_border_color #b4befe
inactive_border_color #6c7086
bell_border_color #f9e2af
# OS Window titlebar colors
wayland_titlebar_color system
macos_titlebar_color system
# Tab bar colors
active_tab_foreground #11111b
active_tab_background #cba6f7
inactive_tab_foreground #cdd6f4
inactive_tab_background #181825
tab_bar_background #11111b
# Colors for marks (marked text in the terminal)
mark1_foreground #1e1e2e
mark1_background #b4befe
mark2_foreground #1e1e2e
mark2_background #cba6f7
mark3_foreground #1e1e2e
mark3_background #74c7ec
# The 16 terminal colors
# black
color0 #45475a
color8 #585b70
# red
color1 #f38ba8
color9 #f38ba8
# green
color2 #a6e3a1
color10 #a6e3a1
# yellow
color3 #f9e2af
color11 #f9e2af
# blue
color4 #89b4fa
color12 #89b4fa
# magenta
color5 #f5c2e7
color13 #f5c2e7
# cyan
color6 #94e2d5
color14 #94e2d5
# white
color7 #bac2de
color15 #a6adc8
@@ -0,0 +1,33 @@
/* Central theme: catppuccin-mocha (Catppuccin Mocha), rofi palette.
* Part of basic/.config/themes. Managed file: refresh via
* basic/scripts/fetch-ports.sh
* (upstream: catppuccin/rofi themes/catppuccin-mocha.rasi). */
* {
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;
}
@@ -0,0 +1,53 @@
/* Central theme: catppuccin-mocha (Catppuccin Mocha).
* Part of basic/.config/themes. Managed file: refresh via
* basic/scripts/fetch-ports.sh (upstream: catppuccin/waybar themes/mocha.css),
* then re-apply the role aliases below. Consumers must use this file via
* ~/.config/themes/current/theme.css, never a private copy.
* Role aliases (stable interface, theme-agnostic) follow the palette. */
@define-color rosewater #f5e0dc;
@define-color flamingo #f2cdcd;
@define-color pink #f5c2e7;
@define-color mauve #cba6f7;
@define-color red #f38ba8;
@define-color maroon #eba0ac;
@define-color peach #fab387;
@define-color yellow #f9e2af;
@define-color green #a6e3a1;
@define-color teal #94e2d5;
@define-color sky #89dceb;
@define-color sapphire #74c7ec;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
@define-color text #cdd6f4;
@define-color subtext1 #bac2de;
@define-color subtext0 #a6adc8;
@define-color overlay2 #9399b2;
@define-color overlay1 #7f849c;
@define-color overlay0 #6c7086;
@define-color surface2 #585b70;
@define-color surface1 #45475a;
@define-color surface0 #313244;
@define-color base #1e1e2e;
@define-color mantle #181825;
@define-color crust #11111b;
/* ---- Stable role interface (theme-agnostic; consumers use THESE) ----
* NOTE: values are literal hex, NOT @references to the palette above.
* Some parsers (wofi/waybar Gtk.CssProvider paths) silently drop
* @define-color lines that reference another @color, which made every
* background transparent. Keep each role in sync with its palette twin
* (mapping below); scripts/sync-theme.sh verifies this mechanically. */
@define-color bg #1e1e2e; /* = @base */
@define-color bg_dim #181825; /* = @mantle */
@define-color bg_deep #11111b; /* = @crust */
@define-color bg_translucent rgba(17, 17, 27, 0.85); /* crust at 85% (translucent window bg) */
@define-color fg #cdd6f4; /* = @text */
@define-color fg_dim #a6adc8; /* = @subtext0 */
@define-color fg_muted #7f849c; /* = @overlay1 */
@define-color surface #313244; /* = @surface0 */
@define-color border #45475a; /* = @surface1 */
@define-color accent #74c7ec; /* = @sapphire */
@define-color accent2 #b4befe; /* = @lavender */
@define-color ok #a6e3a1; /* = @green */
@define-color warn #f9e2af; /* = @yellow */
@define-color urgent #f38ba8; /* = @red */
@@ -0,0 +1,42 @@
# Central theme interface: catppuccin-mocha (Catppuccin Mocha).
# Part of basic/.config/themes. Managed file: edit the palette here.
# Sourced by POSIX shells (~/.bashrc) and by Hyprland-launched apps.
# Generic THEME_* vars are the stable, theme-agnostic interface; the
# CATPPUCCIN_* / palette vars below exist because lazy.nvim, TPM and
# starship need the literal upstream names. A future non-Catppuccin theme
# only adds a new directory exporting the same THEME_* names.
export THEME_NAME="catppuccin"
export THEME_FLAVOR="mocha"
export THEME_ID="catppuccin-mocha"
# Generic roles (stable interface).
export THEME_BG="#1e1e2e"
export THEME_BG_DIM="#181825"
export THEME_FG="#cdd6f4"
export THEME_FG_DIM="#a6adc8"
export THEME_SURFACE="#313244"
export THEME_BORDER="#45475a"
export THEME_ACCENT="#74c7ec"
export THEME_ACCENT2="#b4befe"
export THEME_OK="#a6e3a1"
export THEME_WARN="#f9e2af"
export THEME_URGENT="#f38ba8"
# Plugin / colorscheme mapping (see ../registry.conf).
export THEME_NVIM_COLORSCHEME="catppuccin"
export THEME_TMUX_PLUGIN="catppuccin/tmux"
export THEME_GTK="Adwaita:dark"
# Upstream literal names (compat for lazy.nvim / TPM / starship).
export CATPPUCCIN_FLAVOR="mocha"
export CATPPUCCIN_BASE="#1e1e2e"
export CATPPUCCIN_MANTLE="#181825"
export CATPPUCCIN_CRUST="#11111b"
export CATPPUCCIN_TEXT="#cdd6f4"
export CATPPUCCIN_SAPPHIRE="#74c7ec"
export CATPPUCCIN_LAVENDER="#b4befe"
export CATPPUCCIN_SURFACE1="#45475a"
export CATPPUCCIN_RED="#f38ba8"
export CATPPUCCIN_GREEN="#a6e3a1"
export CATPPUCCIN_YELLOW="#f9e2af"
@@ -0,0 +1,25 @@
# Central theme interface: catppuccin-mocha (Catppuccin Mocha).
# Fish companion of theme.env.sh. Sourced from fish/config.fish.
# Managed file: edit the palette here, not in consumers.
set -gx THEME_NAME "catppuccin"
set -gx THEME_FLAVOR "mocha"
set -gx THEME_ID "catppuccin-mocha"
set -gx THEME_BG "#1e1e2e"
set -gx THEME_BG_DIM "#181825"
set -gx THEME_FG "#cdd6f4"
set -gx THEME_FG_DIM "#a6adc8"
set -gx THEME_SURFACE "#313244"
set -gx THEME_BORDER "#45475a"
set -gx THEME_ACCENT "#74c7ec"
set -gx THEME_ACCENT2 "#b4befe"
set -gx THEME_OK "#a6e3a1"
set -gx THEME_WARN "#f9e2af"
set -gx THEME_URGENT "#f38ba8"
set -gx THEME_NVIM_COLORSCHEME "catppuccin"
set -gx THEME_TMUX_PLUGIN "catppuccin/tmux"
set -gx THEME_GTK "Adwaita:dark"
set -gx CATPPUCCIN_FLAVOR "mocha"
@@ -0,0 +1,87 @@
-- Central theme interface: catppuccin-mocha (Catppuccin Mocha).
-- Part of basic/.config/themes. Managed file: edit the palette here.
-- Consumers (hyprland.lua, hyprlock helpers) 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