Skip to documentation
Design system / Sources & standards
Current repository source
spacing.css
src/theming/primitives/spacing.css
This view contains the escaped source read during the deployment build. Code and policy text are unchanged. Markdown is shown as source, not rendered as a document. A new deployment refreshes the content.
:root {
/*
* Spacing tokens are defined on a strict 8px grid with micro sizes
* for fine-grained control. Base rem size is 10px (1rem = 10px).
*/
/* Micro sizes (for hairlines, tight gaps) */
--cxh-space-1: 0.1rem; /* 1px */
--cxh-space-2: 0.2rem; /* 2px */
--cxh-space-4: 0.4rem; /* 4px */
/* 8px grid */
--cxh-space-8: 0.8rem; /* 8px */
--cxh-space-16: 1.6rem; /* 16px */
--cxh-space-24: 2.4rem; /* 24px */
--cxh-space-32: 3.2rem; /* 32px */
--cxh-space-40: 4rem; /* 40px */
--cxh-space-48: 4.8rem; /* 48px */
--cxh-space-56: 5.6rem; /* 56px */
--cxh-space-64: 6.4rem; /* 64px */
--cxh-space-72: 7.2rem; /* 72px */
--cxh-space-80: 8rem; /* 80px */
--cxh-space-96: 9.6rem; /* 96px */
}
All sources and standards