Skip to content

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

TypeScript

fix(core): use radius token for CheckboxInput indeterminate mark (#4258)

Cindy Zhang51ad6be0cb34
diff --git a/.changeset/checkboxinput-indeterminate-radius.md b/.changeset/checkboxinput-indeterminate-radius.md
new file mode 100644
index 0000000000..aab0dd0370
--- /dev/null
+++ b/.changeset/checkboxinput-indeterminate-radius.md
@@ -0,0 +1,7 @@
+---
+'@astryxdesign/core': patch
+---
+
+[fix] CheckboxInput: the indeterminate mark now uses the `--radius-full` token instead of a hardcoded radius, for token consistency. No visual change.
+
+@cixzhang
diff --git a/packages/core/src/CheckboxInput/CheckboxInput.tsx b/packages/core/src/CheckboxInput/CheckboxInput.tsx
index 3ca54c15c8..b01c88e04d 100644
--- a/packages/core/src/CheckboxInput/CheckboxInput.tsx
+++ b/packages/core/src/CheckboxInput/CheckboxInput.tsx
@@ -166,7 +166,7 @@ const styles = stylex.create({
indeterminateMark: {
display: 'none',
backgroundColor: colorVars['--color-on-accent'],
- borderRadius: 1,
+ borderRadius: radiusVars['--radius-full'],
},
indeterminateMarkVisible: {
display: 'block',