mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-16 06:06:18 -08:00
fix(ui): declare Material system tokens and migrate dead --mdc overrides (#1775)
This commit is contained in:
1 parent
e4cf48fdc2
commit
572034f3be
28 files changed
+581
-88
No files matched your search
+7
-2
@@ -1,3 +1,4 @@
|
||||
@use '@angular/material' as mat;
|
||||
:host {
|
||||
display: block;
|
||||
color: var(--app-body-color, var(--mat-sys-on-surface));
|
||||
@@ -227,8 +228,12 @@
|
||||
flex-shrink: 0;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
--mdc-icon-button-state-layer-size: 32px;
|
||||
--mdc-icon-button-icon-size: 18px;
|
||||
@include mat.icon-button-overrides(
|
||||
(
|
||||
state-layer-size: 32px,
|
||||
icon-size: 18px,
|
||||
)
|
||||
);
|
||||
color: var(--app-muted-color, var(--mat-sys-on-surface-variant));
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
@use '@angular/material' as mat;
|
||||
.mat-mdc-dialog-content {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
@@ -124,7 +125,7 @@
|
||||
}
|
||||
|
||||
mat-checkbox {
|
||||
--mdc-checkbox-state-layer-size: 28px;
|
||||
@include mat.checkbox-overrides((state-layer-size: 28px));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -94,8 +94,8 @@ body.resizing-active {
|
||||
|
||||
&:active &__line {
|
||||
width: 2px;
|
||||
background: var(--mdc-theme-primary, #6366f1);
|
||||
box-shadow: 0 0 12px rgba(99, 102, 241, 0.3);
|
||||
background: var(--app-selection-color, #2f7bff);
|
||||
box-shadow: 0 0 12px var(--app-selection-glow, rgba(47, 123, 255, 0.3));
|
||||
}
|
||||
|
||||
// Grip dots indicator
|
||||
@@ -129,7 +129,7 @@ body.resizing-active {
|
||||
opacity: 1;
|
||||
|
||||
span {
|
||||
background: var(--mdc-theme-primary, #6366f1);
|
||||
background: var(--app-selection-color, #2f7bff);
|
||||
transform: scale(1.2);
|
||||
}
|
||||
}
|
||||
@@ -161,8 +161,8 @@ body.resizing-active {
|
||||
}
|
||||
|
||||
&:active &__line {
|
||||
background: var(--mdc-theme-primary, #6366f1);
|
||||
box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
|
||||
background: var(--app-selection-color, #2f7bff);
|
||||
box-shadow: 0 0 12px var(--app-selection-glow, rgba(47, 123, 255, 0.2));
|
||||
}
|
||||
|
||||
&__grip {
|
||||
|
||||
Reference in new issue
Block a user