From d7373979ec1dfa110f7f5741c7d6740659cbf367 Mon Sep 17 00:00:00 2001 From: Andrey Yamanov Date: Mon, 15 Jun 2026 13:02:03 +0200 Subject: [PATCH] fix(typography): default values --- .changeset/wet-worms-eat.md | 5 +++++ src/tokens/typography.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/wet-worms-eat.md diff --git a/.changeset/wet-worms-eat.md b/.changeset/wet-worms-eat.md new file mode 100644 index 000000000..9c1f44fb1 --- /dev/null +++ b/.changeset/wet-worms-eat.md @@ -0,0 +1,5 @@ +--- +"@cube-dev/ui-kit": patch +--- + +Fix default typography values to fallback to the existing t3 preset. diff --git a/src/tokens/typography.ts b/src/tokens/typography.ts index ac8953796..06150054f 100644 --- a/src/tokens/typography.ts +++ b/src/tokens/typography.ts @@ -240,7 +240,7 @@ export const TYPOGRAPHY_PRESETS: Record = { lineHeight: 'var(--t3-line-height)', letterSpacing: 'var(--t3-letter-spacing)', fontWeight: 'var(--t3-font-weight)', - boldFontWeight: '600', - iconSize: 'inherit', + boldFontWeight: 'var(--t3-bold-font-weight)', + iconSize: 'var(--t3-icon-size)', }, };