From fce1573a1ea36ca653582296d4ca70fa0def3a84 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Thu, 14 Dec 2023 13:21:44 -0500 Subject: [PATCH] Assign font family to input fields (#2871) * Price per item, Popover and global style bugs (#2851) * Fix cart submission on Quick Order List (#2868) * Social icons: Visual fixes (#2855) * Adjust spacing. * Facebook + Tumblr icon size adjustments. * Update social icon SVGs. * Tidy up new icon sizes again. * Resize icons. * Make spacing slightly smaller. * Make icons larger so they're more similar to the old sizes. * Remove padding to compensate for extra viewbox space. * Try a smaller Twitter icon. * Update snapchat icon. * Resize social links in menu drawer to 44x44 * replace translation string to have the translation visible (#2869) * B2B compare at price with price range (#2858) * Add sale badge and price-range for volume-pricing * Add compare_at price to PDP and Feat Prod. * Change opacity to 100% for price per item. * Update the logic * Hide price per item for unavailable variants. * Remove margin for dl. * Refactoring * Correct a mistake in liquid. * Change the JS logic back for updating price per item * Add compare at to prod card. Add style to compare at * Assign font family to input fields. * Update assets/base.css Co-authored-by: Kai * Use the theme's font style + weight in form elements. --------- Co-authored-by: Sofia Matulis Co-authored-by: melissaperreault Co-authored-by: Eugene Kasimov <105315663+eugenekasimov@users.noreply.github.com> Co-authored-by: Kai --- assets/base.css | 6 ++++++ assets/quantity-popover.css | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/base.css b/assets/base.css index 0aca2b6829a..151b99b9519 100644 --- a/assets/base.css +++ b/assets/base.css @@ -1585,6 +1585,9 @@ details[open] > .share-button__fallback { appearance: none; background-color: rgb(var(--color-background)); color: rgb(var(--color-foreground)); + font-family: var(--font-body-family); + font-style: var(--font-body-style); + font-weight: var(--font-body-weight); font-size: 1.6rem; width: 100%; box-sizing: border-box; @@ -1925,6 +1928,9 @@ input[type='checkbox'] { .quantity__input { color: currentColor; + font-family: var(--font-body-family); + font-style: var(--font-body-style); + font-weight: var(--font-body-weight); font-size: 1.6rem; font-weight: 500; opacity: 0.85; diff --git a/assets/quantity-popover.css b/assets/quantity-popover.css index 3173a685a60..f7b0c87c987 100644 --- a/assets/quantity-popover.css +++ b/assets/quantity-popover.css @@ -161,4 +161,4 @@ quantity-popover .quantity__rules .divider:nth-child(2)::before { quantity-popover .quantity__button:not(:focus-visible):not(.focused), quantity-popover .quantity__input:not(:focus-visible):not(.focused) { background-color: initial; -} +} \ No newline at end of file