Template docs
Everything you need to rebrand Plumo and take it live. No build step, no framework — open index.html and go.
Getting started
- Unzip the package and open
plumo/index.htmlin any browser — it works straight from your disk. - Edit HTML in any code editor (VS Code recommended). Change colours in
assets/css/style.css§1. - Upload the whole
plumofolder to any static host: Netlify (drag & drop), Vercel, GitHub Pages, cPanel.
File structure
plumo/
├── *.html 12 pages
├── assets/css/style.css one stylesheet · 14 numbered sections
├── assets/js/main.js vanilla JS · 16 numbered blocks
└── assets/img/ 32 original SVGs (products, hero, scenes, avatars, icons)
Pages
| File | What's on it |
|---|---|
index.html | Homepage — hero, concern tiles, bestseller rail, flip-card ingredients, quiz CTA, routine, reviews, journal, newsletter |
shop.html | Collection with concern + type filters, sort, deep-links (shop.html?concern=dryness) |
product.html | Product detail — gallery, sizes, qty, feel meters, accordions, pairs-with rail, reviews, mobile sticky bar |
cart.html | Bag — live line items, free-shipping meter, promo codes (GLOW10, HELLO15) |
checkout.html | Four-step checkout with delivery options and live totals |
thank-you.html | Order confirmation with confetti, status timeline, referral code |
quiz.html | Four-question skin quiz that builds a 3-product routine |
journal.html | Blog index with category filter and featured story |
post.html | Article with reading-progress bar, pull quote, product embed |
about.html | Brand story, values, stats, timeline, team |
contact.html | Contact form, contact cards, FAQ accordion (#faq) |
documentation.html | This guide |
Colours & tokens
All colours live as CSS custom properties at the top of style.css. Change a value once and every button, sticker and band follows.
#CFF46B
#FF9CCB
#7C5CFF
#FF9147
#9ADFFF
#FFE066
#8FF0C8
#FFF5E6
#16131C
--on-color is the text colour used on top of colour blocks — it stays dark in dark mode on purpose. Border thickness (--bw), radii (--r, --r-lg) and the hard shadow (--shadow) are tokens too: set --shadow: none for a softer, flatter look.
Typography
Bricolage Grotesque (display, 800) · DM Sans (body) · Space Mono (labels, prices). All from Google Fonts, loaded in each page's <head>. Swap them by changing the link and --font-display / --font-body / --font-mono.
For GDPR-strict regions, self-host the fonts: download them (e.g. via google-webfonts-helper), place them in assets/fonts/, add @font-face rules and remove the Google link.
The highlighted words use <span class="hl">. Colour variants: hl--pink, hl--sky, hl--butter, hl--tang. Wavy underline: .squiggle.
Swapping images
The demo ships with original SVG illustrations so there's nothing to license. Replace them with your own photography at these ratios:
- Products: 4:5 (e.g. 1600×2000) —
assets/img/p-*.svg - Hero: 7:5 transparent PNG/WebP works best —
hero.svg - Editorial scenes & journal: 7:5 —
scene-*.svg - Team: 1:1 —
avatar-*.svg
Keep the width/height attributes matching your ratio to prevent layout shift, and write a real alt for each product.
Products & cart
Product data for the demo cart lives in block 01 of main.js (CATALOG). Each id matches a data-add="…" button in the HTML. Add a product in both places and it just works.
"barrier-butter": {
"name": "Barrier Butter Moisturizer", "type": "Moisturizer", "price": 26,
"img": "assets/img/p-barrier-butter.svg",
"sizes": [{ "label": "50 ml", "price": 26 }, { "label": "100 ml", "price": 42 }]
}
- Any element with
data-add="id"adds to the bag. Adddata-add-many="id1,id2"to add a bundle. - The bag is saved in
localStorage(plumo-cart). The first visit pre-fills two demo items — deleteSEEDin block 07 for an empty bag. - Free-shipping threshold:
FREE_SHIPin block 08. Demo promo codes:CODESin the promo handler. - Shop filters read
data-concernanddata-typeon each card (space-separated for multiple).
Skin quiz
Each question is a .quiz__step with a data-key; each answer is a .quiz__opt with a data-value. The routine logic lives in ROUTINES and LABELS (block 13) — map each concern to three product ids.
Dark mode
Dark mode follows the visitor's system setting automatically, and the sun/moon button lets them override it (remembered per visitor). Dark values are in the two dark token blocks in §1 — edit both. To remove dark mode, delete those blocks and the toggle button.
Animations
.revealfades + lifts elements in on scroll. Stagger withreveal-d1…reveal-d4..marqueeis pure CSS — set speed withstyle="--speed:20s", reverse withmarquee--reverse..stickerfloats;.sticker--spinrotates circular text.- Everything respects
prefers-reduced-motion.
Forms
Forms with data-demo-form show a success message without sending anything. To go live, set the form's action to Formspree, Netlify Forms (data-netlify="true"), Mailchimp, Klaviyo or your platform's endpoint and remove data-demo-form.
Going live on a platform
| Plumo section | Shopify (Online Store 2.0) | WooCommerce |
|---|---|---|
| Header / footer | sections/header.liquid, footer.liquid | header.php, footer.php |
| Product card | snippets/card-product.liquid | content-product.php |
| Shop grid + filters | main-collection-product-grid + Search & Discovery filters | archive-product.php + product attributes |
| Product page | main-product.liquid | single-product.php |
| Cart | main-cart-items.liquid (Ajax Cart API) | cart/cart.php |
| Journal | main-blog, main-article | Posts (home.php, single.php) |
Keep style.css as-is and replace the static text with platform variables — the class names are platform-agnostic.
Credits
- Fonts: Bricolage Grotesque, DM Sans, Space Mono — SIL Open Font License, via Google Fonts.
- Illustrations & icons: original to Plumo, included under your template licence.
- No JS libraries, no jQuery, no tracking.
- “Plumo”, product names, reviews and people are fictional demo content — replace before launch.
Changelog
v1.0.0 — Initial release: 12 pages, dark mode, working demo bag, skin quiz, journal.
Need help? Contact the author through your marketplace profile. Please include the page and browser.