Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix(core): preserve Tailwind font weights (#6479)

Cindy Zhang01fa43907180
diff --git a/.changeset/fix-tailwind-font-weights.md b/.changeset/fix-tailwind-font-weights.md
new file mode 100644
index 0000000000..91ae69a33a
--- /dev/null
+++ b/.changeset/fix-tailwind-font-weights.md
@@ -0,0 +1,7 @@
+---
+'@astryxdesign/core': patch
+---
+
+[fix] Preserve Tailwind font weights when using the theme bridge.
+
+@cixzhang
diff --git a/packages/core/src/tailwind-theme.css b/packages/core/src/tailwind-theme.css
index 34027e7dcf..1bd3f07dfa 100644
--- a/packages/core/src/tailwind-theme.css
+++ b/packages/core/src/tailwind-theme.css
@@ -182,12 +182,6 @@
--text-4xl: var(--font-size-4xl);
--text-5xl: var(--font-size-5xl);
- /* --- Font weights --- */
- --font-weight-normal: var(--font-weight-normal);
- --font-weight-medium: var(--font-weight-medium);
- --font-weight-semibold: var(--font-weight-semibold);
- --font-weight-bold: var(--font-weight-bold);
-
/* =========================================================================
* Border radius
*