From f065edb238feacaf8583e3c14961797167ce0f07 Mon Sep 17 00:00:00 2001 From: leagrdv Date: Tue, 12 Nov 2024 16:24:09 +0100 Subject: [PATCH] use token for input font --- packages/styles/src/components/forms.scss | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/styles/src/components/forms.scss b/packages/styles/src/components/forms.scss index f79612cbe8..5a8ae55a84 100644 --- a/packages/styles/src/components/forms.scss +++ b/packages/styles/src/components/forms.scss @@ -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'; @@ -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')