style: replace raw colors.css refs with glass tokens from constant.css

Replace @foreground, @primary, @error, @outline, @shadow, @secondary
and their var() equivalents with semantic glass-* tokens across 22 files.
Colors without glass equivalents (@on-primary, @cyan, etc.) left as-is.
This commit is contained in:
sankalp committed 2026-07-17 22:28:10 +05:45
1 parent aeccbe3089
commit 5e542eed4f
22 files changed
+90 -90

No files matched your search

+9 -9
View File
@@ -17,18 +17,18 @@
}
#wifi-dialog-icon {
color: @primary;
color: @glass-accent;
margin-right: 4px;
}
#wifi-dialog-title {
color: @foreground;
color: @glass-text;
font-size: apply(font-base);
font-weight: 500;
}
#wifi-dialog-error {
color: @error;
color: @glass-error;
font-size: apply(font-sm);
font-weight: 500;
/* margin-bottom: 8px; */
@@ -39,7 +39,7 @@
}
#wifi-dialog-password-label {
color: @foreground;
color: @glass-text;
font-size: apply(font-md);
font-weight: 500;
margin-bottom: 4px;
@@ -50,7 +50,7 @@
border: 1px solid @glass-border;
border-radius: apply(radius-xs);
padding: 8px 12px;
color: @foreground;
color: @glass-text;
font-size: apply(font-md);
}
@@ -78,11 +78,11 @@
}
#wifi-dialog-show-password-button image {
color: @foreground;
color: @glass-text;
}
#wifi-dialog-show-password-label {
color: @foreground;
color: @glass-text;
font-size: apply(font-sm);
}
@@ -102,7 +102,7 @@
#wifi-dialog-cancel-button {
background-color: @glass-hover;
border: 1px solid @glass-border;
color: @foreground;
color: @glass-text;
}
#wifi-dialog-cancel-button:hover {
@@ -112,7 +112,7 @@
#wifi-dialog-join-button {
background-color: @glass-accent;
border: 1px solid @glass-accent;
color: @foreground;
color: @glass-text;
}
#wifi-dialog-join-button:hover {
+8 -8
View File
@@ -14,7 +14,7 @@
#macos-player-title {
font-weight: 600;
font-size: apply(font-lg);
color: @foreground;
color: @glass-text;
margin-bottom: 2px;
}
@@ -50,13 +50,13 @@
}
#macos-seek-bar highlight {
background: @foreground;
background: @glass-text;
border-radius: apply(radius-2xs);
border: none;
}
#macos-seek-bar slider {
background: @foreground;
background: @glass-text;
border: none;
border-radius: 20%;
min-width: 1px;
@@ -93,7 +93,7 @@
opacity: 0.7;
min-height: 28px;
padding: 5px;
color: @foreground;
color: @glass-text;
transition: all apply(transition-fast) ease;
}
@@ -109,7 +109,7 @@
opacity: 0.7;
min-height: 36px;
padding: 7px;
color: @foreground;
color: @glass-text;
transition: all apply(transition-fast) ease;
}
@@ -135,7 +135,7 @@
}
.macos-switcher-dot.active {
background: @foreground;
background: @glass-text;
box-shadow: 0 0 0 1px @glass-border;
}
@@ -155,13 +155,13 @@
}
#expanded-seek-bar highlight {
background: @foreground;
background: @glass-text;
border-radius: apply(radius-2xs);
border: none;
}
#expanded-seek-bar slider {
background: @foreground;
background: @glass-text;
border: none;
border-radius: 20%;
min-width: 1px;
+2 -2
View File
@@ -38,11 +38,11 @@
#wifi-connections #device-icon.connected {
background-color: @glass-accent;
color: @foreground;
color: @glass-text;
}
#wifi-network-name {
color: @foreground;
color: @glass-text;
font-size: apply(font-base);
font-weight: 500;
}
+2 -2
View File
@@ -22,7 +22,7 @@
.app-name {
font-size: apply(font-md);
font-weight: 500;
color: @foreground;
color: @glass-text;
margin-bottom: 5px;
}
@@ -73,5 +73,5 @@
padding-left: 5px;
margin-top: -2px;
font-weight: bold;
color: @foreground;
color: @glass-text;
}
+1 -1
View File
@@ -16,7 +16,7 @@
#player-stack-button.active {
border-radius: apply(radius-xs);
background-color: @foreground;
background-color: @glass-text;
}
#outer-player-box {
+2 -2
View File
@@ -7,7 +7,7 @@
}
.icon {
background-color: @primary;
background-color: @glass-accent;
font-size: 15px;
padding: 20px 20px;
}
@@ -44,7 +44,7 @@
}
#toggle-button slider {
background-color: @foreground;
background-color: @glass-text;
border-radius: apply(radius-full);
min-width: 16px;
min-height: 16px;