From 39886d24021b150d643f3941b4a009af49c9cb21 Mon Sep 17 00:00:00 2001 From: konnorrogers Date: Wed, 18 Dec 2024 16:58:57 -0500 Subject: [PATCH] prettier --- src/components/select/select.css | 2 +- src/components/textarea/textarea.css | 2 +- src/components/textarea/textarea.ts | 4 ++-- src/styles/themes/brutalist.css | 4 ++-- src/styles/themes/classic.css | 6 +++--- src/styles/themes/playful.css | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/select/select.css b/src/components/select/select.css index 5d01cd7b1..abe54eb77 100644 --- a/src/components/select/select.css +++ b/src/components/select/select.css @@ -9,7 +9,7 @@ display: block; } -:host([appearance=filled]) { +:host([appearance='filled']) { --background-color: var(--wa-color-neutral-fill-quiet); --border-color: var(--background-color); } diff --git a/src/components/textarea/textarea.css b/src/components/textarea/textarea.css index ae5859119..a67f65a29 100644 --- a/src/components/textarea/textarea.css +++ b/src/components/textarea/textarea.css @@ -9,7 +9,7 @@ display: block; } -:host([appearance=filled]) { +:host([appearance='filled']) { --background-color: var(--wa-color-neutral-fill-quiet); --border-color: var(--background-color); } diff --git a/src/components/textarea/textarea.ts b/src/components/textarea/textarea.ts index 05842c24d..d4d53bd79 100644 --- a/src/components/textarea/textarea.ts +++ b/src/components/textarea/textarea.ts @@ -335,8 +335,8 @@ export default class WaTextarea extends WebAwesomeFormAssociatedElement { 'textarea--small': this.size === 'small', 'textarea--medium': this.size === 'medium', 'textarea--large': this.size === 'large', - 'textarea--standard': this.appearance !== "filled", - 'textarea--filled': this.appearance === "filled", + 'textarea--standard': this.appearance !== 'filled', + 'textarea--filled': this.appearance === 'filled', 'textarea--disabled': this.disabled, 'textarea--focused': this.hasFocus, 'textarea--empty': !this.value, diff --git a/src/styles/themes/brutalist.css b/src/styles/themes/brutalist.css index b1f5134b4..7b158c0f7 100644 --- a/src/styles/themes/brutalist.css +++ b/src/styles/themes/brutalist.css @@ -601,8 +601,8 @@ /* preventing shadows on all form input types */ wa-input:not(:focus), - wa-input:not([appearance=filled]):not([disabled]), - wa-select:not([appearance=filled]):not([disabled]) { + wa-input:not([appearance='filled']):not([disabled]), + wa-select:not([appearance='filled']):not([disabled]) { --box-shadow: var(--wa-shadow-level-0); --border-width: 0 0 var(--wa-form-control-border-width) var(--wa-form-control-border-width); } diff --git a/src/styles/themes/classic.css b/src/styles/themes/classic.css index d3c98cca4..465a42629 100644 --- a/src/styles/themes/classic.css +++ b/src/styles/themes/classic.css @@ -434,9 +434,9 @@ wa-drawer { --spacing: var(--wa-space-l); } -wa-input:not([appearance=filled]), -wa-select:not([appearance=filled]), -wa-textarea:not([appearance=filled]) { +wa-input:not([appearance='filled']), +wa-select:not([appearance='filled']), +wa-textarea:not([appearance='filled']) { --wa-focus-ring: var(--wa-focus-ring-style) var(--wa-focus-ring-width) color-mix(in oklab, var(--wa-color-focus), transparent 50%); --wa-focus-ring-offset: 0; diff --git a/src/styles/themes/playful.css b/src/styles/themes/playful.css index 31a21ba62..5fda48d5a 100644 --- a/src/styles/themes/playful.css +++ b/src/styles/themes/playful.css @@ -500,9 +500,9 @@ /* preventing shadows on all form input types */ wa-input:not(:focus), - wa-input:not([appearance=filled]):not([disabled]), + wa-input:not([appearance='filled']):not([disabled]), wa-checkbox:not([checked]):not([indeterminate]), - wa-select:not([appearance=filled]):not([disabled]) { + wa-select:not([appearance='filled']):not([disabled]) { --box-shadow: var(--wa-shadow-level-0); }