studio: {
borders: { width: "1px" };
breakpoints: {
lg: "64rem";
md: "48rem";
sm: "40rem";
xl: "80rem";
xs: "30rem";
};
colors: {
danger: { dark: "#ff9fc0"; light: "#c42b5c" };
info: { dark: "#cbaaff"; light: "#6b35bd" };
neutral: { dark: "#bcbcd4"; light: "#4d4d65" };
primary: { dark: "#a8b5ff"; light: "#2842d7" };
success: { dark: "#d5ef68"; light: "#407200" };
warning: { dark: "#ffdc62"; light: "#a86a00" };
};
components: {
Alert: {
color: "success";
gap: "sm";
padding: "md";
radius: "lg";
textStyle: "label";
};
Avatar: { radius: "rounded" };
Badge: { color: "success"; radius: "sm" };
Button: { radius: "md" };
Card: { radius: "xl"; shadow: "sm" };
Dialog: { radius: "xl"; slots: { header: { textStyle: "heading" } } };
Drawer: { size: "sm" };
EmptyState: {
color: "neutral";
gap: "sm";
padding: "lg";
textStyle: "body";
};
Stepper: { radius: "rounded" };
Table: { slots: { header: { textStyle: "label" } } };
Toast: { gap: "sm"; padding: "md"; radius: "lg"; textStyle: "label" };
Tooltip: { padding: "sm"; radius: "md"; textStyle: "caption" };
};
defaults: {
color: "primary";
density: "comfortable";
errorColor: "danger";
floatingShadow: "md";
gap: "md";
helperStyle: "caption";
labelStyle: "label";
modalSize: "md";
padding: "lg";
radius: "md";
size: "md";
softVariant: "soft";
textStyle: "body";
variant: "solid";
};
density: {
comfortable: {
fontSize: "1rem";
paddingX: "1rem";
paddingY: "0.875rem";
};
compact: { fontSize: "0.875rem"; paddingX: "0.75rem"; paddingY: "0.5rem" };
};
focusRing: { color: "primary"; offset: "3px"; width: "3px" };
labels: {
actions: "Actions";
audioLevel: "Input level";
avatarOverflow: (count: number) => string;
breadcrumb: "Breadcrumb";
chooseAction: "Choose action";
chooseColor: "Choose color";
chooseDate: "Choose date";
chooseFile: "Choose file";
chooseFiles: "Choose files";
close: "Close";
colorPresets: "Suggested colors";
commandPalette: "Command palette";
currentImage: "Current image";
currentImageName: "current image";
decrease: "Decrease";
dismiss: "Dismiss";
dropFile: "or drop a file here";
dropFiles: "or drop files here";
dropReplacement: "or drop a replacement here";
expandBreadcrumb: "Show all breadcrumbs";
increase: "Increase";
loading: "Loading";
loadingResults: "Loading…";
nextMonth: "Next month";
nextPage: "Next page";
noResults: "No results";
notifications: "Notifications";
page: (page: number) => string;
pageSummary: (page: number, count: number) => string;
pagination: "Pagination";
pauseAudio: "Pause audio";
playAudio: "Play audio";
previewImage: (name: string) => string;
previousMonth: "Previous month";
previousPage: "Previous page";
progress: "Progress";
progressValue: (value: number, max: number) => string;
remove: "Remove";
removeItem: (name: string) => string;
replaceFile: "Replace file";
searchCommands: "Search commands…";
seekAudio: "Seek audio";
selectAllRows: "Select all rows";
selectedImage: "selected image";
selectedItems: "Selected";
shortcutAlt: "Alt";
shortcutControl: "Ctrl";
shortcutMeta: "Meta";
shortcutShift: "Shift";
sliderMaximum: "Maximum";
sliderMinimum: "Minimum";
stepCompleted: "Completed";
};
modalSizes: {
full: "100vw";
lg: "48rem";
md: "32rem";
sm: "24rem";
xl: "64rem";
};
motion: {
base: "200ms";
easing: "cubic-bezier(0.2, 0, 0, 1)";
fast: "120ms";
};
neutrals: {
bg: { dark: "#121225"; light: "#f3f3fa" };
border: { dark: "#535373"; light: "#c9c9df" };
muted: { dark: "#b2b2cc"; light: "#66667e" };
surface: { dark: "#22223b"; light: "#ffffff" };
text: { dark: "#f4f4ff"; light: "#20203c" };
};
radii: {
lg: "16px";
md: "10px";
rounded: "9999px";
sm: "6px";
square: "0";
xl: "24px";
};
shadows: {
lg: "0 20px 48px -8px light-dark(rgb(40 66 215 / 0.25), rgb(0 0 0 / 0.75))";
md: "0 8px 24px -4px light-dark(rgb(40 66 215 / 0.2), rgb(0 0 0 / 0.6))";
sm: "0 3px 0 light-dark(rgb(40 66 215 / 0.1), rgb(0 0 0 / 0.35))";
};
sizes: {
lg: {
fontSize: "1.125rem";
height: "3.5rem";
iconSize: "1.5rem";
paddingX: "1.75rem";
};
md: {
fontSize: "1rem";
height: "3rem";
iconSize: "1.25rem";
paddingX: "1.375rem";
};
sm: {
fontSize: "0.875rem";
height: "2.5rem";
iconSize: "1rem";
paddingX: "1rem";
};
xl: {
fontSize: "1.25rem";
height: "4rem";
iconSize: "1.75rem";
paddingX: "2.25rem";
};
xs: {
fontSize: "0.8125rem";
height: "2rem";
iconSize: "0.875rem";
paddingX: "0.75rem";
};
};
spacing: {
lg: "1.75rem";
md: "1.25rem";
sm: "0.75rem";
xl: "2.5rem";
xs: "0.375rem";
};
timing: {
hoverCloseDelay: 150;
hoverOpenDelay: 300;
toastDuration: 5000;
tooltipDelay: 400;
typeaheadTimeout: 1000;
};
typography: {
families: {
mono: "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace";
sans: "\"Avenir Next\", \"Trebuchet MS\", system-ui, sans-serif";
};
fonts: { body: "sans"; heading: "sans"; mono: "mono" };
headings: {
h1: "display";
h2: "heading";
h3: "subheading";
h4: "subheading";
h5: "label";
h6: "label";
};
styles: {
body: { family: "sans"; lineHeight: 1.55; size: "1rem"; weight: 400 };
caption: {
family: "sans";
lineHeight: 1.45;
size: "0.8125rem";
weight: 500;
};
code: { family: "mono"; lineHeight: 1.5; size: "0.875rem"; weight: 400 };
display: {
family: "sans";
letterSpacing: "-0.045em";
lineHeight: 1;
size: "3rem";
weight: 900;
};
heading: {
family: "sans";
letterSpacing: "-0.025em";
lineHeight: 1.15;
size: "1.875rem";
weight: 800;
};
label: {
family: "sans";
lineHeight: 1.4;
size: "0.9375rem";
weight: 700;
};
subheading: {
family: "sans";
lineHeight: 1.3;
size: "1.25rem";
weight: 700;
};
};
};
variants: {
ghost: { background: "none"; border: "none"; text: "color" };
outline: { background: "none"; border: "color"; text: "color" };
soft: { background: "tint"; border: "none"; text: "color" };
solid: { background: "fill"; border: "color"; text: "on" };
};
widths: { page: "72rem"; reading: "44rem"; sidebar: "15rem" };
zIndex: { dialog: 1200; dropdown: 1000; toast: 1300; tooltip: 1100 };
} = ...
Type Declaration
-
Readonlyborders: { width: "1px" }
-
Readonlybreakpoints: { lg: "64rem"; md: "48rem"; sm: "40rem"; xl: "80rem"; xs: "30rem" }
-
Readonlycolors: {
danger: { dark: "#ff9fc0"; light: "#c42b5c" };
info: { dark: "#cbaaff"; light: "#6b35bd" };
neutral: { dark: "#bcbcd4"; light: "#4d4d65" };
primary: { dark: "#a8b5ff"; light: "#2842d7" };
success: { dark: "#d5ef68"; light: "#407200" };
warning: { dark: "#ffdc62"; light: "#a86a00" };
}
-
Readonlycomponents: {
Alert: {
color: "success";
gap: "sm";
padding: "md";
radius: "lg";
textStyle: "label";
};
Avatar: { radius: "rounded" };
Badge: { color: "success"; radius: "sm" };
Button: { radius: "md" };
Card: { radius: "xl"; shadow: "sm" };
Dialog: { radius: "xl"; slots: { header: { textStyle: "heading" } } };
Drawer: { size: "sm" };
EmptyState: {
color: "neutral";
gap: "sm";
padding: "lg";
textStyle: "body";
};
Stepper: { radius: "rounded" };
Table: { slots: { header: { textStyle: "label" } } };
Toast: { gap: "sm"; padding: "md"; radius: "lg"; textStyle: "label" };
Tooltip: { padding: "sm"; radius: "md"; textStyle: "caption" };
}
-
Readonlydefaults: {
color: "primary";
density: "comfortable";
errorColor: "danger";
floatingShadow: "md";
gap: "md";
helperStyle: "caption";
labelStyle: "label";
modalSize: "md";
padding: "lg";
radius: "md";
size: "md";
softVariant: "soft";
textStyle: "body";
variant: "solid";
}
-
Readonlydensity: {
comfortable: {
fontSize: "1rem";
paddingX: "1rem";
paddingY: "0.875rem";
};
compact: { fontSize: "0.875rem"; paddingX: "0.75rem"; paddingY: "0.5rem" };
}
-
ReadonlyfocusRing: { color: "primary"; offset: "3px"; width: "3px" }
-
Readonlylabels: {
actions: "Actions";
audioLevel: "Input level";
avatarOverflow: (count: number) => string;
breadcrumb: "Breadcrumb";
chooseAction: "Choose action";
chooseColor: "Choose color";
chooseDate: "Choose date";
chooseFile: "Choose file";
chooseFiles: "Choose files";
close: "Close";
colorPresets: "Suggested colors";
commandPalette: "Command palette";
currentImage: "Current image";
currentImageName: "current image";
decrease: "Decrease";
dismiss: "Dismiss";
dropFile: "or drop a file here";
dropFiles: "or drop files here";
dropReplacement: "or drop a replacement here";
expandBreadcrumb: "Show all breadcrumbs";
increase: "Increase";
loading: "Loading";
loadingResults: "Loading…";
nextMonth: "Next month";
nextPage: "Next page";
noResults: "No results";
notifications: "Notifications";
page: (page: number) => string;
pageSummary: (page: number, count: number) => string;
pagination: "Pagination";
pauseAudio: "Pause audio";
playAudio: "Play audio";
previewImage: (name: string) => string;
previousMonth: "Previous month";
previousPage: "Previous page";
progress: "Progress";
progressValue: (value: number, max: number) => string;
remove: "Remove";
removeItem: (name: string) => string;
replaceFile: "Replace file";
searchCommands: "Search commands…";
seekAudio: "Seek audio";
selectAllRows: "Select all rows";
selectedImage: "selected image";
selectedItems: "Selected";
shortcutAlt: "Alt";
shortcutControl: "Ctrl";
shortcutMeta: "Meta";
shortcutShift: "Shift";
sliderMaximum: "Maximum";
sliderMinimum: "Minimum";
stepCompleted: "Completed";
}
-
ReadonlymodalSizes: { full: "100vw"; lg: "48rem"; md: "32rem"; sm: "24rem"; xl: "64rem" }
-
Readonlymotion: { base: "200ms"; easing: "cubic-bezier(0.2, 0, 0, 1)"; fast: "120ms" }
-
Readonlyneutrals: {
bg: { dark: "#121225"; light: "#f3f3fa" };
border: { dark: "#535373"; light: "#c9c9df" };
muted: { dark: "#b2b2cc"; light: "#66667e" };
surface: { dark: "#22223b"; light: "#ffffff" };
text: { dark: "#f4f4ff"; light: "#20203c" };
}
-
Readonlyradii: {
lg: "16px";
md: "10px";
rounded: "9999px";
sm: "6px";
square: "0";
xl: "24px";
}
-
Readonlyshadows: {
lg: "0 20px 48px -8px light-dark(rgb(40 66 215 / 0.25), rgb(0 0 0 / 0.75))";
md: "0 8px 24px -4px light-dark(rgb(40 66 215 / 0.2), rgb(0 0 0 / 0.6))";
sm: "0 3px 0 light-dark(rgb(40 66 215 / 0.1), rgb(0 0 0 / 0.35))";
}
-
Readonlysizes: {
lg: {
fontSize: "1.125rem";
height: "3.5rem";
iconSize: "1.5rem";
paddingX: "1.75rem";
};
md: {
fontSize: "1rem";
height: "3rem";
iconSize: "1.25rem";
paddingX: "1.375rem";
};
sm: {
fontSize: "0.875rem";
height: "2.5rem";
iconSize: "1rem";
paddingX: "1rem";
};
xl: {
fontSize: "1.25rem";
height: "4rem";
iconSize: "1.75rem";
paddingX: "2.25rem";
};
xs: {
fontSize: "0.8125rem";
height: "2rem";
iconSize: "0.875rem";
paddingX: "0.75rem";
};
}
-
Readonlyspacing: { lg: "1.75rem"; md: "1.25rem"; sm: "0.75rem"; xl: "2.5rem"; xs: "0.375rem" }
-
Readonlytiming: {
hoverCloseDelay: 150;
hoverOpenDelay: 300;
toastDuration: 5000;
tooltipDelay: 400;
typeaheadTimeout: 1000;
}
-
Readonlytypography: {
families: {
mono: "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace";
sans: "\"Avenir Next\", \"Trebuchet MS\", system-ui, sans-serif";
};
fonts: { body: "sans"; heading: "sans"; mono: "mono" };
headings: {
h1: "display";
h2: "heading";
h3: "subheading";
h4: "subheading";
h5: "label";
h6: "label";
};
styles: {
body: { family: "sans"; lineHeight: 1.55; size: "1rem"; weight: 400 };
caption: {
family: "sans";
lineHeight: 1.45;
size: "0.8125rem";
weight: 500;
};
code: { family: "mono"; lineHeight: 1.5; size: "0.875rem"; weight: 400 };
display: {
family: "sans";
letterSpacing: "-0.045em";
lineHeight: 1;
size: "3rem";
weight: 900;
};
heading: {
family: "sans";
letterSpacing: "-0.025em";
lineHeight: 1.15;
size: "1.875rem";
weight: 800;
};
label: { family: "sans"; lineHeight: 1.4; size: "0.9375rem"; weight: 700 };
subheading: {
family: "sans";
lineHeight: 1.3;
size: "1.25rem";
weight: 700;
};
};
}
-
Readonlyvariants: {
ghost: { background: "none"; border: "none"; text: "color" };
outline: { background: "none"; border: "color"; text: "color" };
soft: { background: "tint"; border: "none"; text: "color" };
solid: { background: "fill"; border: "color"; text: "on" };
}
-
Readonlywidths: { page: "72rem"; reading: "44rem"; sidebar: "15rem" }
-
ReadonlyzIndex: { dialog: 1200; dropdown: 1000; toast: 1300; tooltip: 1100 }
Bold and energetic: cobalt and citrus, heavy display type, rounded rectangles, large controls and sculpted cards.