Eolas.Free demo
Eolas · Internal

Liquid Glass foundation

Every token and material in the system, demoed at 390px first over the live aurora field. Recipes live in globals.css; this page only consumes them. The primitives from prompt 04 follow the foundation.

Tokens

Ground, surface, signal

Violet Night is the one ground. The surface is for solid, non-glass panels. Acid Mint is the single signal colour: a primary CTA fill, the caret, progress bars, active states and focus rings, never text, a gradient or a glass tint, and at most one filled element per viewport.

  • Ground

    --color-bg · #0e0b16

  • Surface

    --color-surface · #17121f

  • Signal

    --signal · #2bffb1

WCAG contrast ratios for the brand colour pairs
PairSampleRatio
Text on ground#f4f4f5 on #0e0b16Aa17.72:1AAA
Muted on ground#a1a1aa on #0e0b16Aa7.60:1AAA
Accent on ground#a78bfa on #0e0b16Aa7.16:1AAA
Primary on ground (large text only)#7c3aed on #0e0b16Aa3.42:1AA large only
Signal on ground#2bffb1 on #0e0b16Aa14.88:1AAA
On-signal on signal (CTA label)#0e0b16 on #2bffb1Aa14.88:1AAA
White on primary (violet button)#ffffff on #7c3aedAa5.70:1AA

Type

Hubot Sans

The display face: OFL, a variable font self-hosted through next/font/local and cut to weights 500 to 700, Latin only (25.8 kB). Body is Inter; code samples use the system monospace stack, never a downloaded face.

Fáilte, €1,250

500 · text-display · tabular figures 0123456789

Fáilte, €1,250

600 · text-display · tabular figures 0123456789

Fáilte, €1,250

700 · text-display · tabular figures 0123456789

See it before you pay

700 · text-h2

Motion

Odometer

Specimen values only, not claims about Eolas. Scroll them into view: each column rolls up from 0 and must stop on the digit printed in the label beneath it. With no scroll-timeline support, the final value is simply there.

97

specimen · 97

4.9

specimen · 4.9

1,280

specimen · 1,280

12/12

specimen · 12/12

components/odometer.tsx · <Odometer value='97' />

Server rendered. Digits are 0-9 columns whose resting transform shows the final digit; other characters are static glyphs. The roll is a view timeline on the odometer itself (transform only), and the figure is aria-hidden with the plain value in an sr-only span.

Type

Fluid scale

clamp()-interpolated between 390px and 1536px. Display type is always Hubot Sans bold with negative tracking; body is Inter.

Display

text-display · clamp(3rem, 1.5rem + 8vw, 8rem)

Heading 2

text-h2 · clamp(2.5rem, 1.6rem + 4vw, 5rem)

Heading 3

text-h3 · clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem)

Heading 4

text-h4 · clamp(1.0625rem, 1rem + 0.3vw, 1.25rem)

Lead: the first paragraph under a heading.

text-lead · clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem)

Body: everything long-form, never on clear glass.

text-body · clamp(1rem, 0.96rem + 0.2vw, 1.125rem)

Label: every control, nav link and form label.

text-label · 0.8125rem

Meta: timestamps, credits, the copyright line. Never a control.

text-meta · 0.75rem

Eyebrow · uppercase · 0.18em

text-eyebrow · 0.75rem

An accented run uses the ink tier, not the brand violet: this is what --color-primary looks like as type. At 3.48:1 it passes AA only at this display size and fails it at body size.

--ink-accent 10.4:1 · --color-primary 3.48:1 (large text only)

Colour

Palette + aurora

