RELIC / CUSTOMIZING
CSS custom properties
Every visual token in Relic is exposed as a CSS custom property, giving you surgical control without touching Liquid.
Every visual token in Relic is exposed as a CSS custom property (CSS variable) scoped to :root. Override any value in Online Store → Themes → Edit code → assets/theme-overrides.css — this file is preserved across theme updates.
Color tokens
:root {
--color-bg: #FFFFFF;
--color-text: #1C1917;
--color-accent: #C98A5E; /* copper — matches your Accent setting */
--color-border: #E7E5E4;
--color-overlay: rgba(0, 0, 0, 0.45);
}
Typography tokens
:root {
--font-body: 'Inter', sans-serif;
--font-display: 'Fraunces', serif;
--font-mono: 'Geist Mono', monospace;
--size-scale: 1; /* multiply by 1.05 for a 5 % size bump */
--leading-body: 1.7;
--leading-display: 1.1;
}
Spacing tokens
:root {
--space-section: 64px; /* vertical gap between sections */
--space-container: 1280px; /* max content width */
--radius-btn: 8px; /* button corner radius */
--radius-card: 12px; /* card and image corner radius */
}
Overriding tokens safely
Add your overrides to assets/theme-overrides.css rather than editing assets/theme.css directly. Relic loads theme-overrides.css last, so your values win the cascade. This file is empty by default and is never touched during theme updates.