From 89aa9610ce19e2b8dbf050f6ced92ce2f48db7e8 Mon Sep 17 00:00:00 2001 From: Lev-Georgy Zamansky Date: Thu, 8 Aug 2024 10:25:49 +0300 Subject: [PATCH] fix: fix view of disabled password input --- packages/kaspersky-components/src/input/inputCss.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/kaspersky-components/src/input/inputCss.ts b/packages/kaspersky-components/src/input/inputCss.ts index 88c7c4d..be3cf11 100644 --- a/packages/kaspersky-components/src/input/inputCss.ts +++ b/packages/kaspersky-components/src/input/inputCss.ts @@ -1,7 +1,8 @@ +import { getTextSizes, MonoTextTypes, TextSizes } from '@design-system/tokens' +import { getFromProps } from '@helpers/getFromProps' import { css } from 'styled-components' + import { InputCssConfig, TextboxViewProps } from './types' -import { getFromProps } from '@helpers/getFromProps' -import { getTextSizes, MonoTextTypes, TextSizes } from '@design-system/tokens' const fromProps = getFromProps() @@ -120,6 +121,7 @@ export const inputStyles = css` } &, & input { + background-color: ${fromProps('disabled.background')}; color: ${fromProps('disabled.color')}; ::placeholder {