Violet leads and always will. Cobalt and sky are the cool counterweight; rose and amber the warm one, added in session 38 to break a page that read as single-hue purple. Both pairs are counterweights, not co-leads: they appear as particles and as the far end of a gradient, never as a button or a heading fill. The ink tier is the exception that makes accented type legible: --color-primary is 3.4:1 on the page background and fails AA for body text, --ink-accent is 10.4:1.

  • #0e0b16

    --color-bg · page background

  • #17121f

    --color-surface · solid surface

  • #7c3aed

    --color-primary · primary / conversion

  • #a78bfa

    --color-accent · accent / highlights

  • #f4f4f5

    --color-text · text

  • #a1a1aa

    --color-muted · muted text

  • #2bffb1

    --signal · signal: one per viewport (§2.2.1)

  • #0e0b16

    --on-signal · label on a signal fill

  • #7c3aed

    --aurora-a · aurora: violet lead

  • #4c1d95

    --aurora-b · aurora: deep violet

  • #2563eb

    --aurora-c · aurora: cobalt

  • #0ea5e9

    --aurora-d · aurora: sky, sparingly

  • #f43f5e

    --aurora-e · aurora: rose, warm counterweight

  • #fb923c

    --aurora-f · aurora: amber, sparingly

  • #c4b1ff

    --ink-accent · accented type: 10.4:1 on bg

  • #8ab6ff

    --ink-accent-cool · accented type, cool: 9.6:1

Spacing

16px-base scale

Plain custom properties, not a second Tailwind namespace: the numeric scale already covers utility spacing. Sections consume the rhythm through .section (padding-block: var(--section-y)), which this page's own groups use: 96px vertical here at 375px, 128px from sm up.

  • --space-3xs: 4px

  • --space-2xs: 8px

  • --space-xs: 12px

  • --space-sm: 16px: base

  • --space-md: 24px

  • --space-lg: 32px

  • --space-xl: 48px

  • --space-2xl: 64px

  • --space-3xl: 72px: section floor, mobile

  • --space-4xl: 96px: section padding, mobile

  • --space-5xl: 128px: section padding, desktop

Radius

Nothing square

The .glass* recipes read these via --glass-radius. A Tailwind rounded-* on a glass element is a dead class name: tune through the custom property instead.

  • 1rem / 16px

    --radius-sm · inputs, small cards, spec chips

  • 1.5rem / 24px

    --radius-card · tier-2 cards: ≥ 20px floor

  • 2rem / 32px

    --radius-hero · hero set-pieces: ≥ 28px floor

  • 9999px

    --radius-pill · pills, CTAs, chips, nav

Controls

One button, three sizes

`.btn` is geometry only (flex centring, the 44px tap floor, pill radius, label type) and carries no colour. Skin comes from a second class, so a solid CTA and a glass CTA are the same object. It is declared after the .glass* block on purpose: the recipes are unlayered, so a Tailwind rounded-* or bg-* on a glass element is a dead class name, and source order is the only thing that wins the tie.

btn-lg 3.5rem · btn-md 3rem · btn-ghost border skin · btn-block is full-width to sm, auto above

Tab to either button to see the focus ring: one token, --focus-ring, on every interactive element on the site rather than eleven hand-written copies of the same outline.

Borders

Three hairlines

Every rule, divider and control edge on the site is one of these. They replaced fourteen hand-written rgba(255,255,255,0.0x) values that had drifted to 0.06, 0.07, 0.09, 0.11 and 0.13 with no rule saying which meant what.

  • --line-faint · 0.06: structural, barely there

  • --line-hair · 0.09: the default rule and divider

  • --line-soft · 0.13: control edges: buttons, inputs

Material

Three glass tiers

Every tier shares one recipe: tint + backdrop blur/saturate + the --ring-glass specular edge (1px top highlight, 1px perimeter ring) + diagonal shine. Where backdrop-filter is unsupported the @supports fallback at the end of globals.css raises every tint to a solid frosted surface: glass can never render as an unreadable film.

Tier 1: refractive

Hero-level set-piece. SVG-displacement lensing on Chromium, tier-2 frost everywhere else. Max two per page.

.glass .glass-panel .glass-hero · blur(2px) + displacement

Tier 2: the workhorse

Most of the site. Pointer-tracked inner light and a 2px hover lift on fine pointers; press feedback everywhere.

.glass · blur(16px) saturate(170%) · radius --radius-card

Tier 2: dimmed

The §3.5.1 35% dark wrapper for text-bearing glass. Body copy never sits on clear glass.

.glass + .glass-dim · rgba(14,11,22,0.35)

Chip

.glass-chip · .glass-btn · .glass-btn.hero · .glass-btn-primary (solid violet, --shadow-cta: one per view)

Deep glass: chrome

Navbar, mobile menu, modal. Same speculars on a deep tint.

.glass .glass-deep · rgba(23,18,31,0.6)

