Stylesheet

← Torna al sito

Palette and fonts of the features prototype. Pick a palette: this page and the site switch to it (it's remembered in this browser, or add ?palette=… to a link). Every colour below is read live from style.css and the palette's file in palettes/.

Palettes

The tale covers are fixed and loud: twelve saturated colours. Each palette is a stage for them: few colours of its own, one for headings, one for the action.

Colours

Base colours

Roles

Landscape layers

The covers on the two section backgrounds

Fixed colours

The same in every palette.

Contrast

Text colour on the background it actually sits on, with the WCAG ratio: 4.5 for normal text, 3 for large text (≥ 24px, or ≥ 19px bold), which covers the headings in the display font.

Fonts

Love Ya Like A SisterDisplay · Google Fonts · one weight (400)

Imparare a leggere è la più grande avventura

ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz àèéìòù 0123456789 .,;:!?«»

Used for: the claim, every section heading (h1, h2), “Leggimi” in the top bar, the author's portrait initial.

NunitoInterface and body · Google Fonts · 400, 700, 800

Un libro di racconti che ti ascolta

ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz àèéìòù 0123456789 .,;:!?«»

Regular 400Bold 700ExtraBold 800

Used for: body text and section subtitles (400), menu and card titles (700), buttons (800).

OpenDyslexicTale text · local files in assets/fonts/ · 400, 700

C'era una volta un allegro porcello

ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz àèéìòù 0123456789 b d p q

Used for: words from the tales (giant words, the sounds sentence, the language card, the demo), as in the app.

Type scale (as used on the site; sizes follow the screen width)

Giant wordsOpenDyslexic 700 · clamp(2.2rem, 7.6vw, 5.4rem)
porcello
ClaimDisplay · clamp(2rem, 6vw, 4rem)
Imparare a leggere
Section headingDisplay · clamp(2rem, 7vw, 3.6rem)
Racconti originali.
Top bar titleDisplay · 1.6rem (1.3rem on phones)
Leggimi
Section subtitleNunito 400 · clamp(1rem, 3.4vw, 1.3rem)
Scritti uno per uno, in italiano e in inglese. E ne arrivano sempre di nuovi.
Tale sentenceOpenDyslexic · clamp(1.05rem, 3.6vw, 1.45rem)
Il porcello sguazza, la formica marcia.
Card titleNunito 700 · 1.15rem
Niente pubblicità
Small printNunito 400 · 0.85rem · muted
Il microfono funziona solo nel tuo browser: niente viene registrato.

Components

Buttons

Bottone principale

Word states (tale text)

C'era una volta un porcello catarifrangente

read (accent) · next (ink) · unread (--unread) · sound word (--sound wavy underline) · mistake (--mistake; in the app a stumble is highlighted yellow, not red)