editorial: {
borders: { width: "1px" };
breakpoints: {
lg: "64rem";
md: "48rem";
sm: "40rem";
xl: "80rem";
xs: "30rem";
};
colors: {
danger: { dark: "#fda4af"; light: "#9f1239" };
info: { dark: "#93c5fd"; light: "#1e3a8a" };
neutral: { dark: "#a8a29e"; light: "#57534e" };
primary: { dark: "#fb923c"; light: "#9a3412" };
success: { dark: "#a3e635"; light: "#3f6212" };
warning: { dark: "#fcd34d"; light: "#a16207" };
};
components: {
Alert: { gap: "sm"; padding: "md"; textStyle: "label" };
Avatar: { radius: "rounded" };
Dialog: {
slots: {
footer: { background: "tint"; padding: "md" };
header: { textStyle: "subheading" };
};
};
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: "square";
size: "md";
softVariant: "soft";
textStyle: "body";
variant: "solid";
};
density: {
comfortable: {
fontSize: "0.875rem";
paddingX: "0.75rem";
paddingY: "0.625rem";
};
compact: {
fontSize: "0.8125rem";
paddingX: "0.5rem";
paddingY: "0.25rem";
};
};
focusRing: {
color: "primary";
offset: "3px";
style: "double";
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: "#1c1917"; light: "#f6f1e7" };
border: { dark: "#48413b"; light: "#d6cdbd" };
muted: { dark: "#aaa39b"; light: "#57534e" };
surface: { dark: "#262220"; light: "#fffdf8" };
text: { dark: "#f5efe3"; light: "#1c1917" };
};
radii: {
lg: "3px";
md: "2px";
rounded: "9999px";
sm: "1px";
square: "0";
xl: "4px";
};
shadows: {
lg: "0 30px 60px -20px light-dark(rgb(68 44 20 / 0.4), rgb(0 0 0 / 0.8))";
md: "0 18px 40px -18px light-dark(rgb(68 44 20 / 0.35), rgb(0 0 0 / 0.75))";
sm: "none";
};
sizes: {
lg: {
fontSize: "1.0625rem";
height: "3.25rem";
iconSize: "1.25rem";
paddingX: "1.75rem";
};
md: {
fontSize: "1rem";
height: "2.625rem";
iconSize: "1rem";
paddingX: "1.375rem";
};
sm: {
fontSize: "0.875rem";
height: "2rem";
iconSize: "0.875rem";
paddingX: "0.875rem";
};
xl: {
fontSize: "1.1875rem";
height: "3.875rem";
iconSize: "1.375rem";
paddingX: "2.125rem";
};
xs: {
fontSize: "0.8125rem";
height: "1.75rem";
iconSize: "0.75rem";
paddingX: "0.75rem";
};
};
spacing: {
lg: "2rem";
md: "1.25rem";
sm: "0.75rem";
xl: "3rem";
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: "\"Helvetica Neue\", Helvetica, \"Inter\", \"Segoe UI\", Arial, 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.6; size: "1rem"; weight: 400 };
caption: {
family: "sans";
lineHeight: 1.5;
size: "0.875rem";
weight: 400;
};
code: { family: "mono"; lineHeight: 1.5; size: "0.875rem"; weight: 400 };
display: {
family: "sans";
letterSpacing: "-0.03em";
lineHeight: 1.05;
size: "2.75rem";
weight: 300;
};
heading: {
family: "sans";
letterSpacing: "-0.015em";
lineHeight: 1.2;
size: "1.75rem";
weight: 300;
};
label: {
family: "sans";
letterSpacing: "0.08em";
lineHeight: 1.4;
size: "0.8125rem";
weight: 700;
};
subheading: {
family: "sans";
lineHeight: 1.3;
size: "1.25rem";
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: "#9f1239" };
info: { dark: "#93c5fd"; light: "#1e3a8a" };
neutral: { dark: "#a8a29e"; light: "#57534e" };
primary: { dark: "#fb923c"; light: "#9a3412" };
success: { dark: "#a3e635"; light: "#3f6212" };
warning: { dark: "#fcd34d"; light: "#a16207" };
}
-
Readonlycomponents: {
Alert: { gap: "sm"; padding: "md"; textStyle: "label" };
Avatar: { radius: "rounded" };
Dialog: {
slots: {
footer: { background: "tint"; padding: "md" };
header: { textStyle: "subheading" };
};
};
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: "square";
size: "md";
softVariant: "soft";
textStyle: "body";
variant: "solid";
}
-
Readonlydensity: {
comfortable: {
fontSize: "0.875rem";
paddingX: "0.75rem";
paddingY: "0.625rem";
};
compact: { fontSize: "0.8125rem"; paddingX: "0.5rem"; paddingY: "0.25rem" };
}
-
ReadonlyfocusRing: { color: "primary"; offset: "3px"; style: "double"; 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: "#1c1917"; light: "#f6f1e7" };
border: { dark: "#48413b"; light: "#d6cdbd" };
muted: { dark: "#aaa39b"; light: "#57534e" };
surface: { dark: "#262220"; light: "#fffdf8" };
text: { dark: "#f5efe3"; light: "#1c1917" };
}
-
Readonlyradii: { lg: "3px"; md: "2px"; rounded: "9999px"; sm: "1px"; square: "0"; xl: "4px" }
-
Readonlyshadows: {
lg: "0 30px 60px -20px light-dark(rgb(68 44 20 / 0.4), rgb(0 0 0 / 0.8))";
md: "0 18px 40px -18px light-dark(rgb(68 44 20 / 0.35), rgb(0 0 0 / 0.75))";
sm: "none";
}
-
Readonlysizes: {
lg: {
fontSize: "1.0625rem";
height: "3.25rem";
iconSize: "1.25rem";
paddingX: "1.75rem";
};
md: {
fontSize: "1rem";
height: "2.625rem";
iconSize: "1rem";
paddingX: "1.375rem";
};
sm: {
fontSize: "0.875rem";
height: "2rem";
iconSize: "0.875rem";
paddingX: "0.875rem";
};
xl: {
fontSize: "1.1875rem";
height: "3.875rem";
iconSize: "1.375rem";
paddingX: "2.125rem";
};
xs: {
fontSize: "0.8125rem";
height: "1.75rem";
iconSize: "0.75rem";
paddingX: "0.75rem";
};
}
-
Readonlyspacing: { lg: "2rem"; md: "1.25rem"; sm: "0.75rem"; xl: "3rem"; 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: "\"Helvetica Neue\", Helvetica, \"Inter\", \"Segoe UI\", Arial, 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.6; size: "1rem"; weight: 400 };
caption: {
family: "sans";
lineHeight: 1.5;
size: "0.875rem";
weight: 400;
};
code: { family: "mono"; lineHeight: 1.5; size: "0.875rem"; weight: 400 };
display: {
family: "sans";
letterSpacing: "-0.03em";
lineHeight: 1.05;
size: "2.75rem";
weight: 300;
};
heading: {
family: "sans";
letterSpacing: "-0.015em";
lineHeight: 1.2;
size: "1.75rem";
weight: 300;
};
label: {
family: "sans";
letterSpacing: "0.08em";
lineHeight: 1.4;
size: "0.8125rem";
weight: 700;
};
subheading: {
family: "sans";
lineHeight: 1.3;
size: "1.25rem";
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 }
Calm and considered: terracotta on cream, light grotesque type, square corners, flat surfaces, generous spacing.