Skip to content

Commit

Permalink
💄 - style: update input and select to incoorporate new styling
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvandescheur committed Apr 15, 2024
1 parent 7919175 commit 09243b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/components/form/input/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
align-items: center;
background: var(--typography-color-background);
border: 1px solid var(--form-color-border);
border-radius: var(--border-radius-l);
border-radius: var(--border-radius-s);
box-sizing: border-box;
color: var(--typography-color-body);
font-family: var(--typography-font-family-body);
Expand All @@ -21,7 +21,6 @@
}

&[type="checkbox"] {
border-radius: 2px;
cursor: pointer;
height: 16px;
max-width: 16px;
Expand Down
4 changes: 2 additions & 2 deletions src/components/form/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
align-items: center;
background: var(--typography-color-background);
border: 1px solid var(--form-color-border);
border-radius: var(--border-radius-l);
border-radius: var(--border-radius-s);
box-sizing: border-box;
color: var(--typography-color-body);
cursor: pointer;
Expand Down Expand Up @@ -62,7 +62,7 @@
&__dropdown {
background: var(--typography-color-background);
border: 1px solid var(--form-color-border);
border-radius: var(--border-radius-l);
border-radius: var(--border-radius-s);
box-sizing: border-box;
min-width: 100%;
padding: var(--spacing-v) 0;
Expand Down
2 changes: 1 addition & 1 deletion src/style/tokens/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
--button-color-text-transparent-active: var(--button-color-text-transparent);

/* FORM */
--form-color-border: #636363;
--form-color-border: #b1b1b1;

/* PAGE */
--page-color-background: #f0f2fa; // #ecf1ff; (-50% saturation)
Expand Down

0 comments on commit 09243b7

Please sign in to comment.