Skip to content

Commit

Permalink
use token for input font
Browse files Browse the repository at this point in the history
  • Loading branch information
leagrdv committed Nov 12, 2024
1 parent ce28017 commit f065edb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/styles/src/components/forms.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
@forward './../variables/options';

@use './../variables/type';

@use './../functions/tokens';
@use './../tokens/components';
@use './../tokens/elements';

@use './../mixins/icons';
@use './../mixins/utilities';
Expand All @@ -13,7 +10,7 @@ tokens.$default-map: components.$post-text-input;
.form-control {
display: block;
width: 100%;
font-family: type.$font-family-sans-serif;
font-family: tokens.get('body-font-family', elements.$post-body);
appearance: none; // Fix appearance for date inputs in Safari
background-clip: padding-box;
border: tokens.get('input-border-width') tokens.get('input-border-style-default')
Expand Down

0 comments on commit f065edb

Please sign in to comment.