0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

fix(console): add readonly style for text input (#421)

This commit is contained in:
Wang Sijie 2022-03-21 12:26:16 +08:00 committed by GitHub
parent c4a0299b1c
commit 8ae2d7964b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -28,6 +28,12 @@
color: var(--color-disabled);
border-color: var(--color-disabled);
}
&:read-only {
background: var(--color-surface);
color: var(--color-readonly);
border-color: var(--color-disabled);
}
}
&.error input {

View file

@ -76,6 +76,7 @@
--color-component-text: var(--color-neutral-10);
--color-outline: var(--color-neutral-variant-50);
--color-disabled: var(--color-neutral-80);
--color-readonly: var(--color-neutral-50);
--color-border: var(--color-neutral-80);
--color-table-row-selected: rgba(25, 28, 29, 4%);
--color-code-comment: #66bb6a;