Styling reference
A theme is a CSS file added after the base stylesheet on your public list page. The simplest theme only changes the design tokens (CSS custom properties) on :root. For more, restyle any of the classes below. Classes follow a BEM pattern: t10-block, t10-block__element and t10-block--modifier.
Colour tokens marked "share image" are also used to draw the picture that appears when your list is shared, so use plain hex, rgb() or hsl() values for those. You can import fonts from Google Fonts with @import; other external stylesheets are removed.
Design tokens
| Token | What it affects | Default |
|---|---|---|
--t10-bg | Page background colour (share image) | #ffffff |
--t10-surface | Background for cards, buttons and panels (share image) | #f4f4f4 |
--t10-text | Main text colour (share image) | #111111 |
--t10-muted | Secondary text (artist, dates, captions) (share image) | #666666 |
--t10-accent | Links, rank numbers, active states, play button (share image) | #0050d8 |
--t10-accent-text | Text on top of the accent colour | #ffffff |
--t10-border | Borders and dividers | #dddddd |
--t10-font-body | Body font stack | system-ui, -apple-system, sans-serif |
--t10-font-display | Headings, album titles and rank numbers | system-ui, -apple-system, sans-serif |
--t10-radius | Corner radius for covers, buttons and cards | 4px |
--t10-cover-size | Width of the album cover in the carousel | min(80vw, 420px) |
--t10-gap | Base spacing unit | 1rem |
--t10-bg-image | Background artwork, set by "Paint a background". Only images painted in the theme editor are allowed, as url("/api/theme-image/...") (share image) | none |
--t10-bg-overlay | A colour laid over the background artwork and effect so text stays readable, e.g. rgb(0 0 0 / 0.45) | transparent |
--t10-effect | Focus effect behind the album in view: none, haze, tv or glitch. The album in view stays sharp and everything else gets the effect | none |
--t10-effect-strength | How strong the focus effect is, from 0 to 1 | 0.6 |
Page
The outer wrapper of a public list page.
| Class | Element | What it is |
|---|---|---|
.t10-page | body > main | Wraps the whole page. Good place for backgrounds and max widths. |
.t10-page--list | main | Modifier present on public list pages. |
.t10-page--preview | main | Modifier present when shown inside the theme editor preview. |
.t10-page[data-effect] | main | Set to the active focus effect (haze, tv or glitch), e.g. .t10-page[data-effect="tv"] .t10-slide { ... }. |
.t10-shader | canvas | The full screen WebGL canvas that draws the focus effect behind everything. Its opacity follows --t10-effect-strength. |
List header
The heading block above the carousel.
| Class | Element | What it is |
|---|---|---|
.t10-list-header | header | Header container. |
.t10-list-header__eyebrow | p | Small line above the title showing the year. |
.t10-list-header__title | h1 | List title, e.g. "Robin's top 10 of 2026". |
.t10-list-header__intro | p | Optional intro text written by the list owner. |
.t10-list-header__byline | p | "by @username" line. |
.t10-list-header__actions | div | Holds the list like button and the share button. |
.t10-share | button | Share button. Opens the share sheet on phones, copies the link elsewhere. |
Carousel
The swipeable row of albums. The track scrolls horizontally with scroll-snap, one slide per album.
| Class | Element | What it is |
|---|---|---|
.t10-carousel | section | Carousel container. |
.t10-carousel__track | ol | The horizontally scrolling list. Keep overflow-x and scroll-snap-type so swiping works. |
.t10-carousel__controls | nav | Holds previous/next buttons and the dots. |
.t10-carousel__button | button | Both previous and next buttons. |
.t10-carousel__button--prev | button | Previous button. |
.t10-carousel__button--next | button | Next button. |
.t10-carousel__dots | ol | Row of position dots. |
.t10-carousel__dot | button | One dot per album. |
.t10-carousel__dot--active | button | The dot for the album currently in view. |
Slide (one album)
Each album in the carousel.
| Class | Element | What it is |
|---|---|---|
.t10-slide | li | One album. Has data-rank="1" to "10" so you can target specific positions, e.g. .t10-slide[data-rank="1"]. |
.t10-slide--active | li | The slide currently in view. |
.t10-slide__cover-wrap | div | Wraps the cover image, useful for shadows, frames or vinyl effects. Tapping it plays the preview. Its ::before and ::after are free for decoration. |
.t10-slide__cover-wrap--playing | div | Present while this album's preview is playing. Good for spinning records or pulsing glows. |
.t10-slide__cover | img | The album cover (square). |
.t10-slide__cover--missing | div | Placeholder shown when there's no cover art. |
.t10-slide__body | div | Text and buttons under the cover. |
.t10-slide__rank | span | The position number, 1 to 10. |
.t10-slide__title | h2 | Album title. |
.t10-slide__artist | p | Artist name. |
.t10-slide__date | p | Release date. |
.t10-slide__note | p | Optional note from the list owner about the album. |
.t10-slide__actions | div | Holds the album's like and save buttons. |
Audio preview
Plays a 30 second preview of the album's top track.
| Class | Element | What it is |
|---|---|---|
.t10-preview | div | Preview container. |
.t10-preview__button | button | Play/pause button. |
.t10-preview__button--playing | button | Present while audio is playing. |
.t10-preview__track | span | Name of the track being previewed. |
.t10-preview__progress | progress | Playback progress bar. |
Streaming links
Links to the album on streaming services.
| Class | Element | What it is |
|---|---|---|
.t10-links | ul | List of links. |
.t10-links__item | li | One link wrapper. |
.t10-links__link | a | A streaming service link. |
.t10-links__link--spotify | a | Per-service modifiers: --spotify, --apple, --youtube, --tidal, --deezer, --bandcamp, --amazon. |
.t10-links__link--search | a | Present when the link goes to a search page rather than the exact album. |
Likes and saving
Hearts on the list and on each album, and saving albums to your shortlist.
| Class | Element | What it is |
|---|---|---|
.t10-like | button | A like button: heart icon plus count. |
.t10-like--list | button | The like button for the whole list, in the header. |
.t10-like--album | button | The like button on each album. |
.t10-like--on | button | Present when the viewer has liked it. |
.t10-like__count | span | The number of likes. |
.t10-icon | svg | Heart and bookmark icons. They use fill: currentColor, so set color on the button. |
.t10-save | button | Save an album to your shortlist. Not shown on your own list. |
.t10-save--on | button | Present when the album is on the viewer's shortlist. |
.t10-save__label | span | "Save" or "Saved". |
.t10-toast | div | Short message that pops up after saving, or when something goes wrong. |
Comments
Comments under the list. Signed-in people can comment; the list owner can delete any comment.
| Class | Element | What it is |
|---|---|---|
.t10-comments | section | Comments container. |
.t10-comments__title | h2 | "Comments" heading. |
.t10-comments__count | span | Number of comments, inside the heading. |
.t10-comments__empty | p | Shown when there are no comments yet. |
.t10-comments__closed | p | Shown when the owner has turned comments off. |
.t10-comments__list | ol | The comments, oldest first. |
.t10-comment | li | One comment. |
.t10-comment__meta | p | Author and time line. |
.t10-comment__author | a | Commenter's name, linking to their own list. |
.t10-comment__date | time | When it was posted, e.g. "3 hours ago". |
.t10-comment__body | p | The comment text. Line breaks are kept. |
.t10-comment__delete | button | Delete link, shown to the author and the list owner. |
.t10-comments__form | form | New comment form. |
.t10-comments__label | label | Label above the comment box. |
.t10-comments__input | textarea | Comment box. |
.t10-comments__submit | button | Post button, or "Sign in to comment" when signed out. |
.t10-comments__signin | p | Wraps the sign-in button for signed-out visitors. |
Export and footer
Playlist export and the page footer.
| Class | Element | What it is |
|---|---|---|
.t10-export | section | Export section container. |
.t10-export__title | h2 | Export heading. |
.t10-export__actions | div | Wraps the export buttons. |
.t10-export__button | a / button | Each export button. Modifiers: --spotify, --apple, --csv, --text. |
.t10-export__status | p | Message shown after saving a playlist. |
.t10-button | a / button | Generic button, used across the site. |
.t10-button--primary | a / button | Main call to action. |
.t10-footer | footer | Page footer. |
.t10-footer__link | a | Footer links. |
.t10-empty | p | Shown when a list has no albums yet. |
Starting point
:root {
--t10-bg: #ffffff;
--t10-surface: #f4f4f4;
--t10-text: #111111;
--t10-muted: #666666;
--t10-accent: #0050d8;
--t10-accent-text: #ffffff;
--t10-border: #dddddd;
--t10-font-body: system-ui, -apple-system, sans-serif;
--t10-font-display: system-ui, -apple-system, sans-serif;
--t10-radius: 4px;
--t10-cover-size: min(80vw, 420px);
--t10-gap: 1rem;
--t10-bg-image: none;
--t10-bg-overlay: transparent;
--t10-effect: none;
--t10-effect-strength: 0.6;
}