Skip to content

Commit

Permalink
Input: Add primary-font to input elements designed to display text (t…
Browse files Browse the repository at this point in the history
  • Loading branch information
austinoneil authored and Austin O'Neil committed Apr 4, 2024
1 parent 94721ab commit 5317988
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
background-position: right calc(0.375em + 0.1875rem) center;
background-repeat: no-repeat;
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
font-family: $primary-font;
padding-right: calc(1.5em + 0.75rem);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
}
}

.input-container {
input {
font-family: $primary-font;
}
}

.calendar-container {
background-color: $modus-date-picker-calendar-body-bg;
border-radius: 4px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
background-color: transparent;
border: none;
color: $modus-input-color;
font-family: $primary-font;
outline: 0;
padding: 0 $rem-8px;
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
background-color: transparent;
border: none;
color: $modus-input-color;
font-family: $primary-font;
font-size: $rem-12px;
outline: none;
padding: 0 $rem-8px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
border: none;
color: $modus-input-color;
font-family: $primary-font;
font-size: $rem-12px;
outline: none;
padding: 0 $rem-8px;
Expand Down

0 comments on commit 5317988

Please sign in to comment.