Skip to content

Commit 95f4ac0

Browse files
committed
chore: update changeset for component token customization
1 parent ba9036e commit 95f4ac0

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.changeset/migrate-scss-to-css-custom-properties.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,10 @@
33
"@tiny-design/tokens": minor
44
---
55

6-
Migrate component styles from SCSS variables to CSS custom properties (`--ty-*`) for better runtime theming support. Add new theme tokens for color-picker, list, speed-dial, and avatar components.
6+
Migrate component styles from SCSS variables to CSS custom properties (`--ty-*`) for better runtime theming support.
7+
8+
- Migrate ~80 structural SCSS constants (padding, sizing, transitions) to runtime-customizable CSS custom properties
9+
- Tokenize hardcoded values in Button, Input, Card, Select, and Notification components
10+
- Add component-scoped CSS variable fallback chains (e.g., `--ty-btn-border-radius` falls back to `--ty-border-radius`)
11+
- Add `ThemeConfig` API to `ConfigProvider` for programmatic token and component-level overrides
12+
- Three-level customization: global tokens, component tokens, and scoped instance overrides via CSS

0 commit comments

Comments
 (0)