131 lines
2.2 KiB
CSS
131 lines
2.2 KiB
CSS
/* Catppuccin Mocha theme for EWW */
|
|
|
|
:root {
|
|
--base: #1e1e2e;
|
|
--mantle: #181825;
|
|
--crust: #11111b;
|
|
--text: #cdd6f4;
|
|
--subtext1: #bac2de;
|
|
--subtext0: #a6adc8;
|
|
--overlay2: #9399b2;
|
|
--overlay1: #7f849c;
|
|
--overlay0: #6c7086;
|
|
--surface2: #585b70;
|
|
--surface1: #45475a;
|
|
--surface0: #313244;
|
|
--lavender: #b4befe;
|
|
--blue: #89b4fa;
|
|
--sapphire: #74c7ec;
|
|
--teal: #94e2d5;
|
|
--green: #a6e3a1;
|
|
--yellow: #f9e2af;
|
|
--peach: #fab387;
|
|
--maroon: #eba0ac;
|
|
--red: #f38ba8;
|
|
--mauve: #cba6f7;
|
|
--pink: #f5c2e7;
|
|
--flamingo: #f2cdcd;
|
|
--rosewater: #f5e0dc;
|
|
}
|
|
|
|
* {
|
|
all: unset;
|
|
font-family: "JetBrainsMono Nerd Font", monospace;
|
|
font-size: 12px;
|
|
color: var(--text);
|
|
}
|
|
|
|
window {
|
|
background-color: rgba(30, 30, 46, 0.9); /* --base with transparency */
|
|
border-radius: 8px;
|
|
padding: 0;
|
|
margin: 0;
|
|
border: 1px solid var(--surface0);
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
box {
|
|
background-color: transparent;
|
|
padding: 4px 8px;
|
|
spacing: 8px;
|
|
}
|
|
|
|
label {
|
|
color: var(--text);
|
|
padding: 2px 6px;
|
|
}
|
|
|
|
button {
|
|
color: var(--text);
|
|
background-color: var(--surface1);
|
|
border-radius: 4px;
|
|
padding: 2px 8px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: var(--surface2);
|
|
color: var(--lavender);
|
|
}
|
|
|
|
button:active {
|
|
background-color: var(--blue);
|
|
color: var(--crust);
|
|
}
|
|
|
|
/* Workspace buttons */
|
|
.workspace {
|
|
color: var(--subtext1);
|
|
background-color: transparent;
|
|
border-radius: 4px;
|
|
padding: 2px 8px;
|
|
margin: 0 2px;
|
|
}
|
|
|
|
.workspace.active {
|
|
background-color: var(--blue);
|
|
color: var(--base);
|
|
}
|
|
|
|
.workspace.urgent {
|
|
background-color: var(--red);
|
|
color: var(--crust);
|
|
}
|
|
|
|
.workspace.focused {
|
|
background-color: var(--lavender);
|
|
color: var(--base);
|
|
}
|
|
|
|
/* Clock */
|
|
#clock {
|
|
color: var(--peach);
|
|
padding: 2px 8px;
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* System stats */
|
|
#cpu,
|
|
#ram,
|
|
#temp {
|
|
color: var(--green);
|
|
padding: 2px 8px;
|
|
background-color: transparent;
|
|
}
|
|
|
|
#volume {
|
|
color: var(--mauve);
|
|
}
|
|
|
|
#battery {
|
|
color: var(--green);
|
|
}
|
|
|
|
#battery.discharging {
|
|
color: var(--yellow);
|
|
}
|
|
|
|
#battery.critical {
|
|
color: var(--red);
|
|
}
|