Skip to content

Commit

Permalink
Merge pull request #81 from KasperskyLab/fix/password-input
Browse files Browse the repository at this point in the history
fix: fix view of disabled password input
  • Loading branch information
gitpoeble authored Aug 8, 2024
2 parents 593734b + 89aa961 commit 01e4da9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/kaspersky-components/src/input/inputCss.ts
Original file line number Diff line number Diff line change
@@ -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<InputCssConfig>()

Expand Down Expand Up @@ -120,6 +121,7 @@ export const inputStyles = css`
}
&, & input {
background-color: ${fromProps('disabled.background')};
color: ${fromProps('disabled.color')};
::placeholder {
Expand Down

0 comments on commit 01e4da9

Please sign in to comment.