aboutsummaryrefslogtreecommitdiff
path: root/src/components/select/select.vue
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-02-22 18:04:28 +0200
committerHenry Jameson <me@hjkos.com>2024-02-22 18:04:28 +0200
commit7d2faccd4f62e8ff6c2f6cc9b8b11d890a6ab974 (patch)
tree3b4b281caa49a94d85283dcd22083c1f60bbf706 /src/components/select/select.vue
parent779b3dc1228030740ccfbd5192bcd368b526ce56 (diff)
fonts support, cleanup
Diffstat (limited to 'src/components/select/select.vue')
-rw-r--r--src/components/select/select.vue8
1 files changed, 3 insertions, 5 deletions
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;