Fix text color for typification
Some checks failed
Frontend CI / build (18.x) (push) Has been cancelled

This commit is contained in:
IRBorisov 2024-06-10 21:03:10 +03:00
parent ed47b1b0d6
commit 001069a7d9
2 changed files with 6 additions and 2 deletions

View File

@ -159,7 +159,7 @@ function FormConstituenta({
disabled={true} disabled={true}
label='Типизация' label='Типизация'
value={typification} value={typification}
colors='clr-app' colors='clr-app clr-text-default'
/> />
<AnimatePresence> <AnimatePresence>
<AnimateFade key='cst_expression_fade' hideContent={!!state && !state?.definition_formal && isElementary}> <AnimateFade key='cst_expression_fade' hideContent={!!state && !state?.definition_formal && isElementary}>

View File

@ -156,9 +156,13 @@
} }
} }
.clr-text-default { :is(.clr-text-default, input:disabled, textarea:disabled) {
opacity: 1;
-webkit-text-fill-color: var(--cl-fg-100);
color: var(--cl-fg-100); color: var(--cl-fg-100);
.dark & { .dark & {
opacity: 1;
-webkit-text-fill-color: var(--cd-fg-100);
color: var(--cd-fg-100); color: var(--cd-fg-100);
} }
} }