diff --git a/src/components/controls/TextArea/TextArea.scss b/src/components/controls/TextArea/TextArea.scss index d5aadb4ec3..72dc5a1ca7 100644 --- a/src/components/controls/TextArea/TextArea.scss +++ b/src/components/controls/TextArea/TextArea.scss @@ -172,11 +172,6 @@ $block: '.#{variables.$ns}text-area'; $append: false ); - &_readonly { - --_--background-color: var(--g-color-base-generic-accent-disabled); - --_--border-color: transparent; - } - &_disabled { --_--text-color: var(--g-color-text-hint); --_--background-color: var(--g-color-base-generic-accent-disabled); diff --git a/src/components/controls/TextArea/TextArea.tsx b/src/components/controls/TextArea/TextArea.tsx index 3ada51e0e6..a28258d274 100644 --- a/src/components/controls/TextArea/TextArea.tsx +++ b/src/components/controls/TextArea/TextArea.tsx @@ -155,7 +155,6 @@ export const TextArea = React.forwardRef( { view, size, - readonly: readOnly, disabled, state, pin: view === 'clear' ? undefined : pin, diff --git a/src/components/controls/TextInput/TextInput.scss b/src/components/controls/TextInput/TextInput.scss index e184723fd2..562a6d045a 100644 --- a/src/components/controls/TextInput/TextInput.scss +++ b/src/components/controls/TextInput/TextInput.scss @@ -300,11 +300,6 @@ $block: '.#{variables.$ns}text-input'; $append: false ); - &_readonly { - --_--background-color: var(--g-color-base-generic-accent-disabled); - --_--border-color: transparent; - } - &_disabled { --_--text-color: var(--g-color-text-hint); --_--background-color: var(--g-color-base-generic-accent-disabled); diff --git a/src/components/controls/TextInput/TextInput.tsx b/src/components/controls/TextInput/TextInput.tsx index 3acfd153fd..ab15247f98 100644 --- a/src/components/controls/TextInput/TextInput.tsx +++ b/src/components/controls/TextInput/TextInput.tsx @@ -202,7 +202,6 @@ export const TextInput = React.forwardRef( { view, size, - readonly: readOnly, disabled, state, pin: view === 'clear' ? undefined : pin,