Point color, radius, stroke, focus, and type tokens at the Figma scale so later sections use the same values.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
63d5d21ae0
commit
e808fe70bf
162 files changed
+1385
-1377
No files matched your search
@@ -237,12 +237,7 @@ export type MenuItemModeValue = (typeof MENU_ITEM_MODE_OPTIONS)[number];
|
||||
export const MENU_ITEM_SIZE_OPTIONS = MENU_SIZE_OPTIONS;
|
||||
export type MenuItemSizeValue = MenuSizeValue;
|
||||
|
||||
export const BUTTON_TYPE_OPTIONS = [
|
||||
"filled",
|
||||
"outline",
|
||||
"ghost",
|
||||
"danger",
|
||||
] as const;
|
||||
export const BUTTON_TYPE_OPTIONS = ["filled", "outline", "ghost"] as const;
|
||||
export type ButtonTypeValue = (typeof BUTTON_TYPE_OPTIONS)[number];
|
||||
|
||||
export const BUTTON_PALETTE_OPTIONS = ["default", "inverse"] as const;
|
||||
@@ -257,6 +252,20 @@ export const BUTTON_STATE_OPTIONS = [
|
||||
] as const;
|
||||
export type ButtonStateValue = (typeof BUTTON_STATE_OPTIONS)[number];
|
||||
|
||||
export const UPLOAD_STATE_OPTIONS = [
|
||||
"default",
|
||||
"hover",
|
||||
"focus",
|
||||
"active",
|
||||
"disabled",
|
||||
"error",
|
||||
] as const;
|
||||
export type UploadStateValue = (typeof UPLOAD_STATE_OPTIONS)[number];
|
||||
|
||||
export const INCREMENTER_BLOCK_STATE_OPTIONS = ["default", "disabled"] as const;
|
||||
export type IncrementerBlockStateValue =
|
||||
(typeof INCREMENTER_BLOCK_STATE_OPTIONS)[number];
|
||||
|
||||
export const PROPORTION_BAR_VARIANT_OPTIONS = [
|
||||
"default",
|
||||
"segmented",
|
||||
|
||||
Reference in new issue
Block a user