Variable Conversion
How BreakMade variables are converted to HeadSpinUI format.
When HeadSpin Mode is enabled, all BreakMade CSS variables are converted to HeadSpinUI’s --hsp-* prefix format.
Conversion Pattern
Native: --s8 → HeadSpin: --hsp-s8
Native: --primary-base → HeadSpin: --hsp-primary-base
For complete variable specifications and values, see CSS Variables Reference.
Spacing Conversion
All 24 spacing variables convert with the hsp- prefix:
| Native | HeadSpin |
|---|---|
--s1 to --s72 | --hsp-s1 to --hsp-s72 |
--ss-none to --ss-xxl | --hsp-ss-none to --hsp-ss-xxl |
Color Conversion
All 5 colors × 11 shades convert:
| Native | HeadSpin |
|---|---|
--primary-base | --hsp-primary-base |
--primary-bg | --hsp-primary-bg |
--primary-surface | --hsp-primary-surface |
| … (all 11 shades) | … |
Same pattern for: secondary, tertiary, accent, neutral.
Using HeadSpin Variables
In Custom CSS
.my-element {
padding: var(--hsp-s16);
background: var(--hsp-primary-surface);
border-radius: var(--hsp-radius-lg);
}
From BreakMade.com
When copying designs with HeadSpin Mode enabled:
- Select HeadSpin framework on breakmade.com
- Copy the HeadSpin version
- Variables automatically match your site
Troubleshooting
Variables not prefixed?
- Verify HeadSpin Mode is enabled
- Click “Merge Data” button
- Clear caches
Mixed prefixes in designs? Re-copy affected designs using HeadSpin framework from breakmade.com.