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:
Matthias Metelka 2022-09-02 18:25:37 +02:00
parent d3fa137e1c
commit e39a3edeab
2 changed files with 6 additions and 6 deletions

View file

@ -24,7 +24,7 @@ $vars: (
), ),
outset: ( outset: (
light: white, light: white,
dark: palette(gray, 5), dark: palette(gray, 8),
), ),
inset: ( inset: (
light: palette(gray, 2), light: palette(gray, 2),
@ -38,7 +38,7 @@ $vars: (
border: ( border: (
default: ( default: (
light: palette(gray, 3), light: palette(gray, 3),
dark: palette(gray, 9), dark: palette(gray, 8),
), ),
subtle: ( subtle: (
light: palette(gray, 2), light: palette(gray, 2),
@ -77,11 +77,11 @@ $vars: (
shadow: ( shadow: (
default: ( default: (
light: palette(gray, 5), light: palette(gray, 5),
dark: palette(gray, 8), dark: palette(gray, 9),
), ),
inset: ( inset: (
light: palette(gray, 4), light: palette(gray, 3),
dark: palette(gray, 7), dark: palette(gray, 9),
), ),
focus: ( focus: (
default: palette(indigo, 5), default: palette(indigo, 5),

View file

@ -204,7 +204,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
border-radius: 5px; border-radius: 5px;
border: 1px solid var(--border-subtle); border: 1px solid var(--border-subtle);
transition: box-shadow 80ms cubic-bezier(0.33, 1, 0.68, 1); 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 { &:focus-within {