refactor(src/shared/styles): replace hardcoded CSS values with design token variables

Introduce consistent design tokens for radii and colors, replacing alpha() and hardcoded values with theme variables for easier theming and maintenance.

- New Features:   - Add CSS variable usage for radii (var(--radius-*)) and color tokens (@border-subtle, @text-main, @accent)
- Enhancements:
  - Replace hardcoded border, radius, and color definitions with variable references
  - Align styling with the project's theme system
- Bug Fixes:
  - No bug fixes included
This commit is contained in:
sankalp committed 2026-05-14 15:31:01 +05:45
1 parent 60c63308db
commit 5502f85dd1
18 files changed
+340 -314

No files matched your search

+4 -4
View File
@@ -4,7 +4,7 @@
box-shadow: box-shadow:
inset 0 -0.5px 0 0.5px alpha(#555, 0.7), inset 0 -0.5px 0 0.5px alpha(#555, 0.7),
inset 0 0.5px 0 0.5px alpha(#777, 0.7); inset 0 0.5px 0 0.5px alpha(#777, 0.7);
border: 1px solid alpha(#111, 0.3); border: 1px solid @border-subtle;
border-top: none; border-top: none;
border-radius: 1.25rem; border-radius: 1.25rem;
padding: 2rem; padding: 2rem;
@@ -12,7 +12,7 @@
#about-options { #about-options {
background-color: alpha(#333, 0.9); background-color: alpha(#333, 0.9);
border-radius: 15px; border-radius: var(--radius-md);
padding: 2rem; padding: 2rem;
} }
@@ -61,7 +61,7 @@
#more-info-button { #more-info-button {
background-color: #888888; background-color: #888888;
border-radius: 5px; border-radius: var(--radius-xs);
padding: 0px 10px; padding: 0px 10px;
margin: 1px 2px; margin: 1px 2px;
transition: all 200ms ease-in-out; transition: all 200ms ease-in-out;
@@ -74,5 +74,5 @@
font-size: 12px; font-size: 12px;
margin: 0px; margin: 0px;
font-weight: 400; font-weight: 400;
color: #fff; color: @text-main;
} }
+19 -19
View File
@@ -1,9 +1,9 @@
#battery-window { #battery-window {
margin: 6px; margin: 6px;
/* background-color: alpha(#fff, 0.09); */ /* background-color: alpha(@text-main, 0.09); */
border: 1px solid alpha(#111, 0.3); border: 1px solid @border-subtle;
box-shadow: inset 0 0 200px 0 alpha(#111, 0.3); box-shadow: inset 0 0 200px 0 @border-subtle;
border-radius: 8px; border-radius: var(--radius-sm);
} }
#battery-widget { #battery-widget {
@@ -40,7 +40,7 @@
.battery-status-section { .battery-status-section {
/* background: rgba(255, 255, 255, 0.06); */ /* background: rgba(255, 255, 255, 0.06); */
/* border-radius: 12px; */ /* border-radius: var(--radius-md); */
padding: 2px; padding: 2px;
/* margin: 8px 0; */ /* margin: 8px 0; */
/* border: 1px solid rgba(255, 255, 255, 0.08); */ /* border: 1px solid rgba(255, 255, 255, 0.08); */
@@ -56,7 +56,7 @@
#energy-mode-button-clickable { #energy-mode-button-clickable {
background: transparent; background: transparent;
border: none; border: none;
border-radius: 8px; border-radius: var(--radius-sm);
padding: 6px 12px; padding: 6px 12px;
margin: 1px 0; margin: 1px 0;
} }
@@ -66,7 +66,7 @@
} }
#energy-mode-icon { #energy-mode-icon {
border-radius: 50%; border-radius: var(--radius-full);
padding: 4px; padding: 4px;
margin-top: -2px; margin-top: -2px;
margin-bottom: -2px; margin-bottom: -2px;
@@ -77,17 +77,17 @@
} }
#energy-mode-icon.connected { #energy-mode-icon.connected {
background-color: #007aff; background-color: @accent;
color: #ffffff; color: @text-main;
} }
.battery-power-source { .battery-power-source {
font-size: 12px; font-size: 12px;
margin-bottom: -4px; margin-bottom: -4px;
color: alpha(#ffffff, 0.5); color: alpha(@text-main, 0.5);
} }
.battery-section-title { .battery-section-title {
font-size: 14px; font-size: 14px;
color: alpha(#ffffff, 0.7); color: alpha(@text-main, 0.7);
margin: 2px 0 0 8px; margin: 2px 0 0 8px;
} }
.battery-power-mode { .battery-power-mode {
@@ -96,18 +96,18 @@
.battery-settings-button:hover { .battery-settings-button:hover {
margin-top: -5px; margin-top: -5px;
background: alpha(#ffffff, 0.1); background: alpha(@text-main, 0.1);
min-height: 30px; min-height: 30px;
border-radius: 8px; border-radius: var(--radius-sm);
} }
.battery-settings-button { .battery-settings-button {
margin-top: -5px; margin-top: -5px;
min-height: 30px; min-height: 30px;
border-radius: 8px; border-radius: var(--radius-sm);
} }
.battery-settings-button label { .battery-settings-button label {
font-weight: 500; font-weight: 500;
color: alpha(#ffffff, 1); color: alpha(@text-main, 1);
} }
#energy-mode-button:first-child { #energy-mode-button:first-child {
margin-top: 0; margin-top: 0;
@@ -133,7 +133,7 @@
#game-mode-button-clickable { #game-mode-button-clickable {
background: transparent; background: transparent;
border: none; border: none;
border-radius: 8px; border-radius: var(--radius-sm);
padding: 6px 12px; padding: 6px 12px;
margin: 1px 0; margin: 1px 0;
/* min-height: 36px; */ /* min-height: 36px; */
@@ -144,7 +144,7 @@
} }
#game-mode-icon { #game-mode-icon {
border-radius: 50%; border-radius: var(--radius-full);
padding: 4px; padding: 4px;
margin-right: 8px; margin-right: 8px;
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
@@ -152,6 +152,6 @@
} }
#game-mode-icon.connected { #game-mode-icon.connected {
background-color: #007aff; background-color: @accent;
color: #ffffff; color: @text-main;
} }
+27 -1
View File
@@ -1,6 +1,32 @@
@define-color bg alpha(#fff, 0.07); @define-color bg alpha(#fff, 0.07);
@define-color hover alpha(#fff, 0.1); @define-color hover alpha(#fff, 0.1);
@define-color border var(--outline); @define-color border var(--outline);
@define-color active alpha(#fff, 0.9); @define-color active alpha(#fff, 0.9);
@define-color urgent alpha(var(--on-error), 0.7); @define-color urgent alpha(var(--on-error), 0.7);
/* New common colors */
@define-color accent #007aff;
@define-color accent-hover #0056cc;
@define-color bg-lighter alpha(#fff, 0.12);
@define-color bg-darker alpha(#000, 0.08);
@define-color text-main #ffffff;
@define-color text-secondary alpha(#fff, 0.6);
@define-color text-dim #999;
@define-color shadow-color alpha(#000, 0.3);
/* Border and Shadow specific */
@define-color border-subtle alpha(#111, 0.3);
@define-color border-strong alpha(#111, 0.4);
@define-color inner-shadow alpha(#000, 0.3);
/* Constants */
:vars {
--radius-xs: 4px;
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 20px;
--radius-full: 999px;
--transition-fast: 0.15s ease;
--transition-slow: 0.3s ease;
}
+142 -142
View File
@@ -6,7 +6,7 @@
#control-center-menu { #control-center-menu {
background-color: transparent; background-color: transparent;
border-radius: 12px; border-radius: var(--radius-md);
box-shadow: none; box-shadow: none;
margin: 0; margin: 0;
} }
@@ -14,18 +14,18 @@
#separator { #separator {
min-height: 0.09rem; min-height: 0.09rem;
margin: 3px 0; margin: 3px 0;
background-color: alpha(#fff, 0.2); background-color: alpha(@text-main, 0.2);
border-radius: 8px; border-radius: var(--radius-sm);
} }
/* #bluetooth-control-window { */ /* #bluetooth-control-window { */
/* #wifi-control-window, */ /* #wifi-control-window, */
#battery-control-window { #battery-control-window {
margin: 6px; margin: 6px;
/* background-color: alpha(#fff, 0.09); */ /* background-color: alpha(@text-main, 0.09); */
border: 1px solid alpha(#111, 0.3); border: 1px solid @border-subtle;
box-shadow: inset 0 0 200px 0 alpha(#111, 0.3); box-shadow: inset 0 0 200px 0 @border-subtle;
border-radius: 15px; border-radius: var(--radius-md);
} }
#bluetooth-title, #bluetooth-title,
@@ -36,9 +36,9 @@
#control-center-widgets { #control-center-widgets {
background-color: alpha(#010101, 0.01); background-color: alpha(#010101, 0.01);
box-shadow: inset 0 0 0 1px alpha(#aaa, 0.4); box-shadow: inset 0 0 0 1px alpha(@text-dim, 0.4);
/* border: 1px solid alpha(#111, 0.4); */ /* border: 1px solid @border-strong; */
border-radius: 12px; border-radius: var(--radius-md);
padding: 0.5rem; padding: 0.5rem;
} }
@@ -46,10 +46,10 @@
#wb-widget, #wb-widget,
#brightness-menu { #brightness-menu {
background-color: alpha(#000, 0.08); background-color: @bg-darker;
box-shadow: inset 0 0 0 0.5px alpha(#aaa, 0.4); box-shadow: inset 0 0 0 0.5px alpha(@text-dim, 0.4);
border: 1px solid alpha(#111, 0.4); border: 1px solid @border-strong;
border-radius: 12px; border-radius: var(--radius-md);
} }
/* Widgets */ /* Widgets */
@@ -72,7 +72,7 @@
font-size: 12px; font-size: 12px;
margin-left: 5px; margin-left: 5px;
font-weight: 500; font-weight: 500;
color: #999; color: @text-dim;
} }
/* WiFi Password Dialog */ /* WiFi Password Dialog */
@@ -81,8 +81,8 @@
} }
#wifi-dialog-background { #wifi-dialog-background {
background-color: alpha(#fff, 0.05); background-color: alpha(@text-main, 0.05);
border-radius: 12px; border-radius: var(--radius-md);
border: 1px solid rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1);
padding: 20px; padding: 20px;
min-width: 450px; min-width: 450px;
@@ -93,12 +93,12 @@
} }
#wifi-dialog-icon { #wifi-dialog-icon {
color: #007aff; color: @accent;
margin-right: 4px; margin-right: 4px;
} }
#wifi-dialog-title { #wifi-dialog-title {
color: #ffffff; color: @text-main;
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
} }
@@ -115,7 +115,7 @@
} }
#wifi-dialog-password-label { #wifi-dialog-password-label {
color: #ffffff; color: @text-main;
font-size: 13px; font-size: 13px;
font-weight: 500; font-weight: 500;
margin-bottom: 4px; margin-bottom: 4px;
@@ -124,14 +124,14 @@
#wifi-dialog-password-entry { #wifi-dialog-password-entry {
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 6px; border-radius: var(--radius-xs);
padding: 8px 12px; padding: 8px 12px;
color: #ffffff; color: @text-main;
font-size: 13px; font-size: 13px;
} }
#wifi-dialog-password-entry:focus { #wifi-dialog-password-entry:focus {
border-color: #007aff; border-color: @accent;
box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.3); box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.3);
background-color: rgba(255, 255, 255, 0.15); background-color: rgba(255, 255, 255, 0.15);
} }
@@ -144,21 +144,21 @@
background-color: transparent; background-color: transparent;
border: none; border: none;
padding: 4px; padding: 4px;
border-radius: 4px; border-radius: var(--radius-xs);
min-width: 24px; min-width: 24px;
min-height: 24px; min-height: 24px;
} }
#wifi-dialog-show-password-button:hover { #wifi-dialog-show-password-button:hover {
background-color: alpha(#fff, 0.1); background-color: @hover;
} }
#wifi-dialog-show-password-button image { #wifi-dialog-show-password-button image {
color: #ffffff; color: @text-main;
} }
#wifi-dialog-show-password-label { #wifi-dialog-show-password-label {
color: #ffffff; color: @text-main;
font-size: 12px; font-size: 12px;
} }
@@ -168,7 +168,7 @@
#wifi-dialog-cancel-button, #wifi-dialog-cancel-button,
#wifi-dialog-join-button { #wifi-dialog-join-button {
border-radius: 6px; border-radius: var(--radius-xs);
font-size: 13px; font-size: 13px;
font-weight: 500; font-weight: 500;
min-width: 80px; min-width: 80px;
@@ -178,7 +178,7 @@
#wifi-dialog-cancel-button { #wifi-dialog-cancel-button {
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.2);
color: #ffffff; color: @text-main;
} }
#wifi-dialog-cancel-button:hover { #wifi-dialog-cancel-button:hover {
@@ -186,14 +186,14 @@
} }
#wifi-dialog-join-button { #wifi-dialog-join-button {
background-color: #007aff; background-color: @accent;
border: 1px solid #007aff; border: 1px solid @accent;
color: #ffffff; color: @text-main;
} }
#wifi-dialog-join-button:hover { #wifi-dialog-join-button:hover {
background-color: #0056cc; background-color: @accent-hover;
border-color: #0056cc; border-color: @accent-hover;
} }
#wifi-dialog-join-button.disabled { #wifi-dialog-join-button.disabled {
@@ -212,7 +212,7 @@
#bluetooth-widget-title { #bluetooth-widget-title {
font-size: 12px; font-size: 12px;
font-weight: 500; font-weight: 500;
color: #fff; color: @text-main;
} }
/* #bluetooth-widget-top { */ /* #bluetooth-widget-top { */
@@ -221,7 +221,7 @@
/* } */ /* } */
#device-icon { #device-icon {
border-radius: 50%; border-radius: var(--radius-full);
padding: 5px; padding: 5px;
margin-bottom: 2.5px; margin-bottom: 2.5px;
margin-top: 2.5px; margin-top: 2.5px;
@@ -230,7 +230,7 @@
} }
#devices-title { #devices-title {
color: alpha(#fff, 0.6); color: @text-secondary;
} }
#device-icon.paired { #device-icon.paired {
@@ -245,14 +245,14 @@
min-width: 40px; min-width: 40px;
min-height: 20px; min-height: 20px;
background-color: #bababa; background-color: #bababa;
border-radius: 15px; border-radius: var(--radius-md);
padding: 2px; padding: 2px;
transition: background-color 0.3s ease; transition: background-color 0.3s ease;
} }
#toggle-button slider { #toggle-button slider {
background-color: #fff; background-color: @text-main;
border-radius: 50%; border-radius: var(--radius-full);
min-width: 16px; min-width: 16px;
min-height: 8px; min-height: 8px;
transition: background-color 0.1s cubic-bezier(0.5, 0.25, 0, 1.25); transition: background-color 0.1s cubic-bezier(0.5, 0.25, 0, 1.25);
@@ -263,7 +263,7 @@
} }
/* #toggle-button:checked slider { */ /* #toggle-button:checked slider { */
/* background-color: #fff; */ /* background-color: @text-main; */
/* } */ /* } */
/**/ /**/
/* #toggle-button:checked image { */ /* #toggle-button:checked image { */
@@ -271,14 +271,14 @@
/* } */ /* } */
.menu { .menu {
background-color: alpha(#000, 0.08); background-color: @bg-darker;
box-shadow: inset 0 0 0 0.5px alpha(#aaa, 0.4); box-shadow: inset 0 0 0 0.5px alpha(@text-dim, 0.4);
border: 1px solid alpha(#111, 0.4); border: 1px solid @border-strong;
border-radius: 12px; border-radius: var(--radius-md);
margin: 5px; margin: 5px;
/* background-color: alpha(#999, 0.1); */ /* background-color: alpha(@text-dim, 0.1); */
/* border: 0.5px solid alpha(#000, 0.4); */ /* border: 0.5px solid alpha(#000, 0.4); */
/* border-radius: 8px; */ /* border-radius: var(--radius-sm); */
padding: 1rem; padding: 1rem;
} }
@@ -303,7 +303,7 @@
#vol-slider-box { #vol-slider-box {
/* margin-bottom: 2px; */ /* margin-bottom: 2px; */
margin-top: -10px; margin-top: -10px;
/* border: 1px solid alpha(#fff, 1); */ /* border: 1px solid alpha(@text-main, 1); */
} }
#volume-widget-slider { #volume-widget-slider {
@@ -325,12 +325,12 @@
} }
#control-center-menu slider { #control-center-menu slider {
background: linear-gradient(135deg, #ffffff 0%, #f0f1f2 100%); background: linear-gradient(135deg, @text-main 0%, #f0f1f2 100%);
border-color: #000; border-color: #000;
min-width: 28px; min-width: 28px;
min-height: 28px; min-height: 28px;
margin: -2px; margin: -2px;
border-radius: 50%; border-radius: var(--radius-full);
/* background-image: none; */ /* background-image: none; */
/* background-color: transparent; */ /* background-color: transparent; */
/* min-width: 4px; */ /* min-width: 4px; */
@@ -339,11 +339,11 @@
} }
#control-center-menu slider:hover { #control-center-menu slider:hover {
border-color: #999; border-color: @text-dim;
min-width: 30px; min-width: 30px;
min-height: 30px; min-height: 30px;
margin: -3px; margin: -3px;
border-radius: 50%; border-radius: var(--radius-full);
/* background-image: none; */ /* background-image: none; */
/* background-color: transparent; */ /* background-color: transparent; */
/* min-width: 4px; */ /* min-width: 4px; */
@@ -354,42 +354,42 @@
#control-center-menu scale { #control-center-menu scale {
background-color: transparent; background-color: transparent;
margin-top: 10px; margin-top: 10px;
border-radius: 20px; border-radius: var(--radius-xl);
} }
#control-center-menu trough { #control-center-menu trough {
min-width: 25px; min-width: 25px;
border-radius: 99px; border-radius: var(--radius-full);
background-color: alpha(#666, 0.5); background-color: alpha(#666, 0.5);
border: 1px solid alpha(#444, 0.3); border: 1px solid alpha(#444, 0.3);
} }
#control-center-menu highlight { #control-center-menu highlight {
background: alpha(#fff, 0.8); background: alpha(@text-main, 0.8);
border-radius: 99px; border-radius: var(--radius-full);
} }
#control-center-menu mark indicator { #control-center-menu mark indicator {
background: none; background: none;
background-image: none; background-image: none;
color: alpha(#fff, 0.2); color: alpha(@text-main, 0.2);
} }
#control-center-menu mark label { #control-center-menu mark label {
background: none; background: none;
background-image: none; background-image: none;
color: alpha(#fff, 0.2); color: alpha(@text-main, 0.2);
} }
/* Per-app volume control styles */ /* Per-app volume control styles */
#per-app-volume-control { #per-app-volume-control {
min-height: 140px; min-height: 140px;
min-width: 328px; min-width: 328px;
/* background-color: alpha(#000, 0.3); */ /* background-color: @shadow-color; */
/* background-color: alpha(#999, 0.1); */ /* background-color: alpha(@text-dim, 0.1); */
/* box-shadow: inset 0 0 200px 0 alpha(#111, 0.3); */ /* box-shadow: inset 0 0 200px 0 @border-subtle; */
/* border: 0.5px solid alpha(#000, 0.4); */ /* border: 0.5px solid alpha(#000, 0.4); */
border-radius: 8px; border-radius: var(--radius-sm);
padding: 1rem; padding: 1rem;
/* padding: 1rem; */ /* padding: 1rem; */
@@ -402,37 +402,37 @@
#back-button { #back-button {
padding: 8px 12px; padding: 8px 12px;
background-color: alpha(#fff, 0.1); background-color: @hover;
border-radius: 8px; border-radius: var(--radius-sm);
border: none; border: none;
color: #fff; color: @text-main;
font-size: 13px; font-size: 13px;
font-weight: 500; font-weight: 500;
transition: background-color 0.2s ease; transition: background-color 0.2s ease;
} }
#back-button:hover { #back-button:hover {
background-color: alpha(#fff, 0.18); background-color: alpha(@text-main, 0.18);
} }
/* Apple-style app volume items */ /* Apple-style app volume items */
.apple-app-volume-item { .apple-app-volume-item {
margin: 3px 0; margin: 3px 0;
padding: 16px; padding: 16px;
background-color: alpha(#fff, 0.08); background-color: alpha(@text-main, 0.08);
border-radius: 12px; border-radius: var(--radius-md);
border: 1px solid alpha(#fff, 0.12); border: 1px solid alpha(@text-main, 0.12);
transition: background-color 0.2s ease; transition: background-color var(--transition-fast);
} }
.apple-app-volume-item:hover { .apple-app-volume-item:hover {
background-color: alpha(#fff, 0.12); background-color: alpha(@text-main, 0.12);
} }
.apple-app-name { .apple-app-name {
font-size: 14px; font-size: 14px;
font-weight: 600; font-weight: 600;
color: #fff; color: @text-main;
margin-bottom: 4px; margin-bottom: 4px;
letter-spacing: -0.01em; letter-spacing: -0.01em;
} }
@@ -449,22 +449,22 @@
min-width: 28px; min-width: 28px;
min-height: 6px; min-height: 6px;
border-radius: 3px; border-radius: 3px;
background-color: alpha(#fff, 0.25); background-color: alpha(@text-main, 0.25);
border: none; border: none;
box-shadow: inset 0 1px 2px alpha(#000, 0.2); box-shadow: inset 0 1px 2px alpha(#000, 0.2);
} }
#apple-volume-slider highlight { #apple-volume-slider highlight {
background: linear-gradient(90deg, #007aff 0%, #0051d0 100%); background: linear-gradient(90deg, @accent 0%, #0051d0 100%);
border-radius: 3px; border-radius: 3px;
border: none; border: none;
box-shadow: 0 1px 3px alpha(#007aff, 0.3); box-shadow: 0 1px 3px alpha(@accent, 0.3);
} }
#apple-volume-slider slider { #apple-volume-slider slider {
background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
/* border: 2px solid alpha(#007aff, 0.8); */ /* border: 2px solid alpha(@accent, 0.8); */
border-radius: 50%; border-radius: var(--radius-full);
min-width: 20px; min-width: 20px;
min-height: 20px; min-height: 20px;
margin: -10px; margin: -10px;
@@ -475,11 +475,11 @@
} }
#apple-volume-slider slider:hover { #apple-volume-slider slider:hover {
background: linear-gradient(135deg, #ffffff 0%, #f0f1f2 100%); background: linear-gradient(135deg, @text-main 0%, #f0f1f2 100%);
border-color: #007aff; border-color: @accent;
box-shadow: box-shadow:
0 4px 12px alpha(#000, 0.2), 0 4px 12px alpha(#000, 0.2),
0 2px 6px alpha(#007aff, 0.3); 0 2px 6px alpha(@accent, 0.3);
min-width: 22px; min-width: 22px;
min-height: 22px; min-height: 22px;
margin: -9px; margin: -9px;
@@ -492,22 +492,22 @@
margin: -9px; margin: -9px;
box-shadow: box-shadow:
0 2px 6px alpha(#000, 0.25), 0 2px 6px alpha(#000, 0.25),
0 1px 3px alpha(#007aff, 0.4); 0 1px 3px alpha(@accent, 0.4);
} }
/* Legacy app volume styles (fallback) */ /* Legacy app volume styles (fallback) */
.app-volume-item { .app-volume-item {
margin: 8px 0; margin: 8px 0;
padding: 8px; padding: 8px;
background-color: alpha(#fff, 0.05); background-color: alpha(@text-main, 0.05);
border-radius: 6px; border-radius: var(--radius-xs);
border: 1px solid alpha(#fff, 0.1); border: 1px solid alpha(@text-main, 0.1);
} }
.app-name { .app-name {
font-size: 13px; font-size: 13px;
font-weight: 500; font-weight: 500;
color: #fff; color: @text-main;
margin-bottom: 5px; margin-bottom: 5px;
} }
@@ -518,50 +518,50 @@
#app-volume-slider trough { #app-volume-slider trough {
min-width: 20px; min-width: 20px;
border-radius: 99px; border-radius: var(--radius-full);
background-color: alpha(#666, 0.5); background-color: alpha(#666, 0.5);
border: 1px solid alpha(#444, 0.3); border: 1px solid alpha(#444, 0.3);
} }
#app-volume-slider highlight { #app-volume-slider highlight {
background: alpha(#0078d4, 0.8); background: alpha(#0078d4, 0.8);
border-radius: 99px; border-radius: var(--radius-full);
} }
#app-volume-slider slider { #app-volume-slider slider {
background-color: #fff; background-color: @text-main;
padding: 2px; padding: 2px;
min-width: 4px; min-width: 4px;
min-height: 18px; min-height: 18px;
border-radius: 20px; border-radius: var(--radius-xl);
} }
/* Circle button for per-app volume */ /* Circle button for per-app volume */
#per-app-volume-button { #per-app-volume-button {
background-color: alpha(#fff, 0.15); background-color: alpha(@text-main, 0.15);
border: 1px solid alpha(#999, 0.6); border: 1px solid alpha(@text-dim, 0.6);
/* min-width: 33px; */ /* min-width: 33px; */
/* min-height: 30px; */ /* min-height: 30px; */
border-radius: 50%; border-radius: var(--radius-full);
} }
#per-app-volume-button:hover { #per-app-volume-button:hover {
background-color: alpha(#fff, 0.25); background-color: alpha(@text-main, 0.25);
/* border-color: #007aff; */ /* border-color: @accent; */
box-shadow: 0 4px 12px alpha(#000, 0.2); box-shadow: 0 4px 12px alpha(#000, 0.2);
} }
#per-app-volume-button:active { #per-app-volume-button:active {
background-color: alpha(#fff, 0.2); background-color: alpha(@text-main, 0.2);
box-shadow: 0 1px 3px alpha(#000, 0.3); box-shadow: 0 1px 3px alpha(#000, 0.3);
} }
#per-app-volume-icon { #per-app-volume-icon {
background-color: alpha(#fff, 0.15); background-color: alpha(@text-main, 0.15);
border: 2px solid alpha(#999, 0.6); border: 2px solid alpha(@text-dim, 0.6);
border-radius: 50%; border-radius: var(--radius-full);
min-width: 30px; min-width: 30px;
} }
@@ -578,40 +578,40 @@
min-width: 28px; min-width: 28px;
min-height: 3px; min-height: 3px;
border-radius: 1.5px; border-radius: 1.5px;
background-color: alpha(#fff, 0.3); background-color: alpha(@text-main, 0.3);
border: none; border: none;
box-shadow: inset 0 1px 1px alpha(#000, 0.1); box-shadow: inset 0 1px 1px alpha(#000, 0.1);
} }
#apple-seek-bar highlight { #apple-seek-bar highlight {
background: #007aff; background: @accent;
border-radius: 1.5px; border-radius: 1.5px;
border: none; border: none;
box-shadow: 0 0 2px alpha(#007aff, 0.4); box-shadow: 0 0 2px alpha(@accent, 0.4);
} }
#apple-seek-bar slider { #apple-seek-bar slider {
background: #ffffff; background: #ffffff;
border: 1px solid alpha(#007aff, 0.8); border: 1px solid alpha(@accent, 0.8);
border-radius: 50%; border-radius: var(--radius-full);
min-width: 12px; min-width: 12px;
min-height: 12px; min-height: 12px;
margin: -4.5px; margin: -4.5px;
box-shadow: box-shadow:
0 1px 3px alpha(#000, 0.2), 0 1px 3px alpha(#000, 0.2),
0 0 0 1px alpha(#fff, 0.8); 0 0 0 1px alpha(@text-main, 0.8);
transition: all 0.1s ease; transition: all 0.1s ease;
} }
#apple-seek-bar slider:hover { #apple-seek-bar slider:hover {
background: #ffffff; background: @text-main;
border-color: #007aff; border-color: @accent;
min-width: 14px; min-width: 14px;
min-height: 14px; min-height: 14px;
margin: -5.5px; margin: -5.5px;
box-shadow: box-shadow:
0 2px 6px alpha(#000, 0.25), 0 2px 6px alpha(#000, 0.25),
0 0 0 2px alpha(#007aff, 0.3); 0 0 0 2px alpha(@accent, 0.3);
} }
#apple-seek-bar slider:active { #apple-seek-bar slider:active {
@@ -621,7 +621,7 @@
margin: -5px; margin: -5px;
box-shadow: box-shadow:
0 1px 3px alpha(#000, 0.3), 0 1px 3px alpha(#000, 0.3),
0 0 0 2px alpha(#007aff, 0.5); 0 0 0 2px alpha(@accent, 0.5);
} }
/* macOS-style expanded player - more compact */ /* macOS-style expanded player - more compact */
@@ -681,7 +681,7 @@
#macos-player-title { #macos-player-title {
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;
color: #ffffff; color: @text-main;
margin-bottom: 2px; margin-bottom: 2px;
} }
@@ -689,14 +689,14 @@
font-weight: 400; font-weight: 400;
margin-top: -2px; margin-top: -2px;
font-size: 13px; font-size: 13px;
color: alpha(#999, 0.8); color: alpha(@text-dim, 0.8);
} }
#macos-player-album { #macos-player-album {
font-weight: 400; font-weight: 400;
margin-top: -4px; margin-top: -4px;
font-size: 13px; font-size: 13px;
color: alpha(#999, 0.8); color: alpha(@text-dim, 0.8);
margin-bottom: 8px; margin-bottom: 8px;
} }
@@ -712,12 +712,12 @@
min-height: 2px; min-height: 2px;
border-radius: 2px; border-radius: 2px;
background-color: alpha(#fff, 0.25); background-color: alpha(@text-main, 0.25);
border: none; border: none;
} }
#macos-seek-bar highlight { #macos-seek-bar highlight {
background: #ffffff; background: @text-main;
border-radius: 2px; border-radius: 2px;
border: none; border: none;
} }
@@ -743,7 +743,7 @@
#macos-position-label, #macos-position-label,
#macos-length-label { #macos-length-label {
font-size: 11px; font-size: 11px;
color: alpha(#999, 0.9); color: alpha(@text-dim, 0.9);
font-weight: 400; font-weight: 400;
} }
@@ -756,15 +756,15 @@
#macos-control-button { #macos-control-button {
background: transparent; background: transparent;
border: none; border: none;
border-radius: 50%; border-radius: var(--radius-full);
min-width: 28px; min-width: 28px;
/* Slightly smaller */ /* Slightly smaller */
opacity: 0.7; opacity: 0.7;
min-height: 28px; min-height: 28px;
padding: 5px; padding: 5px;
/* Reduced padding */ /* Reduced padding */
color: #ffffff; color: @text-main;
transition: all 0.15s ease; transition: all var(--transition-fast) ease;
} }
#macos-control-button:hover { #macos-control-button:hover {
@@ -774,15 +774,15 @@
#macos-play-button { #macos-play-button {
background: transparent; background: transparent;
border: none; border: none;
border-radius: 50%; border-radius: var(--radius-full);
min-width: 36px; min-width: 36px;
/* Slightly smaller */ /* Slightly smaller */
opacity: 0.7; opacity: 0.7;
min-height: 36px; min-height: 36px;
padding: 7px; padding: 7px;
/* Reduced padding */ /* Reduced padding */
color: #ffffff; color: @text-main;
transition: all 0.15s ease; transition: all var(--transition-fast) ease;
} }
#macos-play-button:hover { #macos-play-button:hover {
@@ -796,9 +796,9 @@
} }
.macos-switcher-dot { .macos-switcher-dot {
background: alpha(#fff, 0.3); background: alpha(@text-main, 0.3);
/* border: none; */ /* border: none; */
border-radius: 50%; border-radius: var(--radius-full);
min-width: 12px; min-width: 12px;
/* Smaller dots */ /* Smaller dots */
min-height: 12px; min-height: 12px;
@@ -808,12 +808,12 @@
} }
.macos-switcher-dot:hover { .macos-switcher-dot:hover {
background: alpha(#fff, 0.5); background: alpha(@text-main, 0.5);
} }
.macos-switcher-dot.active { .macos-switcher-dot.active {
background: #ffffff; background: @text-main;
box-shadow: 0 0 0 1px alpha(#fff, 0.3); box-shadow: 0 0 0 1px alpha(@text-main, 0.3);
/* Smaller glow */ /* Smaller glow */
} }
@@ -822,7 +822,7 @@
.compact-app-volume-item { .compact-app-volume-item {
padding-bottom: 5px; padding-bottom: 5px;
padding-right: 14px; padding-right: 14px;
border-bottom: 1px solid alpha(#fff, 0.1); border-bottom: 1px solid @hover;
} }
#app-icon { #app-icon {
@@ -851,7 +851,7 @@
min-height: 2px; min-height: 2px;
border-radius: 2px; border-radius: 2px;
background-color: alpha(#fff, 0.25); background-color: alpha(@text-main, 0.25);
border: none; border: none;
} }
@@ -883,18 +883,18 @@
#wifi-connections, #wifi-connections,
#bluetooth-connections { #bluetooth-connections {
/* background-color: rgba(255, 255, 255, 0.08); */ /* background-color: rgba(255, 255, 255, 0.08); */
background-color: alpha(#fff, 0.05); background-color: alpha(@text-main, 0.05);
box-shadow: inset 0 0 0 1px alpha(#aaa, 0.4); box-shadow: inset 0 0 0 1px alpha(@text-dim, 0.4);
border: 1px solid alpha(#111, 0.4); border: 1px solid @border-strong;
border-radius: 8px; border-radius: var(--radius-sm);
/* padding: 0.5rem; */ /* padding: 0.5rem; */
/* border-radius: 12px; */ /* border-radius: var(--radius-md); */
padding: 10px; padding: 10px;
} }
/* WiFi network slots - macOS style */ /* WiFi network slots - macOS style */
#wifi-network-slot button { #wifi-network-slot button {
border-radius: 8px; border-radius: var(--radius-sm);
padding: 4px 4px; padding: 4px 4px;
/* min-width: 280px; */ /* min-width: 280px; */
margin: 2px 0; margin: 2px 0;
@@ -910,12 +910,12 @@
} }
#wifi-connections #device-icon.connected { #wifi-connections #device-icon.connected {
background-color: #007aff; background-color: @accent;
color: #ffffff; color: @text-main;
} }
#wifi-network-name { #wifi-network-name {
color: #ffffff; color: @text-main;
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
} }
@@ -932,7 +932,7 @@
padding: 8px 6px; padding: 8px 6px;
margin-bottom: -12px; margin-bottom: -12px;
margin-top: -6px; margin-top: -6px;
border-radius: 8px; border-radius: var(--radius-sm);
/* transition: background-color 0.2s ease; */ /* transition: background-color 0.2s ease; */
} }
@@ -946,7 +946,7 @@
#device-button { #device-button {
/* background-color: #000; */ /* background-color: #000; */
border-radius: 8px; border-radius: var(--radius-sm);
} }
.device-slot:hover { .device-slot:hover {
@@ -968,19 +968,19 @@
padding-left: 5px; padding-left: 5px;
margin-top: -2px; margin-top: -2px;
font-weight: bold; font-weight: bold;
color: #ffffff; color: @text-main;
} }
.wifi-icon-box { .wifi-icon-box {
background-color: #aaaaaa; background-color: #aaaaaa;
border-radius: 50%; border-radius: var(--radius-full);
padding: 2px; padding: 2px;
/* margin-right: 8px; */ /* margin-right: 8px; */
} }
.wifi-icon-box-connected { .wifi-icon-box-connected {
background-color: #007aff; background-color: @accent;
border-radius: 50%; border-radius: var(--radius-full);
padding: 2px; padding: 2px;
/* margin-right: 8px; */ /* margin-right: 8px; */
} }
+5 -5
View File
@@ -3,8 +3,8 @@
padding: 4px 4px; padding: 4px 4px;
margin: 4px 4px; margin: 4px 4px;
border: none; border: none;
border-radius: 16px; border-radius: var(--radius-lg);
transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1); transition: all var(--transition-fast) cubic-bezier(0.165, 0.84, 0.44, 1);
} }
#dock.shown { #dock.shown {
@@ -54,13 +54,13 @@
#dock_item_icon { #dock_item_icon {
border-radius: 13px; border-radius: 13px;
opacity: 0.7; opacity: 0.7;
transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1); transition: all var(--transition-fast) cubic-bezier(0.25, 0.1, 0.25, 1);
} }
/* #dock_item_indicator { */ /* #dock_item_indicator { */
/* transition: all 0.15s ease-out; */ /* transition: all 0.15s ease-out; */
/* min-height: 4px; */ /* min-height: 4px; */
/* border-radius: 4px; */ /* border-radius: var(--radius-xs); */
/* } */ /* } */
#dock_item { #dock_item {
@@ -82,7 +82,7 @@
min-height: 50px; min-height: 50px;
margin: 0px 4px; margin: 0px 4px;
border-radius: 2px; border-radius: 2px;
background-color: #2b5ea7; background-color: @accent;
} }
.dock_separator.hidden { .dock_separator.hidden {
+7 -7
View File
@@ -6,16 +6,16 @@
} }
#dropdown-options { #dropdown-options {
background-color: alpha(#000, 0.3); background-color: @shadow-color;
box-shadow: inset 0 0 0 1px alpha(#aaa, 0.4); box-shadow: inset 0 0 0 1px alpha(@text-dim, 0.4);
border: 1px solid alpha(#111, 0.4); border: 1px solid @border-strong;
border-radius: 0.75rem; border-radius: 0.75rem;
padding: 0.5rem; padding: 0.5rem;
} }
#dropdown-option { #dropdown-option {
background-color: transparent; background-color: transparent;
border-radius: 5px; border-radius: var(--radius-xs);
padding: 0px 10px; padding: 0px 10px;
margin: 1px 2px; margin: 1px 2px;
transition: all 0ms ease-in-out; transition: all 0ms ease-in-out;
@@ -30,7 +30,7 @@
#dropdown-option-label { #dropdown-option-label {
font-size: 13px; font-size: 13px;
margin: 0px; margin: 0px;
color: #fff; color: @text-main;
font-weight: 400; font-weight: 400;
} }
@@ -39,7 +39,7 @@
} }
#dropdown-option:hover #dropdown-option-keybind { #dropdown-option:hover #dropdown-option-keybind {
color: #fff; color: @text-main;
} }
#dropdown-option-keybind { #dropdown-option-keybind {
@@ -51,7 +51,7 @@
#dropdown-divider-box { #dropdown-divider-box {
background-color: transparent; background-color: transparent;
border-radius: 5px; border-radius: var(--radius-xs);
padding: 0px 10px; padding: 0px 10px;
margin: 2px; margin: 2px;
} }
+17 -17
View File
@@ -1,7 +1,7 @@
#launcher { #launcher {
background-color: alpha(#000, 0.3); background-color: @shadow-color;
padding: 0; padding: 0;
border-radius: 12px; border-radius: var(--radius-md);
min-width: 640px; min-width: 640px;
border: 1px solid rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1);
} }
@@ -17,7 +17,7 @@
#close-button, #close-button,
#config-button { #config-button {
background-color: transparent; background-color: transparent;
border-radius: 6px; border-radius: var(--radius-xs);
padding: 6px; padding: 6px;
transition: all 0.15s ease; transition: all 0.15s ease;
} }
@@ -27,27 +27,27 @@
#config-button:hover, #config-button:hover,
#config-button:focus { #config-button:focus {
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
border-radius: 6px; border-radius: var(--radius-xs);
} }
#close-button.focused, #close-button.focused,
#config-button.focused { #config-button.focused {
background-color: rgba(0, 122, 255, 0.2); background-color: rgba(0, 122, 255, 0.2);
border-radius: 6px; border-radius: var(--radius-xs);
box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.4); box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.4);
} }
#close-button.focused #close-label { #close-button.focused #close-label {
color: #007aff; color: @accent;
} }
#config-button.focused #config-label { #config-button.focused #config-label {
color: #007aff; color: @accent;
} }
#close-button:active { #close-button:active {
background-color: rgba(255, 255, 255, 0.2); background-color: rgba(255, 255, 255, 0.2);
border-radius: 6px; border-radius: var(--radius-xs);
} }
#close-label { #close-label {
@@ -61,7 +61,7 @@
#config-button:active { #config-button:active {
background-color: rgba(255, 255, 255, 0.2); background-color: rgba(255, 255, 255, 0.2);
border-radius: 6px; border-radius: var(--radius-xs);
} }
#config-label { #config-label {
@@ -134,11 +134,11 @@
} }
#launcher-result-item { #launcher-result-item {
border-radius: 8px; border-radius: var(--radius-sm);
padding: 12px 16px; padding: 12px 16px;
margin: 2px 0; margin: 2px 0;
min-height: 64px; min-height: 64px;
transition: all 0.15s ease; transition: all var(--transition-fast);
background: transparent; background: transparent;
} }
@@ -156,8 +156,8 @@
#launcher-result-item:selected, #launcher-result-item:selected,
#launcher-result-item:hover, #launcher-result-item:hover,
#launcher-result-item.selected { #launcher-result-item.selected {
border-radius: 8px; border-radius: var(--radius-sm);
background-color: rgba(0, 122, 255, 0.8); background-color: alpha(@accent, 0.8);
padding: 12px 16px; padding: 12px 16px;
margin: 2px 0; margin: 2px 0;
} }
@@ -187,7 +187,7 @@
min-width: 56px; min-width: 56px;
min-height: 56px; min-height: 56px;
margin-right: 16px; margin-right: 16px;
border-radius: 12px; border-radius: var(--radius-md);
} }
#result-item-title { #result-item-title {
@@ -218,13 +218,13 @@
background: rgba(255, 255, 255, 0.05); background: rgba(255, 255, 255, 0.05);
color: rgba(255, 255, 255, 0.9); color: rgba(255, 255, 255, 0.9);
padding: 12px; padding: 12px;
border-radius: 8px; border-radius: var(--radius-sm);
margin-bottom: 8px; margin-bottom: 8px;
font-size: 14px; font-size: 14px;
} }
#network-password-entry:focus { #network-password-entry:focus {
border: 1px solid rgba(0, 122, 255, 0.6); border: 1px solid alpha(@accent, 0.6);
background: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.1);
box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2); box-shadow: 0 0 0 3px alpha(@accent, 0.2);
} }
+6 -6
View File
@@ -11,8 +11,8 @@
transition: all 0.7s ease-in-out; transition: all 0.7s ease-in-out;
} }
#password-entry { #password-entry {
background-color: alpha(#fff, 0.4); background-color: alpha(@text-main, 0.4);
border-radius: 20px; border-radius: var(--radius-xl);
color: white; color: white;
min-width: 220px; min-width: 220px;
min-height: 40px; min-height: 40px;
@@ -33,7 +33,7 @@
} }
#lock-date label { #lock-date label {
background-color: transparent; background-color: transparent;
color: alpha(#fff, 0.6); color: alpha(@text-main, 0.6);
border: none; border: none;
font-size: 30px; font-size: 30px;
margin-top: 80px; margin-top: 80px;
@@ -41,7 +41,7 @@
} }
#lock-clock label { #lock-clock label {
background-color: transparent; background-color: transparent;
color: alpha(#fff, 0.6); color: alpha(@text-main, 0.6);
border: none; border: none;
font-size: 120px; font-size: 120px;
margin-top: -20px; margin-top: -20px;
@@ -50,7 +50,7 @@
#face-icon image { #face-icon image {
margin-bottom: 10px; margin-bottom: 10px;
border-radius: 99px; border-radius: var(--radius-full);
} }
#face-icon { #face-icon {
padding-bottom: 10px; padding-bottom: 10px;
@@ -61,6 +61,6 @@
} }
#unlock-text { #unlock-text {
font-size: 15px; font-size: 15px;
color: alpha(#fff, 0.6); color: alpha(@text-main, 0.6);
font-weight: bold; font-weight: bold;
} }
+24 -24
View File
@@ -1,8 +1,8 @@
#noti-center-box { #noti-center-box {
background-color: transparent; background-color: transparent;
/* border: 1px solid alpha(#111, 0.3); */ /* border: 1px solid @border-subtle; */
border-radius: 20px; border-radius: var(--radius-xl);
margin-right: 10px; margin-right: 10px;
/* padding: 20px; */ /* padding: 20px; */
/* margin: 6px; */ /* margin: 6px; */
@@ -14,7 +14,7 @@
min-height: 25px; min-height: 25px;
min-width: 70px; min-width: 70px;
border: 1px solid #525155; border: 1px solid #525155;
border-radius: 15px; border-radius: var(--radius-md);
margin-top: 10px; margin-top: 10px;
} }
@@ -23,7 +23,7 @@
} }
#noti-clear-button:hover { #noti-clear-button:hover {
background-color: alpha(#fff, 0.09); background-color: alpha(@text-main, 0.09);
} }
/* Expandable notification group styles */ /* Expandable notification group styles */
@@ -35,13 +35,13 @@
#single-notification-content { #single-notification-content {
background-color: alpha(#1c2328, 0.05); background-color: alpha(#1c2328, 0.05);
border: 1.5px solid #525155; border: 1.5px solid #525155;
border-radius: 12px; border-radius: var(--radius-md);
padding: 12px; padding: 12px;
transition: all 0.2s ease; transition: all 0.2s ease;
} }
#single-notification-content:hover { #single-notification-content:hover {
background-color: alpha(#999, 0.9); background-color: alpha(@text-dim, 0.9);
border: 1.5px solid #525155; border: 1.5px solid #525155;
} }
@@ -55,7 +55,7 @@
#stack-shadow-bottom { #stack-shadow-bottom {
background-color: alpha(#1c2328, 0.05); background-color: alpha(#1c2328, 0.05);
border-top: 1px solid #525155; border-top: 1px solid #525155;
border-radius: 12px; border-radius: var(--radius-md);
opacity: 1; opacity: 1;
min-height: 16px; min-height: 16px;
margin-left: 20px; margin-left: 20px;
@@ -68,7 +68,7 @@
background-color: alpha(#1c2328, 0.05); background-color: alpha(#1c2328, 0.05);
border-top: 1px solid #525155; border-top: 1px solid #525155;
border-radius: 12px; border-radius: var(--radius-md);
opacity: 1; opacity: 1;
min-height: 20px; min-height: 20px;
margin-left: 10px; margin-left: 10px;
@@ -81,7 +81,7 @@
background-color: alpha(#1c2328, 0.05); background-color: alpha(#1c2328, 0.05);
border: 1.2px solid #525155; border: 1.2px solid #525155;
border-radius: 12px; border-radius: var(--radius-md);
padding: 12px; padding: 12px;
transition: all 0.2s ease; transition: all 0.2s ease;
} }
@@ -104,7 +104,7 @@
#notification-content-collapsed { #notification-content-collapsed {
background-color: alpha(#000, 0.05); background-color: alpha(#000, 0.05);
border: 1px solid #525155; border: 1px solid #525155;
border-radius: 12px; border-radius: var(--radius-md);
padding: 12px; padding: 12px;
margin: 2px 0; margin: 2px 0;
transition: all 0.2s ease; transition: all 0.2s ease;
@@ -117,7 +117,7 @@
/* Notification count badge */ /* Notification count badge */
#notification-count-label { #notification-count-label {
background-color: alpha(#fff, 0.2); background-color: alpha(@text-main, 0.2);
color: rgba(255, 255, 255, 0.8); color: rgba(255, 255, 255, 0.8);
border-radius: 10px; border-radius: 10px;
padding: 2px 6px; padding: 2px 6px;
@@ -136,7 +136,7 @@
} }
#notification-group-title { #notification-group-title {
color: #ffffff; color: @text-main;
font-weight: bold; font-weight: bold;
font-size: 14px; font-size: 14px;
} }
@@ -144,23 +144,23 @@
#notification-show-less { #notification-show-less {
background-color: transparent; background-color: transparent;
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
border: 1px solid alpha(#fff, 0.2); border: 1px solid alpha(@text-main, 0.2);
border-radius: 6px; border-radius: var(--radius-xs);
padding: 2px 8px; padding: 2px 8px;
font-size: 11px; font-size: 11px;
margin-right: 8px; margin-right: 8px;
} }
#notification-show-less:hover { #notification-show-less:hover {
background-color: alpha(#999, 0.7); background-color: alpha(@text-dim, 0.7);
color: rgba(255, 255, 255, 0.9); color: rgba(255, 255, 255, 0.9);
} }
#notification-close-all { #notification-close-all {
background-color: transparent; background-color: transparent;
color: rgba(255, 255, 255, 0.7); color: rgba(255, 255, 255, 0.7);
border: 1px solid alpha(#fff, 0.2); border: 1px solid alpha(@text-main, 0.2);
border-radius: 6px; border-radius: var(--radius-xs);
padding: 2px 8px; padding: 2px 8px;
font-size: 12px; font-size: 12px;
min-width: 24px; min-width: 24px;
@@ -191,7 +191,7 @@
.stacked-notification-item { .stacked-notification-item {
background-color: alpha(#000, 0.05); background-color: alpha(#000, 0.05);
border: 1px solid #525155; border: 1px solid #525155;
border-radius: 12px; border-radius: var(--radius-md);
transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
} }
@@ -226,7 +226,7 @@
/* Make expanded notifications clickable with subtle hover effect */ /* Make expanded notifications clickable with subtle hover effect */
#expanded-notification-list:hover { #expanded-notification-list:hover {
background-color: alpha(#111, 0.9); background-color: alpha(#111, 0.9);
border-radius: 8px; border-radius: var(--radius-sm);
transition: background-color 0.2s ease; transition: background-color 0.2s ease;
} }
@@ -239,13 +239,13 @@
background-color: alpha(#1c2328, 0.05); background-color: alpha(#1c2328, 0.05);
font-size: 12px; font-size: 12px;
margin: 10px; margin: 10px;
border-radius: 15px; border-radius: var(--radius-md);
} }
#notification-close-all { #notification-close-all {
margin: 10px 10px 10px 0; margin: 10px 10px 10px 0;
background-color: alpha(#1c2328, 0.05); background-color: alpha(#1c2328, 0.05);
border-radius: 15px; border-radius: var(--radius-md);
} }
#notif-close-button { #notif-close-button {
@@ -270,7 +270,7 @@
min-height: 40px; min-height: 40px;
padding: 10px; padding: 10px;
border: 1px solid #525155; border: 1px solid #525155;
border-radius: 12px; border-radius: var(--radius-md);
} }
#notification-centre-notifs:last-child { #notification-centre-notifs:last-child {
@@ -284,13 +284,13 @@
#notification-close-header { #notification-close-header {
min-width: 23px; min-width: 23px;
min-height: 23px; min-height: 23px;
border-radius: 50%; border-radius: var(--radius-full);
} }
#notification-close:hover { #notification-close:hover {
background-color: alpha(#666, 0.8); background-color: alpha(#666, 0.8);
min-width: 23px; min-width: 23px;
min-height: 23px; min-height: 23px;
border-radius: 50%; border-radius: var(--radius-full);
} }
#notification-close-summery:hover .notification-close-header button { #notification-close-summery:hover .notification-close-header button {
background-color: transparent; background-color: transparent;
+13 -13
View File
@@ -1,29 +1,29 @@
#notification { #notification {
padding: 10px; padding: 10px;
background-color: alpha(#fff, 0.03); background-color: alpha(@text-main, 0.03);
border-radius: 8px; border-radius: var(--radius-sm);
margin-top: 10px; margin-top: 10px;
margin-right: 10px; margin-right: 10px;
/* margin: 5px; */ /* margin: 5px; */
} }
#notification-close-button { #notification-close-button {
background-color: alpha(#999, 0.3); background-color: alpha(@text-dim, 0.3);
border-radius: 8px; border-radius: var(--radius-sm);
} }
#notification-close-button:hover { #notification-close-button:hover {
background-color: alpha(#2369ff, 0.9); background-color: alpha(@accent, 0.9);
} }
#notification-action-buttons button { #notification-action-buttons button {
background-color: alpha(#999, 0.3); background-color: alpha(@text-dim, 0.3);
padding: 4px; padding: 4px;
border-radius: 7px; border-radius: var(--radius-sm);
transition: background-color 0.1s ease; transition: background-color var(--transition-fast);
} }
#notification-action-buttons button:hover { #notification-action-buttons button:hover {
background-color: alpha(#2369ff, 0.9); background-color: alpha(@accent, 0.9);
} }
#notification-action-buttons button:active { #notification-action-buttons button:active {
@@ -35,11 +35,11 @@
} }
#notification-icon { #notification-icon {
border-radius: 16px; border-radius: var(--radius-lg);
} }
#notification-image { #notification-image {
border-radius: 16px; border-radius: var(--radius-lg);
color: var(--on-surface); color: var(--on-surface);
} }
@@ -64,9 +64,9 @@
#notif-close-button { #notif-close-button {
background-color: var(--surface); background-color: var(--surface);
border-radius: 16px; border-radius: var(--radius-lg);
padding: 4px; padding: 4px;
transition: background-color 0.1s ease; transition: background-color var(--transition-fast);
} }
#notif-close-button:hover, #notif-close-button:hover,
+4 -4
View File
@@ -1,10 +1,10 @@
#osd-container { #osd-container {
background-color: alpha(#fff, 0.09); background-color: alpha(@text-main, 0.09);
padding: 12px 20px; padding: 12px 20px;
margin: 70px; margin: 70px;
min-width: 180px; min-width: 180px;
min-height: 200px; min-height: 200px;
border-radius: 16px; border-radius: var(--radius-lg);
} }
#osd-container scale { #osd-container scale {
@@ -16,11 +16,11 @@
min-height: 15px; min-height: 15px;
margin-right: 4px; margin-right: 4px;
transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275); transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
border-radius: 16px; border-radius: var(--radius-lg);
} }
#osd-container trough highlight { #osd-container trough highlight {
border-radius: 100px; border-radius: var(--radius-full);
background: var(--primary); background: var(--primary);
transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275); transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
} }
+3 -3
View File
@@ -33,7 +33,7 @@
#tray-button { #tray-button {
margin: 5px 0; margin: 5px 0;
padding: 0 2px; padding: 0 2px;
border-radius: 8px; border-radius: var(--radius-sm);
} }
#menubar label, #menubar label,
@@ -45,7 +45,7 @@
#global-menu { #global-menu {
margin: 5px 2px; margin: 5px 2px;
padding: 0 5px; padding: 0 5px;
border-radius: 5px; border-radius: var(--radius-xs);
} }
#date-time { #date-time {
@@ -55,7 +55,7 @@
#workspaces>button { #workspaces>button {
margin: 6px 0; margin: 6px 0;
padding: 0 16px; padding: 0 16px;
border-radius: 8px; border-radius: var(--radius-sm);
min-width: 12px; min-width: 12px;
border: 1px solid @border; border: 1px solid @border;
} }
+19 -19
View File
@@ -3,8 +3,8 @@
} }
#wifi-dialog-background { #wifi-dialog-background {
background-color: alpha(#fff, 0.05); background-color: alpha(@text-main, 0.05);
border-radius: 12px; border-radius: var(--radius-md);
border: 1px solid rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1);
padding: 20px; padding: 20px;
min-width: 450px; min-width: 450px;
@@ -15,12 +15,12 @@
} }
#wifi-dialog-icon { #wifi-dialog-icon {
color: #007aff; color: @accent;
margin-right: 4px; margin-right: 4px;
} }
#wifi-dialog-title { #wifi-dialog-title {
color: #ffffff; color: @text-main;
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
} }
@@ -37,7 +37,7 @@
} }
#wifi-dialog-password-label { #wifi-dialog-password-label {
color: #ffffff; color: @text-main;
font-size: 13px; font-size: 13px;
font-weight: 500; font-weight: 500;
margin-bottom: 4px; margin-bottom: 4px;
@@ -46,14 +46,14 @@
#wifi-dialog-password-entry { #wifi-dialog-password-entry {
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 6px; border-radius: var(--radius-xs);
padding: 8px 12px; padding: 8px 12px;
color: #ffffff; color: @text-main;
font-size: 13px; font-size: 13px;
} }
#wifi-dialog-password-entry:focus { #wifi-dialog-password-entry:focus {
border-color: #007aff; border-color: @accent;
box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.3); box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.3);
background-color: rgba(255, 255, 255, 0.15); background-color: rgba(255, 255, 255, 0.15);
} }
@@ -66,21 +66,21 @@
background-color: transparent; background-color: transparent;
border: none; border: none;
padding: 4px; padding: 4px;
border-radius: 4px; border-radius: var(--radius-xs);
min-width: 24px; min-width: 24px;
min-height: 24px; min-height: 24px;
} }
#wifi-dialog-show-password-button:hover { #wifi-dialog-show-password-button:hover {
background-color: alpha(#fff, 0.1); background-color: alpha(@text-main, 0.1);
} }
#wifi-dialog-show-password-button image { #wifi-dialog-show-password-button image {
color: #ffffff; color: @text-main;
} }
#wifi-dialog-show-password-label { #wifi-dialog-show-password-label {
color: #ffffff; color: @text-main;
font-size: 12px; font-size: 12px;
} }
@@ -90,7 +90,7 @@
#wifi-dialog-cancel-button, #wifi-dialog-cancel-button,
#wifi-dialog-join-button { #wifi-dialog-join-button {
border-radius: 6px; border-radius: var(--radius-xs);
font-size: 13px; font-size: 13px;
font-weight: 500; font-weight: 500;
min-width: 80px; min-width: 80px;
@@ -100,7 +100,7 @@
#wifi-dialog-cancel-button { #wifi-dialog-cancel-button {
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.2);
color: #ffffff; color: @text-main;
} }
#wifi-dialog-cancel-button:hover { #wifi-dialog-cancel-button:hover {
@@ -108,14 +108,14 @@
} }
#wifi-dialog-join-button { #wifi-dialog-join-button {
background-color: #007aff; background-color: @accent;
border: 1px solid #007aff; border: 1px solid @accent;
color: #ffffff; color: @text-main;
} }
#wifi-dialog-join-button:hover { #wifi-dialog-join-button:hover {
background-color: #0056cc; background-color: @accent-hover;
border-color: #0056cc; border-color: @accent-hover;
} }
#wifi-dialog-join-button.disabled { #wifi-dialog-join-button.disabled {
+24 -24
View File
@@ -1,5 +1,5 @@
#player-stack-button { #player-stack-button {
border-radius: 5px; border-radius: var(--radius-xs);
min-width: 7px; min-width: 7px;
min-height: 7px; min-height: 7px;
margin: 10px 3px; margin: 10px 3px;
@@ -17,40 +17,40 @@
} }
#player-stack-button.active { #player-stack-button.active {
border-radius: 5px; border-radius: var(--radius-xs);
background-color: rgb(221.25, 221.25, 223.65); background-color: rgb(221.25, 221.25, 223.65);
} }
#outer-player-box { #outer-player-box {
min-height: 110px; min-height: 110px;
min-width: 320px; min-width: 320px;
border-radius: 10px; border-radius: var(--radius-sm);
margin: 0 6px; margin: 0 6px;
background-color: alpha(#000, 0.3); background-color: @shadow-color;
box-shadow: inset 0 0 0 1px alpha(#aaa, 0.4); box-shadow: inset 0 0 0 1px alpha(@text-dim, 0.4);
} }
#outer-player-box-c { #outer-player-box-c {
min-height: 55px; min-height: 55px;
min-width: 245px; min-width: 245px;
border-radius: 8px; border-radius: var(--radius-sm);
/* margin: 0 6px; */ /* margin: 0 6px; */
/* background-color: alpha(#000, 0.3); */ /* background-color: @shadow-color; */
/* box-shadow: inset 0 0 0 1px alpha(#aaa, 0.4); */ /* box-shadow: inset 0 0 0 1px alpha(@text-dim, 0.4); */
} }
#outer-no-player-box-c { #outer-no-player-box-c {
min-height: 55px; min-height: 55px;
min-width: 345px; min-width: 345px;
border-radius: 8px; border-radius: var(--radius-sm);
/* margin: 0 6px; */ /* margin: 0 6px; */
/* background-color: alpha(#000, 0.3); */ /* background-color: @shadow-color; */
/* box-shadow: inset 0 0 0 1px alpha(#aaa, 0.4); */ /* box-shadow: inset 0 0 0 1px alpha(@text-dim, 0.4); */
} }
#box-c { #box-c {
background-color: alpha(#000, 0.08); background-color: @bg-darker;
box-shadow: inset 0 0 0 0.5px alpha(#aaa, 0.4); box-shadow: inset 0 0 0 0.5px alpha(@text-dim, 0.4);
border: 1px solid alpha(#111, 0.4); border: 1px solid @border-strong;
border-radius: 12px; border-radius: var(--radius-md);
margin-top: 0.5rem; margin-top: 0.5rem;
margin-left: 4px; margin-left: 4px;
margin-right: 4px; margin-right: 4px;
@@ -58,11 +58,11 @@
min-height: 50px; min-height: 50px;
min-width: 330px; min-width: 330px;
/* border-radius: 8px; */ /* border-radius: var(--radius-sm); */
/* margin: 0 6px 10px; */ /* margin: 0 6px 10px; */
/* border: 0.5px solid alpha(#000, 0.4); */ /* border: 0.5px solid alpha(#000, 0.4); */
/* background-color: alpha(#999, 0.1); */ /* background-color: alpha(@text-dim, 0.1); */
/* box-shadow: inset 0 0 0 1px alpha(#aaa, 0.4); */ /* box-shadow: inset 0 0 0 1px alpha(@text-dim, 0.4); */
} }
#player-box:disabled highlight, #player-box:disabled highlight,
#player-box:disabled progress { #player-box:disabled progress {
@@ -98,7 +98,7 @@
#player-artist-c { #player-artist-c {
margin-top: -5px; margin-top: -5px;
color: #999; color: @text-dim;
font-size: 12px; font-size: 12px;
} }
#player-artist, #player-artist,
@@ -142,7 +142,7 @@
margin-bottom: 10px; margin-bottom: 10px;
background-size: cover; background-size: cover;
margin-left: 10px; margin-left: 10px;
border-radius: 5px; border-radius: var(--radius-xs);
} }
.album-image { .album-image {
min-width: 70px; min-width: 70px;
@@ -162,17 +162,17 @@
#seek-bar scale { #seek-bar scale {
background-color: transparent; background-color: transparent;
margin-top: 10px; margin-top: 10px;
border-radius: 10px; border-radius: var(--radius-sm);
} }
#seek-bar trough { #seek-bar trough {
min-width: 10px; min-width: 10px;
border-radius: 99px; border-radius: var(--radius-full);
background-color: alpha(#666, 0.5); background-color: alpha(#666, 0.5);
border: 1px solid alpha(#444, 0.3); border: 1px solid alpha(#444, 0.3);
} }
#seek-bar highlight { #seek-bar highlight {
background: alpha(#fff, 0.8); background: alpha(@text-main, 0.8);
border-radius: 99px; border-radius: var(--radius-full);
} }
+8 -8
View File
@@ -1,6 +1,6 @@
#settings-window { #settings-window {
background-color: var(--background); background-color: var(--background);
border-radius: 12px; border-radius: var(--radius-md);
border: 1px solid var(--border); border: 1px solid var(--border);
min-width: 850px; min-width: 850px;
min-height: 600px; min-height: 600px;
@@ -19,7 +19,7 @@
#settings-sidebar-button { #settings-sidebar-button {
padding: 10px 15px; padding: 10px 15px;
border-radius: 8px; border-radius: var(--radius-sm);
margin-bottom: 2px; margin-bottom: 2px;
} }
@@ -53,7 +53,7 @@
#settings-row { #settings-row {
padding: 12px 15px; padding: 12px 15px;
border-radius: 8px; border-radius: var(--radius-sm);
background-color: rgba(255, 255, 255, 0.03); background-color: rgba(255, 255, 255, 0.03);
margin-bottom: 2px; margin-bottom: 2px;
} }
@@ -71,7 +71,7 @@
#settings-switch { #settings-switch {
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
padding: 6px 12px; padding: 6px 12px;
border-radius: 20px; border-radius: var(--radius-xl);
min-width: 50px; min-width: 50px;
transition: all 0.2s ease; transition: all 0.2s ease;
} }
@@ -84,7 +84,7 @@
#settings-entry { #settings-entry {
background-color: rgba(255, 255, 255, 0.05); background-color: rgba(255, 255, 255, 0.05);
padding: 8px 12px; padding: 8px 12px;
border-radius: 6px; border-radius: var(--radius-xs);
border: 1px solid var(--border); border: 1px solid var(--border);
min-width: 200px; min-width: 200px;
color: var(--foreground); color: var(--foreground);
@@ -97,7 +97,7 @@
#settings-combo { #settings-combo {
background-color: rgba(255, 255, 255, 0.05); background-color: rgba(255, 255, 255, 0.05);
padding: 4px 8px; padding: 4px 8px;
border-radius: 6px; border-radius: var(--radius-xs);
border: 1px solid var(--border); border: 1px solid var(--border);
min-width: 150px; min-width: 150px;
color: var(--foreground); color: var(--foreground);
@@ -113,7 +113,7 @@
#settings-list-tag { #settings-list-tag {
background-color: rgba(255, 255, 255, 0.08); background-color: rgba(255, 255, 255, 0.08);
border-radius: 15px; border-radius: var(--radius-md);
padding: 4px 10px; padding: 4px 10px;
margin-right: 5px; margin-right: 5px;
margin-bottom: 5px; margin-bottom: 5px;
@@ -141,6 +141,6 @@
background-color: rgba(255, 255, 255, 0.03); background-color: rgba(255, 255, 255, 0.03);
border: 1px dashed var(--border); border: 1px dashed var(--border);
padding: 6px 12px; padding: 6px 12px;
border-radius: 6px; border-radius: var(--radius-xs);
font-size: 13px; font-size: 13px;
} }
+3 -3
View File
@@ -1,6 +1,6 @@
#application-switcher-container { #application-switcher-container {
background-color: var(--shadow); background-color: var(--shadow);
border-radius: 20px; border-radius: var(--radius-xl);
padding: 24px; padding: 24px;
} }
@@ -17,7 +17,7 @@
#window-button { #window-button {
background-color: transparent; background-color: transparent;
border-radius: 12px; border-radius: var(--radius-md);
} }
#window-button.active { #window-button.active {
@@ -39,7 +39,7 @@
} }
#switcher-icon-box { #switcher-icon-box {
border-radius: 12px; border-radius: var(--radius-md);
padding: 4px; padding: 4px;
} }
+4 -4
View File
@@ -1,7 +1,7 @@
tooltip { tooltip {
border: #474747 solid 1px; border: #474747 solid 1px;
border-radius: 0.75rem; border-radius: 0.75rem;
background-color: alpha(#fff, 0.05); background-color: alpha(@text-main, 0.05);
} }
@keyframes tooltipShow { @keyframes tooltipShow {
@@ -23,7 +23,7 @@ menu {
border: #474747 solid 1px; border: #474747 solid 1px;
border-radius: 0.75rem; border-radius: 0.75rem;
transition: all 100ms ease-in-out; transition: all 100ms ease-in-out;
background-color: alpha(#fff, 0.05); background-color: alpha(@text-main, 0.05);
} }
menu > menuitem { menu > menuitem {
@@ -39,12 +39,12 @@ menu > menuitem:last-child {
menu > menuitem:hover { menu > menuitem:hover {
transition: all 20ms ease-in-out; transition: all 20ms ease-in-out;
font-size: 13px; font-size: 13px;
border-radius: 4px; border-radius: var(--radius-xs);
color: #222; color: #222;
background-color: alpha(#2369ff, 1); background-color: alpha(#2369ff, 1);
} }
menu > menuitem:hover > label { menu > menuitem:hover > label {
color: #fff; color: @text-main;
font-weight: 400; font-weight: 400;
} }
+11 -11
View File
@@ -2,8 +2,8 @@
margin: 5px 5px 20px 5px; margin: 5px 5px 20px 5px;
min-width: 170px; min-width: 170px;
min-height: 170px; min-height: 170px;
border-radius: 18px; border-radius: var(--radius-lg);
transition: all 0.5s ease-in-out; transition: all var(--transition-slow);
background: #202020; background: #202020;
} }
@@ -92,7 +92,7 @@
margin: 5px 20px 20px 10px; margin: 5px 20px 20px 10px;
min-width: 170px; min-width: 170px;
min-height: 170px; min-height: 170px;
border-radius: 16px; border-radius: var(--radius-lg);
} }
#calendar-widget { #calendar-widget {
@@ -113,7 +113,7 @@
#calendar-day-header { #calendar-day-header {
font-size: 12px; font-size: 12px;
font-weight: 600; font-weight: 600;
color: #ffffff; color: @text-main;
min-width: 18px; min-width: 18px;
min-height: 10px; min-height: 10px;
} }
@@ -130,7 +130,7 @@
font-size: 12px; font-size: 12px;
margin: 1.4px 0px 1.4px 0px; margin: 1.4px 0px 1.4px 0px;
font-weight: 500; font-weight: 500;
color: #ffffff; color: @text-main;
min-width: 18px; min-width: 18px;
min-height: 10px; min-height: 10px;
} }
@@ -148,7 +148,7 @@
font-weight: 700; font-weight: 700;
color: #191919; color: #191919;
background-color: var(--blue-dim); background-color: var(--blue-dim);
border-radius: 50%; border-radius: var(--radius-full);
min-width: 18px; min-width: 18px;
min-height: 16px; min-height: 16px;
padding: 2px; padding: 2px;
@@ -174,12 +174,12 @@
padding: 5px; padding: 5px;
margin-top: 10px; margin-top: 10px;
font-size: 30px; font-size: 30px;
color: alpha(#fff, 0.9); color: alpha(@text-main, 0.9);
font-weight: 600; font-weight: 600;
} }
#date label { #date label {
color: alpha(#fff, 0.9); color: alpha(@text-main, 0.9);
margin-top: -10px; margin-top: -10px;
font-size: 90px; font-size: 90px;
@@ -195,7 +195,7 @@
margin: 5px 10px 20px 5px; margin: 5px 10px 20px 5px;
min-width: 170px; min-width: 170px;
min-height: 170px; min-height: 170px;
border-radius: 16px; border-radius: var(--radius-lg);
} }
/* System Info Widget CSS */ /* System Info Widget CSS */
@@ -204,7 +204,7 @@
margin: 5px 5px 5px 5px; margin: 5px 5px 5px 5px;
min-width: 170px; min-width: 170px;
min-height: 170px; min-height: 170px;
border-radius: 16px; border-radius: var(--radius-lg);
} }
#ram-progress { #ram-progress {
@@ -252,7 +252,7 @@
#info-value { #info-value {
font-size: 12px; font-size: 12px;
font-weight: 600; font-weight: 600;
color: #ffffff; color: @text-main;
} }
#info-container { #info-container {