How Custom Mapping works
1. What it does
var(--space-l) for a gap, var(--text-2xl) for a heading size, var(--primary) for your brand colour. When you paste a layout into Bricks, those names have to exist on your site, or the layout falls back to browser defaults.--sp-l, --fs-2xl, --brand — you normally face two bad options: rename hundreds of variables on your site, or hand-edit every layout you paste.var(--sp-l) instead of var(--space-l).Two things it deliberately does not do
- It never changes your website. Not one variable in your Bricks install is created, renamed or deleted.
- It never changes the Renmoe library. Other members’ copies are unaffected — the mapping is saved to your account only.
2. Do you need it?
You can skip it if…
- You installed the Renmoe framework CSS, or imported Renmoe Core into Bricks.
- You are starting a fresh site and are happy to use Renmoe’s names.
- Your variables are already called
--space-*,--text-*,--primary, and so on.
You want it if…
- You have an existing site with a variable system you cannot rename.
- You use another framework — Automatic.css, Core Framework, Frames, your own boilerplate.
- Your scale is numbered (
--space-1 … --space-9) rather than t-shirt sized. - You have fewer steps than Renmoe, and want the extras folded into the nearest size you actually have.
3. How it works, end to end
You describe your naming system
Renmoe builds a rewrite list
space-l → sp-l, primary-20 → brand-20. The Review tab is that list, in full, before you commit to it.You press Save mapping
Every Copy rewrites on the way out
--sp-l is 40px where Renmoe's --space-l was 32px, the pasted layout uses your 40px. That is the point: layouts inherit your design system instead of fighting it.4. Before you start
- The prefix you use for each family: is it
--space-,--sp-,--gap-? - The step labels: t-shirt (
xs, s, m, l, xl), numbers (1, 2, 3), or something bespoke. - How many steps you have. Renmoe uses 13 spacing steps and 9 text steps; if you have 7, the tool folds the extras into your nearest size.
5. Spacing tab
--space-4xs --space-3xs --space-2xs --space-xs --space-s --space-m --space-l --space-xl --space-2xl --space-3xl --space-4xl --space-5xl --space-6xl
Every control, explained
| Control | What it does |
|---|---|
| Scale type | T-shirt keeps size labels (xs, s, m, l…). Numeric numbers your steps from 1 upward in range order (--sp-1, --sp-2…). Custom unlocks the preview table on the right so you can type each name by hand — use it when your names follow no pattern at all. |
| Naming convention (prefix) | The bit before the step label. Type sp and your names become --sp-m. The -- is added for you; do not type it. |
| Start step and End step | The smallest and largest step your site actually has. If you stop at xl, everything bigger in a Renmoe layout is pulled down to your xl rather than pointing at a variable you do not own. |
| Baseline step | Your normal size — the one marked Base in the preview. The min and max sizes below are measured from here, larger steps stepping up and smaller ones stepping down. |
| Reverse variable names | Flips the order names are handed out, for systems where the biggest step carries the smallest number. Only the labels move; sizes stay where they are. |
| Min base size + Min ratio (Mobile) | Your scale at its smallest viewport: the baseline size in px, and how sharply each step grows. |
| Max base size + Max ratio (Desktop) | The same at full width. The ratios are the classic musical ones — 1.25 Major Third, 1.333 Perfect Fourth, 1.618 Golden. |
What "nearest step" means
xs to xl — five steps against Renmoe's thirteen. A layout calling for --space-4xl cannot use a variable you do not have, so it maps down to your largest, --sp-xl. Anything smaller than your xs maps up to --sp-xs. The layout loses a little of its extremes, but it never references a missing variable — which is the thing that would actually break the design.space, range 4xs–6xl, baseline m, 16px / 1.25 mobile, 20px / 1.333 desktop.6. Typography tab
--text-xs --text-s --text-m --text-l --text-xl --text-2xl --text-3xl --text-4xl --text-5xl
fs for a font-size scale (--fs-m), or Numeric if your type ramp runs --text-1 … --text-9. Keep the baseline on your body-copy size — that is the anchor everything else is measured from.text, range xs–5xl, baseline m, 16px / 1.2 mobile, 20px / 1.25 desktop.7. Colors tab
| Renmoe role | Used for |
|---|---|
--primary |
Main brand colour — buttons, links, accents. |
--secondary |
Supporting brand colour. |
--tertiary |
Muted neutral tone, often used for meta text. |
--accent |
Highlight colour. |
--light and --dark |
The two ends of the neutral range. |
--bg-body, --bg-surface |
Page background, and card or panel background. |
--text-title, --text-body |
Heading and body text colour. |
--border-primary |
Default border colour. |
Shades come along automatically
--primary-20, lighter steps like --primary-l-2, darker ones like --primary-d-3. You never list these. Rename primary to brand and every variant follows: --primary-20 becomes --brand-20, --primary-l-2 becomes --brand-l-2.- Primary, Secondary, Tertiary — the full set: opacity steps 5 to 90, four lighter steps, four darker steps.
- Light and Dark — opacity steps only (
--light-10,--dark-50). - Accent and the semantic colours — the base name only.
--brand but no --brand-20, a layout using a 20% tint points at a variable that does not exist. Either add the tints to your palette, or expect to adjust those few spots by hand.8. Radius tab
--radius-xs --radius-sm --radius-md --radius-lg --radius-xl --radius-full
- The labels here are
sm/md/lg, nots/m/llike the other scales. fullis the pill shape, not a rung on the ladder. It only maps if your own range includes it, and no sized step is ever collapsed onto it — a large radius will never accidentally turn your cards into pills.
radius, range xs–full, baseline md, 12px at both ends.9. Grid tab
--columns-1 through --columns-8. Set your prefix — col gives --col-3 — and the range you actually define. A layout asking for six columns when you stop at four gets your four-column variable rather than a dead reference.10. Other variables tab
| Group | Variables |
|---|---|
| Shadows | --shadow-xs, --shadow-sm, --shadow-md, --shadow-lg, --shadow-xl, --shadow-primary |
| Layout widths | --max-screen-width, --min-screen-width |
| Semantic spacing | --btn-space, --card-space, --footer-space, --header-space |
| Semantic type | --hero-title-size, --post-title-size, --nav-link-size |
--max-screen-width appear in real layouts, so renaming them takes effect. The semantic spacing and semantic type variables — and --min-screen-width — are part of the Renmoe framework but are not currently used by any layout in the library, so renaming them is harmless and simply does nothing to what you paste. The same is true of --accent on the Colors tab.11. Review and save
--space-l → --sp-l, one line per rewrite, with a count at the top. Read it before saving — it is the fastest way to catch a mistyped prefix, because a wrong prefix shows up as a hundred wrong lines at once.The buttons along the bottom
| Button | What it does |
|---|---|
| Back / Next | Move between tabs. You can also click any tab directly — there is no required order and no step you must complete. |
| Reset | Puts every field back to Renmoe defaults and deletes the mapping saved on your account. You are asked to confirm first. |
| N variables remapped | A live counter across all tabs, so you can see at a glance whether a change registered. |
| Save mapping | Commits it to your account. The button confirms with a tick and the number saved. Nothing takes effect until you press this. |
12. Worked examples
A. Short prefixes
--sp-m and --fs-xl.sp. Typography: prefix fs. Done — two fields.B. A numbered scale
--space-1 (smallest) to --space-9 (largest).space. Then set Start and End so the range covers exactly nine steps — for example 3xs to 4xl. The preview numbers them 1 to 9 in order; check the count matches before moving on.C. A different colour language
--brand, --brand-alt, --ink, --paper.brand, Secondary → brand-alt, --text-body → ink, --bg-body → paper. The tinted variants of Primary and Secondary follow automatically.D. A smaller scale than Renmoe's
xs through xl.xs, End xl. Everything outside that folds into your nearest step, so a hero built on --space-5xl still renders with generous padding rather than none.E. Names with no pattern
--gap-tight, --gap-normal, --gap-roomy.13. Check that it worked
- Save on the Review tab and wait for the saved confirmation.
- Open any layout in the library and press Copy.
- Paste into Bricks. Open one element’s spacing or colour setting — the value should read your variable name, not Renmoe’s.
- Faster check without Bricks: paste into a plain text editor and search for
--. Every variable should be one of yours.
14. Troubleshooting and FAQ
I saved a mapping but the copied code still uses Renmoe's names
Three usual causes. First, check you are logged into the same Renmoe account in the browser you are copying from — the mapping travels with your account, not the machine. Second, confirm the Review tab shows more than zero rewrites; if a field still holds the default name, nothing changes for it. Third, reload the layout page once after saving — a page you had already open may still be holding the previous mapping.
Will this change the variables on my site?
No. Custom Mapping only rewrites the code on your clipboard as it is copied. Your Bricks variables, values and theme styles are never touched, and neither is anything on renmoe.com.
The pasted layout has broken spacing or colours
The rewrite points at the name you gave it, so if that variable does not exist on your site the layout has nothing to read. Compare a couple of lines from the Review tab against your Bricks variable list — usually it is a typo in a prefix, or a tinted colour variant such as
--brand-20that your palette does not define.What does "Reverse variable names" actually reverse?
The order the names are handed out, not the sizes. Use it when your largest step carries the smallest label or number. The preview shows the result immediately — if the biggest bar is not wearing the name you expect, switch it back.
Do I have to fill in every tab?
No. Every tab is independent and starts on Renmoe’s defaults, which means “leave this alone”. Rename only your spacing if that is all that differs.
Can I use it on more than one site?
The mapping is per Renmoe account, not per site. If you build for several clients with different systems, set the mapping to the site you are working on now, copy what you need, then adjust it when you switch projects. The Review tab makes it quick to confirm which system is currently active.
How do I go back to Renmoe's default names?
Press Reset and confirm. Fields return to defaults and the saved mapping is removed from your account; from then on layouts copy exactly as they are published.
Why do the min and max px sizes not affect anything?
They are a visual aid. The mapping stores names only — it is a rename, not a resize. Setting the sizes near your real scale simply makes the preview easier to check against your own system.
I changed my mapping, pasted the same layout again, and nothing changed
Most of a layout’s styling lives in the BEM classes that come with it —
card-content-51__indexand friends — and the rewrite covers those too. But a class exists only once per site. Once you have pasted and saved a layout, your site owns those classes, and pasting the same layout again reuses them rather than restyling them, whatever your current mapping says.So a new mapping applies cleanly to layouts you have not used yet. For one already on your site, either edit the class in Bricks → Classes, or delete the layout’s classes there before pasting again.