Portfolio block
Top border and section labels follow the active accent.
unparzd tool · demo
This page is demo and integration guide in one. Try the rail, then scroll down for the exact steps to drop it on your site.
Everything marked below uses var(--accent). Click a swatch and watch the smooth seam transition morph every element at once.
Logo stroke, borders, buttons and labels all bind to --accent. One click on the rail recolors the whole demo.
Top border and section labels follow the active accent.
Any element can reference the same CSS variable.
Smooth color morph, no reload, no server round-trip.
Buttons above: background: var(--accent) and border-color: var(--accent)
--accent on every branded element (logo, borders, buttons, labels).:root { --theme-transition: 0.85s ease; } and the body.cr-color-changing block from colorrail.css. Without it, colors snap instantly instead of morphing. ColorRail toggles the class automatically for ~0.9s on each pick.colorrail.css, colorrail.js, plus the rail markup from rail-markup.html (not the whole demo page).ColorRail.bootFromStorage() in the head (prevents flash), ColorRail.init() on DOM ready.Copy-paste blocks live in rail-markup.html. Full steps and config: README_EN.md / README_DE.md. This page is the live showroom — sections ①②④ are demo only.
Try the live rail in the header next to the title. Below: static preview of both states.
Only the pulsing core dot is visible.
Swatches fan out. Click one to apply the accent.