mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
Experiment with inset look for fields again
Is this too dark in night mode? It's the same color used for all other text inputs.
This commit is contained in:
parent
d3fa137e1c
commit
e39a3edeab
2 changed files with 6 additions and 6 deletions
|
@ -24,7 +24,7 @@ $vars: (
|
|||
),
|
||||
outset: (
|
||||
light: white,
|
||||
dark: palette(gray, 5),
|
||||
dark: palette(gray, 8),
|
||||
),
|
||||
inset: (
|
||||
light: palette(gray, 2),
|
||||
|
@ -38,7 +38,7 @@ $vars: (
|
|||
border: (
|
||||
default: (
|
||||
light: palette(gray, 3),
|
||||
dark: palette(gray, 9),
|
||||
dark: palette(gray, 8),
|
||||
),
|
||||
subtle: (
|
||||
light: palette(gray, 2),
|
||||
|
@ -77,11 +77,11 @@ $vars: (
|
|||
shadow: (
|
||||
default: (
|
||||
light: palette(gray, 5),
|
||||
dark: palette(gray, 8),
|
||||
dark: palette(gray, 9),
|
||||
),
|
||||
inset: (
|
||||
light: palette(gray, 4),
|
||||
dark: palette(gray, 7),
|
||||
light: palette(gray, 3),
|
||||
dark: palette(gray, 9),
|
||||
),
|
||||
focus: (
|
||||
default: palette(indigo, 5),
|
||||
|
|
|
@ -204,7 +204,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
border-radius: 5px;
|
||||
border: 1px solid var(--border-subtle);
|
||||
transition: box-shadow 80ms cubic-bezier(0.33, 1, 0.68, 1);
|
||||
box-shadow: inset 0 0 1px 1px var(--shadow-inset);
|
||||
box-shadow: inset 0 0 1px 0 var(--shadow-inset);
|
||||
}
|
||||
|
||||
&:focus-within {
|
||||
|
|
Loading…
Reference in a new issue