fix: q-field text color and disable color
This commit is contained in:
parent
aede6df061
commit
2b0b1b7f8c
2 changed files with 11 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ defineProps<{
|
|||
readonly ? 'disabled' : $q.dark.isActive ? 'white' : ''
|
||||
"
|
||||
:toolbar-toggle-color="readonly ? 'disabled' : 'primary'"
|
||||
style="cursor: auto; color: black"
|
||||
style="cursor: auto; color: var(--foreground)"
|
||||
/>
|
||||
</q-field>
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@ $negative: var(--red-9);
|
|||
$info: var(--blue-6);
|
||||
$warning: #ffc224;
|
||||
|
||||
$disabled: var(--stone-5);
|
||||
|
||||
$separator-color: var(--border-color);
|
||||
$separator-dark-color: var(--border-color);
|
||||
|
||||
|
|
@ -78,3 +80,11 @@ div.fullscreen.q-drawer__backdrop {
|
|||
[disabled] * {
|
||||
color: hsl(var(--text-mute)) !important;
|
||||
}
|
||||
|
||||
.bg-disabled {
|
||||
background: $disabled;
|
||||
}
|
||||
|
||||
.text-disabled {
|
||||
color: $disabled;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue