editorial: {
borders: { width: "1px" };
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: { Drawer: { size: "sm" } };
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";
};
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";
};
typography: {
families: {
mono: "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace";
sans: "\"Helvetica Neue\", Helvetica, \"Inter\", \"Segoe UI\", Arial, sans-serif";
};
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" };
};
zIndex: { dialog: 1200; dropdown: 1000; toast: 1300; tooltip: 1100 };
} = ...
Type Declaration
-
Readonlyborders: { width: "1px" }
-
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: { Drawer: { size: "sm" } }
-
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" }
-
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" }
-
Readonlytypography: {
families: {
mono: "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace";
sans: "\"Helvetica Neue\", Helvetica, \"Inter\", \"Segoe UI\", Arial, sans-serif";
};
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" };
}
-
ReadonlyzIndex: { dialog: 1200; dropdown: 1000; toast: 1300; tooltip: 1100 }
Calm and considered: terracotta on cream, light grotesque type, square corners, flat surfaces, generous spacing.