.glass .glass-clear · blur(8px), shine only: decorative, never text

Depth

Shadow scale

The only three drops in the system. Box-shadow is never animated (§6.1): hover depth comes from transform.

  • --shadow-glass · default glass drop

  • --shadow-glass-lg · hero-level glass

  • --shadow-cta · primary CTA glow: one per view

Touch

44px floor

Every control grades at ≥ 44×44px (§6.9). .tap-target enforces it where padding alone wouldn't; .nav-tap's 45px is the lone exception, sized to survive the navbar's 0.98 condense scale.

44

reference square · --tap-min: 44px

Safe area

Notch-aware by default

viewportFit: cover lets the page paint under the notch and home indicator; --safe-l/--safe-r/--safe-b pad chrome back out. .safe-x on <main> and the fixed chrome, .safe-b on anything pinned to the bottom, .safe-bleed-x for decorative full-bleed layers. This page's own gutters ride on it.

--safe-l: env(safe-area-inset-left, 0px)

--safe-r: env(safe-area-inset-right, 0px)

--safe-b: env(safe-area-inset-bottom, 0px)

Primitive · 9.1

PriceNumeral

The one typographic idea for money, repeated everywhere a price or a score appears: a big Hubot Sans figure in tabular numerals, the euro sign a step smaller, 'from' above, 'ex VAT' below. It only accepts a Price object from content/pricing.ts, so a page cannot type a figure into it.

from €900, ex VAT

from €1,800, ex VAT

€75 a month, ex VAT

from €3,500, ex VAT

components/primitives/price-numeral.tsx · <PriceNumeral price={PACKAGES[1].price} size='lg' />

Sizes md / lg / hero map to the h3, a 2.75 to 4.5rem clamp, and the display size. Monthly prices carry /mo; prices the plan marks as recommendations show a [CONFIRM: price] mark in development only (and pricing.ts lists them in the console). Paint only, so it is legal on glass.

Primitive · 9.2

PackageCard + PackageGrid

Three tier-2 glass cards. On a phone they are a horizontal snap-scroll with the next card peeking in; from 64rem they are a three-column grid and the ribboned card stands one step proud of its neighbours, which is this section's one deliberate grid break.

  • Starter

    A trade or local service that wants customers to find it and get in touch.

    from €900, ex VAT

    • Up to five pages, written with you
    • Mobile-first design on the free demo you approved
    • Contact form and click-to-call
    • Google Business Profile linked
    • Hosted on Cloudflare, free SSL
    See my free demo
  • Most picked

    Growth

    An established business that wants more enquiries from search.

    from €1,800, ex VAT

    • Up to twelve pages, written with you
    • Service and location pages built for search
    • Booking or quote form with spam protection
    • Blog you can edit yourself
    • On-page SEO and schema markup
    • Two rounds of revisions
    See my free demo
  • Pro

    A larger site, a shop, or something custom.

    from €3,500, ex VAT

    • Unlimited pages and custom sections
    • E-commerce or customer portal
    • Content management for your team
    • Performance budget: 95+ on PageSpeed mobile
    • Branding alignment across the site
    • Priority support for the first three months
    • Training session for your staff
    See my free demo

components/primitives/package-card.tsx · <PackageGrid packages={PACKAGES} />

Each card is GlassCard dim with its padding on the dim wrapper (§3.5.1). Four to seven features with lucide checks, one CTA to /free-demo?package=<id>. The ribbon is .package-ribbon, an unlayered class after the glass block. Swipe the row at 390px; it is data-lenis-prevent so the wheel smoother leaves it alone.

Primitive · 9.3

PhoneFrame

A 390×844 device, aspect-locked and scaling with its container. The screen's page scrolls as you scroll past the phone, on a CSS view() timeline inside @supports. No support, or reduced motion, shows the top of the page.

Blanchardstown

Murphy's Bakery

Fresh bread every morning from six. Order ahead for collection.

Order for collection
Sourdoughfrom €4
Brown sodafrom €4
Celebration cakesfrom €4
Coffee to gofrom €4

Open seven days, 6am to 4pm.

Main Street, Blanchardstown, Dublin 15.

components/primitives/phone-frame.tsx · <PhoneFrame label='…'>…</PhoneFrame>

