From 7df68569dce5b1a0cf9be6465b4c2e52f978dfa1 Mon Sep 17 00:00:00 2001 From: lindsaym-fa Date: Fri, 24 Oct 2025 11:16:08 -0400 Subject: [PATCH] use `--wa-font-weight-code` in native styles --- packages/webawesome/src/styles/native.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/webawesome/src/styles/native.css b/packages/webawesome/src/styles/native.css index 06bf684d8..ae1d6d6d0 100644 --- a/packages/webawesome/src/styles/native.css +++ b/packages/webawesome/src/styles/native.css @@ -228,6 +228,7 @@ font-family: var(--wa-font-family-code); font-size: var(--wa-font-size-smaller); + font-weight: var(--wa-font-weight-code); border: solid var(--wa-border-width-s) color-mix(in oklab, currentColor, transparent 50%); border-radius: var(--wa-border-radius-s); @@ -281,6 +282,7 @@ font-family: var(--wa-font-family-code); font-size: var(--wa-font-size-smaller); + font-weight: var(--wa-font-weight-code); background-color: var(--wa-color-overlay-inline); border-radius: var(--wa-border-radius-s); @@ -291,6 +293,7 @@ font-family: var(--wa-font-family-code); font-size: var(--wa-font-size-smaller); + font-weight: var(--wa-font-weight-code); white-space: pre; background-color: var(--wa-color-overlay-inline);