circuit: {
borders: { width: "1px" };
breakpoints: {
lg: "64rem";
md: "48rem";
sm: "40rem";
xl: "80rem";
xs: "30rem";
};
colors: {
danger: { dark: "#fda4af"; light: "#c02d4d" };
info: { dark: "#a5b4fc"; light: "#3b54b0" };
neutral: { dark: "#adc6db"; light: "#465d73" };
primary: { dark: "#67e8f9"; light: "#006c83" };
success: { dark: "#6ee7b7"; light: "#14734f" };
warning: { dark: "#fcd34d"; light: "#925900" };
};
components: {
Alert: { gap: "sm"; padding: "md"; textStyle: "label" };
Avatar: { radius: "rounded" };
Card: { radius: "lg"; shadow: "sm" };
Dialog: { slots: { footer: { background: "tint"; padding: "md" } } };
Drawer: { size: "sm" };
EmptyState: {
color: "neutral";
gap: "sm";
padding: "lg";
textStyle: "body";
};
Stepper: { radius: "rounded" };
Table: { slots: { header: { background: "tint"; textStyle: "label" } } };
Tabs: { slots: { trigger: { 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: "sm";
size: "md";
softVariant: "soft";
textStyle: "body";
variant: "solid";
};
density: {
comfortable: {
fontSize: "0.875rem";
paddingX: "0.875rem";
paddingY: "0.75rem";
};
compact: {
fontSize: "0.8125rem";
paddingX: "0.625rem";
paddingY: "0.375rem";
};
};
focusRing: { color: "primary"; offset: "3px"; width: "2px" };
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: "#07111f"; light: "#edf4f8" };
border: { dark: "#36546f"; light: "#b4c9dc" };
muted: { dark: "#9bb4cc"; light: "#50677e" };
surface: { dark: "#11243a"; light: "#fafdff" };
text: { dark: "#e2f0fb"; light: "#102a43" };
};
radii: {
lg: "6px";
md: "4px";
rounded: "9999px";
sm: "2px";
square: "0";
xl: "8px";
};
shadows: {
lg: "0 20px 48px light-dark(rgb(16 42 67 / 0.2), rgb(0 0 0 / 0.7))";
md: "0 8px 24px light-dark(rgb(16 42 67 / 0.14), rgb(0 0 0 / 0.55))";
sm: "0 0 0 1px light-dark(rgb(0 108 131 / 0.08), rgb(103 232 249 / 0.08))";
};
sizes: {
lg: {
fontSize: "1rem";
height: "3.125rem";
iconSize: "1.25rem";
paddingX: "1.5rem";
};
md: {
fontSize: "0.875rem";
height: "2.625rem";
iconSize: "1.125rem";
paddingX: "1.125rem";
};
sm: {
fontSize: "0.8125rem";
height: "2.125rem";
iconSize: "1rem";
paddingX: "0.875rem";
};
xl: {
fontSize: "1.125rem";
height: "3.625rem";
iconSize: "1.5rem";
paddingX: "1.875rem";
};
xs: {
fontSize: "0.75rem";
height: "1.75rem";
iconSize: "0.875rem";
paddingX: "0.625rem";
};
};
spacing: {
lg: "1.5rem";
md: "1rem";
sm: "0.625rem";
xl: "2.25rem";
xs: "0.25rem";
};
timing: {
hoverCloseDelay: 150;
hoverOpenDelay: 300;
toastDuration: 5000;
tooltipDelay: 400;
typeaheadTimeout: 1000;
};
typography: {
families: {
mono: "\"SF Mono\", ui-monospace, Menlo, Consolas, monospace";
sans: "\"Segoe UI\", system-ui, -apple-system, 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: "0.9375rem";
weight: 400;
};
caption: {
family: "mono";
lineHeight: 1.5;
size: "0.75rem";
weight: 400;
};
code: { family: "mono"; lineHeight: 1.5; size: "0.8125rem"; weight: 400 };
display: {
family: "sans";
letterSpacing: "-0.035em";
lineHeight: 1.15;
size: "2.25rem";
weight: 600;
};
heading: {
family: "sans";
letterSpacing: "-0.025em";
lineHeight: 1.25;
size: "1.5rem";
weight: 600;
};
label: {
family: "mono";
letterSpacing: "0.025em";
lineHeight: 1.45;
size: "0.8125rem";
weight: 500;
};
subheading: {
family: "sans";
lineHeight: 1.35;
size: "1.125rem";
weight: 600;
};
};
};
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: "#fda4af"; light: "#c02d4d" };
info: { dark: "#a5b4fc"; light: "#3b54b0" };
neutral: { dark: "#adc6db"; light: "#465d73" };
primary: { dark: "#67e8f9"; light: "#006c83" };
success: { dark: "#6ee7b7"; light: "#14734f" };
warning: { dark: "#fcd34d"; light: "#925900" };
}
-
Readonlycomponents: {
Alert: { gap: "sm"; padding: "md"; textStyle: "label" };
Avatar: { radius: "rounded" };
Card: { radius: "lg"; shadow: "sm" };
Dialog: { slots: { footer: { background: "tint"; padding: "md" } } };
Drawer: { size: "sm" };
EmptyState: {
color: "neutral";
gap: "sm";
padding: "lg";
textStyle: "body";
};
Stepper: { radius: "rounded" };
Table: { slots: { header: { background: "tint"; textStyle: "label" } } };
Tabs: { slots: { trigger: { 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: "sm";
size: "md";
softVariant: "soft";
textStyle: "body";
variant: "solid";
}
-
Readonlydensity: {
comfortable: {
fontSize: "0.875rem";
paddingX: "0.875rem";
paddingY: "0.75rem";
};
compact: {
fontSize: "0.8125rem";
paddingX: "0.625rem";
paddingY: "0.375rem";
};
}
-
ReadonlyfocusRing: { color: "primary"; offset: "3px"; width: "2px" }
-
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: "#07111f"; light: "#edf4f8" };
border: { dark: "#36546f"; light: "#b4c9dc" };
muted: { dark: "#9bb4cc"; light: "#50677e" };
surface: { dark: "#11243a"; light: "#fafdff" };
text: { dark: "#e2f0fb"; light: "#102a43" };
}
-
Readonlyradii: { lg: "6px"; md: "4px"; rounded: "9999px"; sm: "2px"; square: "0"; xl: "8px" }
-
Readonlyshadows: {
lg: "0 20px 48px light-dark(rgb(16 42 67 / 0.2), rgb(0 0 0 / 0.7))";
md: "0 8px 24px light-dark(rgb(16 42 67 / 0.14), rgb(0 0 0 / 0.55))";
sm: "0 0 0 1px light-dark(rgb(0 108 131 / 0.08), rgb(103 232 249 / 0.08))";
}
-
Readonlysizes: {
lg: {
fontSize: "1rem";
height: "3.125rem";
iconSize: "1.25rem";
paddingX: "1.5rem";
};
md: {
fontSize: "0.875rem";
height: "2.625rem";
iconSize: "1.125rem";
paddingX: "1.125rem";
};
sm: {
fontSize: "0.8125rem";
height: "2.125rem";
iconSize: "1rem";
paddingX: "0.875rem";
};
xl: {
fontSize: "1.125rem";
height: "3.625rem";
iconSize: "1.5rem";
paddingX: "1.875rem";
};
xs: {
fontSize: "0.75rem";
height: "1.75rem";
iconSize: "0.875rem";
paddingX: "0.625rem";
};
}
-
Readonlyspacing: { lg: "1.5rem"; md: "1rem"; sm: "0.625rem"; xl: "2.25rem"; xs: "0.25rem" }
-
Readonlytiming: {
hoverCloseDelay: 150;
hoverOpenDelay: 300;
toastDuration: 5000;
tooltipDelay: 400;
typeaheadTimeout: 1000;
}
-
Readonlytypography: {
families: {
mono: "\"SF Mono\", ui-monospace, Menlo, Consolas, monospace";
sans: "\"Segoe UI\", system-ui, -apple-system, 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: "0.9375rem";
weight: 400;
};
caption: { family: "mono"; lineHeight: 1.5; size: "0.75rem"; weight: 400 };
code: { family: "mono"; lineHeight: 1.5; size: "0.8125rem"; weight: 400 };
display: {
family: "sans";
letterSpacing: "-0.035em";
lineHeight: 1.15;
size: "2.25rem";
weight: 600;
};
heading: {
family: "sans";
letterSpacing: "-0.025em";
lineHeight: 1.25;
size: "1.5rem";
weight: 600;
};
label: {
family: "mono";
letterSpacing: "0.025em";
lineHeight: 1.45;
size: "0.8125rem";
weight: 500;
};
subheading: {
family: "sans";
lineHeight: 1.35;
size: "1.125rem";
weight: 600;
};
};
}
-
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 }
Precise and technical: cyan on ice and navy, crisp corners, monospace labels, roomy controls and layered panels.