From 7d2faccd4f62e8ff6c2f6cc9b8b11d890a6ab974 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 22 Feb 2024 18:04:28 +0200 Subject: fonts support, cleanup --- src/components/select/select.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/components/select/select.vue') diff --git a/src/components/select/select.vue b/src/components/select/select.vue index 1797afc8..30fd0bb0 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -32,12 +32,10 @@ label.Select { appearance: none; background: transparent; border: none; - color: $fallback--text; - color: var(--inputText, --text, $fallback--text); + color: var(--text); margin: 0; padding: 0 2em 0 0.2em; - font-family: sans-serif; - font-family: var(--inputFont, sans-serif); + font-family: var(--font); font-size: 1em; width: 100%; z-index: 1; @@ -53,7 +51,7 @@ label.Select { height: 100%; width: 0.875em; color: $fallback--text; - color: var(--inputText, $fallback--text); + font-family: var(--font); line-height: 2; z-index: 0; pointer-events: none; -- cgit v1.2.3-70-g09d2