diff --git a/components/CharLimitedFieldset/index.scss b/components/CharLimitedFieldset/index.scss index 75558d8d..da0a29ac 100644 --- a/components/CharLimitedFieldset/index.scss +++ b/components/CharLimitedFieldset/index.scss @@ -1,15 +1,19 @@ .Limited { - background: $grey-100; - border-radius: 6px; - border: 2px solid transparent; + $offset: 2px; + + background: var(--input-bg); + border-radius: $input-corner; + border: $offset solid transparent; box-sizing: border-box; display: flex; gap: $unit; - padding-right: $unit * 2; + padding-top: 2px; + padding-bottom: 2px; + padding-right: calc($unit-2x - $offset); &:focus-within { - border: 2px solid $blue; - box-shadow: 0 2px rgba(255, 255, 255, 1); + border: $offset solid $blue; + // box-shadow: 0 2px rgba(255, 255, 255, 1); } .Counter { @@ -21,6 +25,7 @@ .Input { background: transparent; border-radius: 0; + padding-left: calc($unit-2x - $offset); &:focus { outline: none; diff --git a/components/Fieldset/index.scss b/components/Fieldset/index.scss index fbffe370..4caca1f9 100644 --- a/components/Fieldset/index.scss +++ b/components/Fieldset/index.scss @@ -5,17 +5,14 @@ padding: 0; margin: 0; - .Input { + input { -webkit-font-smoothing: antialiased; + background-color: var(--input-bg); border: none; - - background-color: $grey-100; border-radius: 6px; box-sizing: border-box; - color: $grey-10; display: block; - font-size: $font-regular; - padding: 12px 16px; + padding: ($unit * 1.5) $unit-2x; width: 100%; } @@ -29,6 +26,6 @@ ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */ - color: #a9a9a9 !important; + color: var(--text-tertiary) !important; opacity: 1; /* Firefox */ } diff --git a/components/Select/index.scss b/components/Select/index.scss index 639c1e3a..70db4794 100644 --- a/components/Select/index.scss +++ b/components/Select/index.scss @@ -25,6 +25,10 @@ .SelectIcon { display: flex; align-items: center; + + svg { + fill: var(--icon-secondary); + } } } diff --git a/components/TextFieldset/index.scss b/components/TextFieldset/index.scss index 5c0c2142..b69c1e9c 100644 --- a/components/TextFieldset/index.scss +++ b/components/TextFieldset/index.scss @@ -1,6 +1,18 @@ .Fieldset textarea { - color: $grey-10; - font-family: system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, - sans-serif; + $offset: 2px; + + background-color: var(--input-bg); + border: $offset solid transparent; + border-radius: $input-corner; + box-sizing: border-box; + color: var(--text-primary); + display: block; line-height: 21px; + -webkit-font-smoothing: antialiased; + padding: $unit-2x calc($unit-2x - $offset); + + &:focus-within { + border: $offset solid $blue; + outline: none; + } } diff --git a/public/icons/Arrow.svg b/public/icons/Arrow.svg index 44d30bc4..ad87e8ad 100644 --- a/public/icons/Arrow.svg +++ b/public/icons/Arrow.svg @@ -1,3 +1,3 @@ - - + + diff --git a/styles/globals.scss b/styles/globals.scss index b3994c0c..48852000 100644 --- a/styles/globals.scss +++ b/styles/globals.scss @@ -1,5 +1,5 @@ -@import "~meyer-reset-scss"; -@import "themes.scss"; +@import '~meyer-reset-scss'; +@import 'themes.scss'; html { background-color: var(--background); @@ -10,7 +10,7 @@ html { body { -webkit-font-smoothing: antialiased; box-sizing: border-box; - font-family: system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, + font-family: system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1.4rem; height: 100%; @@ -58,9 +58,11 @@ a { } button, -input { - font-family: system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, +input, +textarea { + font-family: system-ui, -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif; + font-size: $font-regular; } h1, @@ -79,7 +81,7 @@ h1 { select { appearance: none; background-color: var(--input-bound-bg); - background-image: url("/icons/Arrow.svg"); + background-image: url('/icons/Arrow.svg'); background-repeat: no-repeat; background-position-y: center; background-position-x: 97%;