Children are the page; make them taller than the screen or nothing moves. `travel` is how far the page translates across the frame's crossing of the viewport (default: exactly to its own bottom). The screen uses overflow: clip rather than hidden, because hidden makes a scroll container and the view() timeline would measure against that instead of the page. Real screenshots arrive in prompt 12.

Primitive · 9.4

TiltCard

The NFC review card. On a phone, drag it and it tilts; on a desktop it follows the pointer. It springs back on release. Tilt is clamped to ±12° so the glass rule can never break, and under reduced motion it is a flat card with a soft shadow.

components/primitives/tilt-card.tsx · <TiltCard><ReviewCardFace business='…' /></TiltCard>

Plain pointer events, no framer: two degree values written as custom properties from one rAF per move, composed by CSS into a single transform. A CSS transition does the spring-back, and it is only on while the pointer is up. The card is printed, not glass; the sheen is a gradient on a pseudo-element moved by the same two variables.

Primitive · 9.5

ShieldField

Traffic arrives from the left and deflects off a curved glass shield. The canvas mounts only when it is near the viewport, pauses when it is off-screen or the tab is hidden, and is capped at 120 particles on a phone and 260 on a desktop with devicePixelRatio clamped to 2. Reduced motion, no JS and no canvas all get the same picture, frozen, as SVG.

components/primitives/shield-field.tsx · <ShieldField>chip</ShieldField>

Children render centred inside the shield; keep them to one glass chip at most. The shield is canvas paint, not a .glass surface, so it costs nothing against the §6.2 budget. Positions live in typed arrays; the loop is arithmetic plus arc() calls and nothing touches the DOM per frame.

Primitive · 9.6

CompareSlider

Before and after, with a 44px thumb you can drag anywhere on the picture. The thumb is a real slider for the keyboard: arrows move 5%, Home and End jump, and it announces its value. Both labels stay visible at every position.

BeforeAfter

components/primitives/compare-slider.tsx · <CompareSlider before={…} after={…} initial={50} />

One custom property, --compare (0 to 100), moves the after-window, its counter-translated child and the divider in container units, so a drag is transform-only. The layers are pictures or flat panels, not glass. Real before/after screenshots arrive in prompt 12.

Primitive · 9.7

ScrollReveal v2

The §4.6 entrance on a native view() timeline where the browser has one: translateY 16px plus opacity, on the compositor, across entry 40px to 320px. Everywhere else it renders the existing <Reveal>. Never above the fold.

Scrolls in on the compositor

Falls back to <Reveal>

Static under reduced motion

components/motion/scroll-reveal.tsx · <ScrollReveal glass>…</ScrollReveal>

`glass` switches to a translate-only keyframe, because opacity below 1 on a backdrop-filter surface kills the blur for the whole entrance (§3.6). The support check runs in an effect, so the first render is always the <Reveal> branch and the swap happens off-screen.

Signature moment · prototype

Your name in lights

Type a business and a town. The name renders live into a miniature glass hero, letter by letter, with a URL derived from it. Prompt 07 reuses this inside the demo form so a visitor sees their own site before they have asked for anything.

Blanchardstown

Murphy's Bakery

A fast, mobile-first website for Murphy's Bakery, built in Ireland.

components/primitives/name-in-lights.tsx · <NameInLights onChange={({ name, place }) => …} />

The input is a solid field outside the glass (§3.5.2). The stage is a dimmed tier-2 panel that never moves or fades; the letters are spans with no backdrop-filter, so their staggered entrance may use opacity. The accessible text is one string with aria-live, not thirty letters.

Signature moment · prototype

The demo builds itself, v2

Scroll through this section: a wireframe resolves region by region into a finished Irish-business homepage, and the section ends on the line it was built to earn. It is the hero rig's mechanism in HTML with its own scroll driver, so it can carry a visitor's business name and never touches the hero or its LCP element.

Yours could look like this. Free.

components/primitives/demo-builds-itself.tsx · <DemoBuildsItself business='…' place='…' />

Every region is a wire/finished pair cross-faded by one custom property; an unset variable resolves to the finished site, so SSR, no JS and reduced motion all paint the built page. Transform and opacity only; the card is flat tint, not glass. Promoting it to a real page needs the hero's pre-paint arming gate if it ever sits above the fold.