From bd6fe74c7d5b5da1c55d489ec108be1593ba8b36 Mon Sep 17 00:00:00 2001 From: lindsaym-fa Date: Sat, 4 Jan 2025 16:42:45 -0500 Subject: [PATCH] Fix missing input value styles --- src/styles/native/checkbox.css | 2 ++ src/styles/native/input.css | 1 + src/styles/native/radio.css | 2 ++ src/styles/native/select.css | 6 +++++- 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/styles/native/checkbox.css b/src/styles/native/checkbox.css index 3b5cd8d50..e35e4149c 100644 --- a/src/styles/native/checkbox.css +++ b/src/styles/native/checkbox.css @@ -17,6 +17,8 @@ label:has(input[type='checkbox']):where(:not(:host *)), color: var(--wa-form-control-value-color); display: inline-flex; + font-family: inherit; + font-weight: var(--wa-form-control-value-font-weight); line-height: var(--wa-form-control-value-line-height); user-select: none; -webkit-user-select: none; diff --git a/src/styles/native/input.css b/src/styles/native/input.css index 7ba903077..701426e73 100644 --- a/src/styles/native/input.css +++ b/src/styles/native/input.css @@ -29,6 +29,7 @@ input:where(:not( color: var(--wa-form-control-value-color); font-size: var(--wa-size); font-family: inherit; + font-weight: var(--wa-form-control-value-font-weight); line-height: var(--wa-form-control-value-line-height); vertical-align: middle; width: 100%; diff --git a/src/styles/native/radio.css b/src/styles/native/radio.css index e42149208..ecaf6d6cc 100644 --- a/src/styles/native/radio.css +++ b/src/styles/native/radio.css @@ -14,6 +14,8 @@ label:has(input[type='radio']), color: var(--wa-form-control-value-color); display: inline-flex; + font-family: inherit; + font-weight: var(--wa-form-control-value-font-weight); line-height: var(--wa-form-control-value-line-height); user-select: none; -webkit-user-select: none; diff --git a/src/styles/native/select.css b/src/styles/native/select.css index 7c919fa58..7018e87dc 100644 --- a/src/styles/native/select.css +++ b/src/styles/native/select.css @@ -19,7 +19,11 @@ select, width: 100%; min-width: 0; position: relative; - font: inherit; + color: var(--wa-form-control-value-color); + font-size: var(--wa-size); + font-family: inherit; + font-weight: var(--wa-form-control-value-font-weight); + line-height: var(--wa-form-control-value-line-height); vertical-align: middle; overflow: hidden; cursor: pointer;