All checks were successful
Check / eval (push) Successful in 4m9s
Two hardware-reported contrast bugs, both the same family: surfaces
that fell back to something designed on dark.
1. Inactive workspace numbers unreadable on every light theme.
- Generated bar: the @muted dim role is floor-gated at only 2.0:1 —
fine as "dim" on dark, washed out at number size on light. Light
mode now promotes inactive buttons to @subtext (3.0 floor,
typically 4-7:1); dark themes keep @muted.
- boreal-dawn + kiln-clay whole-swaps: same @muted -> @subtext
(6.4:1 / 6.6:1).
- summer-day whole-swap: had NO button color rule at all — the
container's @fg does not inherit into GTK buttons, so the numbers
took the GTK default over the cream chip. Explicit @fg_dim
(= the palette's subtext, 4.0:1) added.
- executive-ivory already used @subtext; untouched.
2. Notification popup unreadable on hover (bg turns dark, text stays
dark). Root cause found by probing, not guessing: the popup body is
one big GTK button (.notification-default-action) and swaync's
DEFAULT stylesheet — still loaded under our style.css — hovers it to
rgb(56,56,56). Our sheet never overrode that node (only the
control-center row), so the default bled through; on light themes
dark @text sat on it. Now the body + action buttons + close button
are re-pinned to the palette's alpha(@text) tint construction —
mode-proof by construction. The first fix attempt (row-level hover)
was probed, SHOWN insufficient, and replaced.
Verification: V2. nix flake check --no-build, theme-wholeswap,
theme-contrast green. §3 evidence viewed: a purpose-built VM hover
probe under summer-day (notify-send -u critical, cursor parked ON the
popup, screenshot) — before: dark card, drowned text (reproduces the
report exactly, /nix/store/q1qf67fl...notify-shot-summer-day); after:
cream card + faint tint, fully readable (shot-notify2). Bar renders
verified under catppuccin-latte (generated light path incl. the mode
branch) and summer-day (edited whole-swap). An inactive-number visual
needs two live workspaces — VM shows one — so the on-hardware
confirmation is queued (HARDWARE-QUEUE light-theme refits entry);
the ratio change itself is machine-checked.
Bookkeeping riding along: BACKLOG #152 deleted (shipped in d79ad35).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
195 lines
6.3 KiB
CSS
195 lines
6.3 KiB
CSS
/*
|
|
* Kiln Clay — Waybar whole-swap (themes/<slug>/waybar.css).
|
|
*
|
|
* A theme waybar.css replaces the ENTIRE generated stylesheet and is read
|
|
* raw (no palette is prepended), so this file MUST define its own colors.
|
|
* Identity: "the workbench" at midday — the same ONE continuous floating
|
|
* island as Kiln's night plank, translated to daylight: cream plaster
|
|
* worktop, terracotta edge-glow. No pills, no edge-to-edge strip: every
|
|
* module — including the tray — sits directly on the one plank, seamless.
|
|
* Companion: waybar.jsonc.
|
|
*/
|
|
|
|
@define-color base #F4EDE3;
|
|
@define-color mantle #DFD4C4;
|
|
@define-color surface #EAE1D3;
|
|
@define-color overlay #B1A28E;
|
|
@define-color text #39302A;
|
|
@define-color subtext #5D5142;
|
|
@define-color muted #877867;
|
|
@define-color accent #A34F1F;
|
|
@define-color accentAlt #75621A;
|
|
@define-color good #586F26;
|
|
@define-color warn #8A5E08;
|
|
@define-color bad #AC3B31;
|
|
|
|
/* NB: this `*` reset reaches the SNI tray menus Waybar hosts too (its
|
|
stylesheet applies process-wide, at a priority user gtk.css cannot
|
|
out-rank). The menu block right below undoes the damage — keep the two
|
|
in sync. Do NOT scope `*` to window#waybar instead: the id's
|
|
specificity would beat the class rules below (the plank) and wreck the
|
|
bar. */
|
|
* {
|
|
/* Mono Nerd face for status glyphs (tight right bearings on the
|
|
proportional Symbols face make icon+percentage collide). */
|
|
font-family: "CaskaydiaCove Nerd Font", "Symbols Nerd Font Mono";
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
border: none;
|
|
border-radius: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
/* ── Tray menus (nm-applet & co live in Waybar's process) ─────────────
|
|
Undo the `*` reset for them: same stylesheet, higher specificity.
|
|
Arrows/checks are CSS-sized nodes — min-height 0 makes them invisible;
|
|
separators die the same way; the bar's mono face reads wrong in text
|
|
menus. */
|
|
menu, menu * { font-family: "Inter", sans-serif; }
|
|
menu menuitem arrow { min-width: 16px; min-height: 16px; }
|
|
menu check, menu radio { min-width: 14px; min-height: 14px; }
|
|
menu separator {
|
|
min-height: 1px;
|
|
margin: 5px 0;
|
|
background: alpha(@text, 0.15);
|
|
}
|
|
|
|
/* The plank itself — one solid worktop spanning the island, a faint
|
|
terracotta edge-glow lifting it off the wallpaper. */
|
|
window#waybar {
|
|
background: alpha(@base, 0.94);
|
|
border: 1px solid alpha(@accent, 0.35);
|
|
border-radius: 8px;
|
|
color: @text;
|
|
}
|
|
|
|
.modules-left,
|
|
.modules-center,
|
|
.modules-right {
|
|
background: transparent;
|
|
padding: 0 6px;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Every module sits ON the plank: transparent, so nothing boxes the tray
|
|
off from the status icons — the seamless-cluster requirement. */
|
|
#custom-nomarchy,
|
|
#clock,
|
|
#custom-recording,
|
|
#custom-updates,
|
|
#custom-doctor,
|
|
#idle_inhibitor,
|
|
#custom-nightlight,
|
|
#custom-airplane,
|
|
#language,
|
|
#custom-vpn,
|
|
#pulseaudio,
|
|
#battery,
|
|
#custom-powerprofile,
|
|
#tray,
|
|
#custom-notification,
|
|
#custom-powermenu {
|
|
background: transparent;
|
|
color: alpha(@text, 0.9);
|
|
padding: 0 8px;
|
|
margin: 0;
|
|
}
|
|
|
|
/* ── Launcher — the terracotta Nomarchy mark opens the plank ──────────
|
|
The mark lives at U+F000 in the dedicated "Nomarchy" font; pin the
|
|
family or the Nerd Font's glass glyph at the same codepoint wins. */
|
|
#custom-nomarchy {
|
|
color: @accent;
|
|
font-family: Nomarchy;
|
|
font-size: 18px;
|
|
padding: 0 12px 0 14px;
|
|
}
|
|
#custom-nomarchy:hover { color: @accentAlt; }
|
|
|
|
/* ── Clock — unified time · date ─────────────────────────────────────*/
|
|
#clock {
|
|
color: @text;
|
|
font-weight: 600;
|
|
padding-left: 4px;
|
|
}
|
|
|
|
/* ── Workspaces — dots that fire to a fired-clay pill when active ─────*/
|
|
#workspaces { padding: 0 2px; }
|
|
|
|
#workspaces button {
|
|
/* @subtext, not @muted: on the cream plank the 2.0-floor grey washes
|
|
out at number size — inactive workspaces must stay readable (6.6:1). */
|
|
color: @subtext;
|
|
padding: 0 9px;
|
|
margin: 3px 1px;
|
|
border-radius: 6px;
|
|
transition: color 0.2s ease, background 0.2s ease;
|
|
}
|
|
#workspaces button:hover {
|
|
color: @text;
|
|
background: alpha(@overlay, 0.6);
|
|
}
|
|
#workspaces button.active {
|
|
color: @base;
|
|
background: @accent;
|
|
border-radius: 6px;
|
|
}
|
|
#workspaces button.urgent {
|
|
color: @base;
|
|
background: @bad;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
/* ── Status semantics (neutral until a state fires) ──────────────────*/
|
|
#custom-recording.recording { color: @bad; }
|
|
#custom-updates.available { color: @accent; }
|
|
#custom-doctor { color: @bad; }
|
|
#idle_inhibitor.activated { color: @warn; }
|
|
#custom-nightlight.on { color: @warn; }
|
|
#custom-airplane.on { color: @warn; }
|
|
#custom-vpn.on { color: @good; }
|
|
#pulseaudio.muted { color: @muted; }
|
|
|
|
#battery.charging { color: @good; }
|
|
#battery.warning:not(.charging) { color: @warn; }
|
|
#battery.critical:not(.charging) { color: @bad; }
|
|
|
|
/* Icon-only status modules carry no text, so they don't get the 13pt
|
|
Pango icon span the icon+text modules (volume/battery/language) use —
|
|
bump their font-size to match, or these glyphs read noticeably smaller
|
|
than their neighbours. */
|
|
#custom-recording,
|
|
#custom-updates,
|
|
#custom-doctor,
|
|
#custom-nightlight,
|
|
#custom-airplane,
|
|
#custom-vpn,
|
|
#custom-notification { font-size: 17px; }
|
|
/* Speedometer + caffeine cup render small in their em box — a touch more. */
|
|
#custom-powerprofile,
|
|
#idle_inhibitor { font-size: 18px; }
|
|
|
|
#custom-notification.notification { color: @accent; }
|
|
#custom-notification.dnd-none,
|
|
#custom-notification.dnd-notification,
|
|
#custom-notification.inhibited-none,
|
|
#custom-notification.inhibited-notification { color: @muted; }
|
|
|
|
/* Tray shares the plank — same transparent background, its own modest
|
|
padding so nm-applet & friends breathe with the status icons. */
|
|
#tray { padding: 0 6px; }
|
|
#tray > .passive { -gtk-icon-effect: dim; }
|
|
#tray > .needs-attention { -gtk-icon-effect: highlight; }
|
|
|
|
/* Power button closes the plank on the right; warms to alert on hover. */
|
|
#custom-powermenu { color: @subtext; padding: 0 12px 0 8px; }
|
|
#custom-powermenu:hover { color: @bad; }
|
|
|
|
/* ── Tooltips — solid plaster, terracotta edge ───────────────────────*/
|
|
tooltip {
|
|
background: alpha(@base, 0.97);
|
|
border: 1px solid alpha(@accent, 0.4);
|
|
border-radius: 8px;
|
|
}
|
|
tooltip label { color: @text; }
|