compact: {
borders: { width: "1px" };
breakpoints: {
lg: "64rem";
md: "48rem";
sm: "40rem";
xl: "80rem";
xs: "30rem";
};
colors: {
danger: { dark: "#f87171"; light: "#b91c1c" };
info: { dark: "#60a5fa"; light: "#1d4ed8" };
neutral: { dark: "#9aa5b1"; light: "#52606d" };
primary: { dark: "#2dd4bf"; light: "#0f766e" };
success: { dark: "#4ade80"; light: "#15803d" };
warning: { dark: "#facc15"; light: "#a16207" };
};
components: {
Alert: { gap: "sm"; padding: "md"; textStyle: "label" };
Avatar: { radius: "rounded" };
Drawer: { size: "sm" };
EmptyState: {
color: "neutral";
gap: "sm";
padding: "lg";
textStyle: "body";
};
Stepper: { radius: "rounded" };
Toast: { gap: "sm"; padding: "md"; radius: "lg"; textStyle: "label" };
Tooltip: { padding: "sm"; radius: "md"; textStyle: "caption" };
};
defaults: {
color: "primary";
density: "compact";
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.8125rem";
paddingX: "0.625rem";
paddingY: "0.375rem";
};
compact: { fontSize: "0.75rem"; paddingX: "0.5rem"; paddingY: "0.25rem" };
};
focusRing: { color: "info"; offset: "1px"; 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: "#0b0f14"; light: "#eef1f4" };
border: { dark: "#2a333d"; light: "#cbd2d9" };
muted: { dark: "#9aa5b1"; light: "#52606d" };
surface: { dark: "#141a21"; light: "#ffffff" };
text: { dark: "#e4e7eb"; light: "#1f2933" };
};
radii: {
lg: "4px";
md: "3px";
rounded: "9999px";
sm: "2px";
square: "0";
xl: "6px";
};
shadows: {
lg: "0 8px 24px light-dark(rgb(15 23 42 / 0.18), rgb(0 0 0 / 0.6))";
md: "0 2px 8px light-dark(rgb(15 23 42 / 0.14), rgb(0 0 0 / 0.55))";
sm: "0 1px 0 light-dark(rgb(15 23 42 / 0.05), rgb(0 0 0 / 0.4))";
};
sizes: {
lg: {
fontSize: "0.875rem";
height: "2.25rem";
iconSize: "1rem";
paddingX: "0.875rem";
};
md: {
fontSize: "0.8125rem";
height: "1.75rem";
iconSize: "0.875rem";
paddingX: "0.625rem";
};
sm: {
fontSize: "0.75rem";
height: "1.5rem";
iconSize: "0.75rem";
paddingX: "0.5rem";
};
xl: {
fontSize: "1rem";
height: "2.75rem";
iconSize: "1.125rem";
paddingX: "1rem";
};
xs: {
fontSize: "0.6875rem";
height: "1.25rem";
iconSize: "0.75rem";
paddingX: "0.375rem";
};
};
spacing: {
lg: "0.75rem";
md: "0.5rem";
sm: "0.25rem";
xl: "1rem";
xs: "0.125rem";
};
timing: {
hoverCloseDelay: 150;
hoverOpenDelay: 300;
toastDuration: 5000;
tooltipDelay: 400;
typeaheadTimeout: 1000;
};
typography: {
families: {
mono: "\"IBM Plex Mono\", ui-monospace, Menlo, Consolas, monospace";
sans: "\"IBM Plex Sans\", \"Segoe UI\", system-ui, -apple-system, sans-serif";
};
fonts: { body: "sans"; heading: "sans"; mono: "mono" };
headings: {
h1: "display";
h2: "heading";
h3: "heading";
h4: "subheading";
h5: "subheading";
h6: "label";
};
styles: {
body: {
family: "sans";
lineHeight: 1.45;
size: "0.8125rem";
weight: 400;
};
caption: {
family: "sans";
lineHeight: 1.4;
size: "0.75rem";
weight: 400;
};
code: { family: "mono"; lineHeight: 1.45; size: "0.75rem"; weight: 400 };
display: {
family: "sans";
lineHeight: 1.25;
size: "1.5rem";
weight: 600;
};
heading: {
family: "sans";
lineHeight: 1.3;
size: "1.125rem";
weight: 600;
};
label: {
family: "sans";
letterSpacing: "0.02em";
lineHeight: 1.35;
size: "0.75rem";
weight: 600;
};
subheading: {
family: "sans";
lineHeight: 1.35;
size: "0.9375rem";
weight: 600;
};
};
};
variants: {
ghost: { background: "none"; border: "none"; text: "color" };
outline: { background: "none"; border: "neutral"; text: "neutral" };
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: "#f87171"; light: "#b91c1c" };
info: { dark: "#60a5fa"; light: "#1d4ed8" };
neutral: { dark: "#9aa5b1"; light: "#52606d" };
primary: { dark: "#2dd4bf"; light: "#0f766e" };
success: { dark: "#4ade80"; light: "#15803d" };
warning: { dark: "#facc15"; light: "#a16207" };
}
-
Readonlycomponents: {
Alert: { gap: "sm"; padding: "md"; textStyle: "label" };
Avatar: { radius: "rounded" };
Drawer: { size: "sm" };
EmptyState: {
color: "neutral";
gap: "sm";
padding: "lg";
textStyle: "body";
};
Stepper: { radius: "rounded" };
Toast: { gap: "sm"; padding: "md"; radius: "lg"; textStyle: "label" };
Tooltip: { padding: "sm"; radius: "md"; textStyle: "caption" };
}
-
Readonlydefaults: {
color: "primary";
density: "compact";
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.8125rem";
paddingX: "0.625rem";
paddingY: "0.375rem";
};
compact: { fontSize: "0.75rem"; paddingX: "0.5rem"; paddingY: "0.25rem" };
}
-
ReadonlyfocusRing: { color: "info"; offset: "1px"; 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: "#0b0f14"; light: "#eef1f4" };
border: { dark: "#2a333d"; light: "#cbd2d9" };
muted: { dark: "#9aa5b1"; light: "#52606d" };
surface: { dark: "#141a21"; light: "#ffffff" };
text: { dark: "#e4e7eb"; light: "#1f2933" };
}
-
Readonlyradii: { lg: "4px"; md: "3px"; rounded: "9999px"; sm: "2px"; square: "0"; xl: "6px" }
-
Readonlyshadows: {
lg: "0 8px 24px light-dark(rgb(15 23 42 / 0.18), rgb(0 0 0 / 0.6))";
md: "0 2px 8px light-dark(rgb(15 23 42 / 0.14), rgb(0 0 0 / 0.55))";
sm: "0 1px 0 light-dark(rgb(15 23 42 / 0.05), rgb(0 0 0 / 0.4))";
}
-
Readonlysizes: {
lg: {
fontSize: "0.875rem";
height: "2.25rem";
iconSize: "1rem";
paddingX: "0.875rem";
};
md: {
fontSize: "0.8125rem";
height: "1.75rem";
iconSize: "0.875rem";
paddingX: "0.625rem";
};
sm: {
fontSize: "0.75rem";
height: "1.5rem";
iconSize: "0.75rem";
paddingX: "0.5rem";
};
xl: {
fontSize: "1rem";
height: "2.75rem";
iconSize: "1.125rem";
paddingX: "1rem";
};
xs: {
fontSize: "0.6875rem";
height: "1.25rem";
iconSize: "0.75rem";
paddingX: "0.375rem";
};
}
-
Readonlyspacing: { lg: "0.75rem"; md: "0.5rem"; sm: "0.25rem"; xl: "1rem"; xs: "0.125rem" }
-
Readonlytiming: {
hoverCloseDelay: 150;
hoverOpenDelay: 300;
toastDuration: 5000;
tooltipDelay: 400;
typeaheadTimeout: 1000;
}
-
Readonlytypography: {
families: {
mono: "\"IBM Plex Mono\", ui-monospace, Menlo, Consolas, monospace";
sans: "\"IBM Plex Sans\", \"Segoe UI\", system-ui, -apple-system, sans-serif";
};
fonts: { body: "sans"; heading: "sans"; mono: "mono" };
headings: {
h1: "display";
h2: "heading";
h3: "heading";
h4: "subheading";
h5: "subheading";
h6: "label";
};
styles: {
body: {
family: "sans";
lineHeight: 1.45;
size: "0.8125rem";
weight: 400;
};
caption: { family: "sans"; lineHeight: 1.4; size: "0.75rem"; weight: 400 };
code: { family: "mono"; lineHeight: 1.45; size: "0.75rem"; weight: 400 };
display: { family: "sans"; lineHeight: 1.25; size: "1.5rem"; weight: 600 };
heading: {
family: "sans";
lineHeight: 1.3;
size: "1.125rem";
weight: 600;
};
label: {
family: "sans";
letterSpacing: "0.02em";
lineHeight: 1.35;
size: "0.75rem";
weight: 600;
};
subheading: {
family: "sans";
lineHeight: 1.35;
size: "0.9375rem";
weight: 600;
};
};
}
-
Readonlyvariants: {
ghost: { background: "none"; border: "none"; text: "color" };
outline: { background: "none"; border: "neutral"; text: "neutral" };
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 }
Dense and businesslike: teal on cool gray, small 28px controls, tight spacing, 13px text, compact tables, nearly flat.