Skip to content

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

TypeScript

fix(core): use spacing tokens for ChatComposerDrawer bar handle (#4699)

Cindy Zhang77b3b61f5440
diff --git a/.changeset/chat-composer-drawer-tokens.md b/.changeset/chat-composer-drawer-tokens.md
new file mode 100644
index 0000000000..bd37de208d
--- /dev/null
+++ b/.changeset/chat-composer-drawer-tokens.md
@@ -0,0 +1,7 @@
+---
+'@astryxdesign/core': patch
+---
+
+[fix] Use spacing tokens for ChatComposerDrawer bar handle dimensions.
+
+@cixzhang
diff --git a/packages/core/src/Chat/ChatComposerDrawer.tsx b/packages/core/src/Chat/ChatComposerDrawer.tsx
index 162be235f0..86d6c9523f 100644
--- a/packages/core/src/Chat/ChatComposerDrawer.tsx
+++ b/packages/core/src/Chat/ChatComposerDrawer.tsx
@@ -157,8 +157,8 @@ const styles = stylex.create({
gridColumn: 1,
justifySelf: 'center',
alignSelf: 'start',
- width: '20px',
- height: '2px',
+ width: spacingVars['--spacing-5'],
+ height: spacingVars['--spacing-0-5'],
borderRadius: radiusVars['--radius-full'],
backgroundColor: {
default: colorVars['--color-icon-secondary'],