feat(portal): refactor settings (#2536)

* feat(portal): refactor settings

* chore: refactor

* small updates

---------

Co-authored-by: Matt Hill <mattnine@protonmail.com>
This commit is contained in:
Alex Inkin
2023-12-08 23:19:33 +04:00
committed by GitHub
parent 7324a4973f
commit ad13b5eb4e
54 changed files with 7004 additions and 3904 deletions

View File

@@ -1,23 +1,10 @@
@import '@taiga-ui/core/styles/taiga-ui-local';
/* stylelint-disable order/order */
[tuiWrapper][data-appearance='secondary-warning'] {
[tuiAppearance][data-appearance='secondary-warning'] {
background: var(--tui-warning-bg);
color: var(--tui-warning-fill);
&[data-mode='onDark'] {
background: var(--tui-warning-bg-night);
color: var(--tui-warning-fill-night);
@include wrapper-hover {
background: var(--tui-warning-bg-night-hover);
}
@include wrapper-active {
background: var(--tui-warning-bg-night-hover);
}
}
@include wrapper-hover {
background: var(--tui-warning-bg-hover);
}
@@ -27,18 +14,23 @@
}
}
[tuiWrapper][data-appearance='success'] {
[tuiAppearance][data-appearance='icon-success'] {
color: var(--tui-success-fill);
}
[tuiWrapper][data-appearance='warning'] {
[tuiAppearance][data-appearance='icon-warning'] {
color: var(--tui-warning-fill);
}
[tuiWrapper][data-appearance='error'] {
[tuiAppearance][data-appearance='icon-error'] {
color: var(--tui-error-fill);
}
[tuiAppearance][data-appearance='flat'],
[tuiAppearance][data-appearance='outline'] {
color: var(--tui-text-01);
}
[tuiWrapper][data-appearance='input-file'] {
&:hover,
&:active {