style: update background and border styles using color-mix for improved theming

Entire-Checkpoint: 7a59119e1876
This commit is contained in:
4gray committed 2026-03-25 21:29:29 +01:00
1 parent 879f018a81
commit 8e86bb77f3
3 files changed
+25 -9

No files matched your search

+1 -1
View File
@@ -119,7 +119,7 @@ html {
--app-rail-bg: #111318;
--app-header-bg: #111318;
--app-content-bg: #161a22;
--app-rail-border: rgba(255, 255, 255, 0.05);
--app-rail-border: transparent;
--app-search-bg: rgba(255, 255, 255, 0.05);
--app-search-border: rgba(255, 255, 255, 0.09);
--app-selection-color: #78adff;
@@ -10,7 +10,11 @@
app-region: no-drag;
&:hover {
background: rgba(255, 255, 255, 0.13);
background: color-mix(
in srgb,
var(--mat-sys-on-surface) 8%,
transparent
);
}
&:active {
@@ -25,7 +29,11 @@
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.08);
background: color-mix(
in srgb,
var(--mat-sys-on-surface) 8%,
transparent
);
flex-shrink: 0;
}
@@ -123,7 +131,11 @@
gap: 8px;
padding: 8px 12px;
margin: 0 8px 4px;
background: rgba(255, 255, 255, 0.06);
background: color-mix(
in srgb,
var(--mat-sys-on-surface) 6%,
transparent
);
border-radius: 8px;
border: 1px solid transparent;
transition: all 0.2s ease;
@@ -242,11 +254,11 @@
}
.playlist-item.selected {
background: rgba(139, 92, 246, 0.1);
background: var(--app-selection-surface, rgba(139, 92, 246, 0.1));
.playlist-title,
.playlist-meta {
color: #a78bfa;
color: var(--app-selection-color, #a78bfa);
}
}
@@ -262,7 +274,11 @@
width: 36px;
height: 36px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.06);
background: color-mix(
in srgb,
var(--mat-sys-on-surface) 6%,
transparent
);
flex-shrink: 0;
}
@@ -127,8 +127,8 @@
padding: 5px 2px;
margin: 4px 0;
border-radius: 14px;
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.04);
background: color-mix(in srgb, var(--mat-sys-on-surface) 3%, transparent);
border: 1px solid color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent);
position: relative;
animation: region-enter 0.25s ease-out both;