← All sections

Any page

Inversion

The page changes color as you scroll.

Your store opens light and turns dark as the visitor moves down the page — background, text, borders and the header all moving together in one continuous pass. Not a section that fades in. The whole page.

Some themes give you a header that is see-through at the top and solid once it sticks. That is two states. This is every state in between, across the whole page, over a distance you choose.

Live — this is the real section

It works on any theme. Inversion drives CSS custom properties rather than touching theme internals, so it does not care whether you are on Horizon, Dawn, Impulse or something custom. Drop it in, pick two colors, done.

Cutout photos for the glow. The glow follows the transparency in your product image, so a PNG on a transparent background lights up around the garment. A photo on a solid background will glow as a rectangle. Shopify removes backgrounds for you — Products → the product → Media → Edit → Enhance background.

It renders nothing visible. Add it once per template and it governs the whole page. It backs off automatically for visitors who have reduce motion switched on.

  • One continuous changeNo snap, no class toggling at a breakpoint. Every color is interpolated frame by frame against scroll position.
  • The header comes with itYour nav inverts in step with the page instead of sitting there as a white bar over a dark background.
  • Any two colorsWhite to oxblood is the demo. Cream to ink, grey to navy — whatever the drop calls for.
  • Products can glow as it darkensOptional. On cutout photos the glow traces the garment rather than drawing a box around it. You pick the color and the size.
  • Reaches your theme’s own variablesName any CSS custom properties your theme uses and Inversion drives those too, so cards and borders move with everything else.

Every setting

All 15 controls Inversion puts in the theme customizer. Nothing hidden in a config file.

Color at the top

  • Backgroundcolor · default white
  • Textcolor · default near-black

Color after scrolling

  • Backgroundcolor · default near-black
  • Textcolor · default off-white

Timing

  • Start afterslider 0–100% of a screen
  • Change overslider 25–300% of a screen
  • Curvesmooth / even / slow then fast / fast then slow

Glow

  • Make products glowon / off · default off
  • Glow colorcolor
  • Glow sizeslider 0–60px
  • Which images glowCSS selectors

What it touches

  • Change the header tooon / off · default on
  • Dim images as it darkenson / off · default off
  • Dim byslider 0–60%
  • Extra CSS variablescomma separated list

Installing it

  1. Shopify admin → Online Store → Themes → … → Edit code
  2. Under Sections, click Add a new section and name it inversion
  3. Delete the starter contents, paste the file in, and Save
  4. Go to Customize, open the template, Add section, and pick two colors

About five minutes. Duplicate your theme first and install into the copy — that’s your undo. A written guide comes with the download.

Other sections

$23 Buy $23