Some checks failed
Check / eval (push) Has been cancelled
Rewrite whole-swap rofi.rasi to rofi-native @colors (was invalid CSS var()); cyan glass panel matching Boreal's hex-alpha pattern. btop titles/selection in accent cyan; ui rounding/opacity tuned; preview.png from theme-shot. Bar stays generated from JSON (no waybar.css). Verified: V2 — contrast 24×7; theme-wholeswap; theme-shot neon-glass desktop+menu viewed; boreal theme-shot regression green.
134 lines
2.8 KiB
Plaintext
134 lines
2.8 KiB
Plaintext
/**
|
|
* Neon Glass — rofi whole-swap (themes/<slug>/rofi.rasi).
|
|
* Vibe: cyber-frost panel on near-black void — cyan rim light, soft
|
|
* violet alt, translucent surfaces (hex-alpha, same pattern as Boreal's
|
|
* glassBg). Structure mirrors the generated theme so the theme-grid
|
|
* picker's -theme-str still lays out. No configuration {} block —
|
|
* modi/terminal/show-icons come from modules/home/rofi.nix.
|
|
*
|
|
* Palette locks to themes/neon-glass.json (keep in sync on color edits).
|
|
*/
|
|
|
|
* {
|
|
base: #0B0E14;
|
|
glassBg: #0B0E14E0; /* ~88% opaque void glass */
|
|
surface: #151A22;
|
|
glassSurf: #151A22CC;
|
|
overlay: #1E2530;
|
|
text: #E0E6F0;
|
|
subtext: #8F9BB3;
|
|
muted: #4B566B;
|
|
accent: #00F0FF;
|
|
accentAlt: #B026FF;
|
|
accentSoft: #00F0FF33; /* cyan wash for selection */
|
|
neonEdge: #00F0FF80; /* cyan border glow */
|
|
good: #00FFA3;
|
|
warn: #FFD000;
|
|
bad: #FF003C;
|
|
|
|
font: "Inter 12";
|
|
background-color: transparent;
|
|
text-color: @text;
|
|
}
|
|
|
|
window {
|
|
background-color: @glassBg;
|
|
border: 1px;
|
|
border-color: @neonEdge;
|
|
border-radius: 16px;
|
|
width: 620px;
|
|
location: center;
|
|
anchor: center;
|
|
padding: 18px;
|
|
}
|
|
|
|
mainbox {
|
|
background-color: transparent;
|
|
children: [ inputbar, message, listview ];
|
|
spacing: 14px;
|
|
}
|
|
|
|
inputbar {
|
|
children: [ prompt, entry ];
|
|
background-color: @glassSurf;
|
|
text-color: @text;
|
|
border: 1px;
|
|
border-color: @neonEdge;
|
|
border-radius: 12px;
|
|
padding: 12px 16px;
|
|
spacing: 12px;
|
|
}
|
|
|
|
prompt { text-color: @accent; }
|
|
|
|
entry {
|
|
text-color: @text;
|
|
cursor: text;
|
|
placeholder: "Search…";
|
|
placeholder-color: @muted;
|
|
}
|
|
|
|
listview {
|
|
background-color: transparent;
|
|
columns: 1;
|
|
lines: 8;
|
|
dynamic: true;
|
|
scrollbar: true;
|
|
spacing: 6px;
|
|
padding: 4px 0px 0px 0px;
|
|
}
|
|
|
|
element {
|
|
background-color: transparent;
|
|
text-color: @text;
|
|
orientation: horizontal;
|
|
border-radius: 12px;
|
|
padding: 10px 14px;
|
|
spacing: 12px;
|
|
}
|
|
|
|
element normal.normal,
|
|
element alternate.normal {
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* Selected: soft cyan wash + bright accent label (glass highlight). */
|
|
element selected.normal {
|
|
background-color: @accentSoft;
|
|
text-color: @accent;
|
|
border: 1px;
|
|
border-color: @neonEdge;
|
|
}
|
|
|
|
element-icon {
|
|
background-color: transparent;
|
|
size: 30px;
|
|
cursor: inherit;
|
|
}
|
|
|
|
element-text {
|
|
background-color: transparent;
|
|
text-color: inherit;
|
|
highlight: bold;
|
|
vertical-align: 0.5;
|
|
}
|
|
|
|
message { padding: 0px; }
|
|
|
|
textbox {
|
|
background-color: @glassSurf;
|
|
text-color: @text;
|
|
border: 1px;
|
|
border-color: @overlay;
|
|
border-radius: 12px;
|
|
padding: 10px 14px;
|
|
}
|
|
|
|
scrollbar {
|
|
width: 4px;
|
|
handle-width: 4px;
|
|
handle-color: @accent;
|
|
background-color: @surface;
|
|
border: 0px;
|
|
}
|