Tenrecs

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

TokenWhat it affectsDefault
--t10-bgPage background colour (share image)#ffffff
--t10-surfaceBackground for cards, buttons and panels (share image)#f4f4f4
--t10-textMain text colour (share image)#111111
--t10-mutedSecondary text (artist, dates, captions) (share image)#666666
--t10-accentLinks, rank numbers, active states, play button (share image)#0050d8
--t10-accent-textText on top of the accent colour#ffffff
--t10-borderBorders and dividers#dddddd
--t10-font-bodyBody font stacksystem-ui, -apple-system, sans-serif
--t10-font-displayHeadings, album titles and rank numberssystem-ui, -apple-system, sans-serif
--t10-radiusCorner radius for covers, buttons and cards4px
--t10-cover-sizeWidth of the album cover in the carouselmin(80vw, 420px)
--t10-gapBase spacing unit1rem
--t10-bg-imageBackground 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-overlayA colour laid over the background artwork and effect so text stays readable, e.g. rgb(0 0 0 / 0.45)transparent
--t10-effectFocus effect behind the album in view: none, haze, tv or glitch. The album in view stays sharp and everything else gets the effectnone
--t10-effect-strengthHow strong the focus effect is, from 0 to 10.6

Page

The outer wrapper of a public list page.

ClassElementWhat it is
.t10-pagebody > mainWraps the whole page. Good place for backgrounds and max widths.
.t10-page--listmainModifier present on public list pages.
.t10-page--previewmainModifier present when shown inside the theme editor preview.
.t10-page[data-effect]mainSet to the active focus effect (haze, tv or glitch), e.g. .t10-page[data-effect="tv"] .t10-slide { ... }.
.t10-shadercanvasThe 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.

ClassElementWhat it is
.t10-list-headerheaderHeader container.
.t10-list-header__eyebrowpSmall line above the title showing the year.
.t10-list-header__titleh1List title, e.g. "Robin's top 10 of 2026".
.t10-list-header__intropOptional intro text written by the list owner.
.t10-list-header__bylinep"by @username" line.
.t10-list-header__actionsdivHolds the list like button and the share button.
.t10-sharebuttonShare 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.

ClassElementWhat it is
.t10-carouselsectionCarousel container.
.t10-carousel__trackolThe horizontally scrolling list. Keep overflow-x and scroll-snap-type so swiping works.
.t10-carousel__controlsnavHolds previous/next buttons and the dots.
.t10-carousel__buttonbuttonBoth previous and next buttons.
.t10-carousel__button--prevbuttonPrevious button.
.t10-carousel__button--nextbuttonNext button.
.t10-carousel__dotsolRow of position dots.
.t10-carousel__dotbuttonOne dot per album.
.t10-carousel__dot--activebuttonThe dot for the album currently in view.

Slide (one album)

Each album in the carousel.

ClassElementWhat it is
.t10-slideliOne album. Has data-rank="1" to "10" so you can target specific positions, e.g. .t10-slide[data-rank="1"].
.t10-slide--activeliThe slide currently in view.
.t10-slide__cover-wrapdivWraps 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--playingdivPresent while this album's preview is playing. Good for spinning records or pulsing glows.
.t10-slide__coverimgThe album cover (square).
.t10-slide__cover--missingdivPlaceholder shown when there's no cover art.
.t10-slide__bodydivText and buttons under the cover.
.t10-slide__rankspanThe position number, 1 to 10.
.t10-slide__titleh2Album title.
.t10-slide__artistpArtist name.
.t10-slide__datepRelease date.
.t10-slide__notepOptional note from the list owner about the album.
.t10-slide__actionsdivHolds the album's like and save buttons.

Audio preview

Plays a 30 second preview of the album's top track.

ClassElementWhat it is
.t10-previewdivPreview container.
.t10-preview__buttonbuttonPlay/pause button.
.t10-preview__button--playingbuttonPresent while audio is playing.
.t10-preview__trackspanName of the track being previewed.
.t10-preview__progressprogressPlayback progress bar.

Streaming links

Links to the album on streaming services.

ClassElementWhat it is
.t10-linksulList of links.
.t10-links__itemliOne link wrapper.
.t10-links__linkaA streaming service link.
.t10-links__link--spotifyaPer-service modifiers: --spotify, --apple, --youtube, --tidal, --deezer, --bandcamp, --amazon.
.t10-links__link--searchaPresent 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.

ClassElementWhat it is
.t10-likebuttonA like button: heart icon plus count.
.t10-like--listbuttonThe like button for the whole list, in the header.
.t10-like--albumbuttonThe like button on each album.
.t10-like--onbuttonPresent when the viewer has liked it.
.t10-like__countspanThe number of likes.
.t10-iconsvgHeart and bookmark icons. They use fill: currentColor, so set color on the button.
.t10-savebuttonSave an album to your shortlist. Not shown on your own list.
.t10-save--onbuttonPresent when the album is on the viewer's shortlist.
.t10-save__labelspan"Save" or "Saved".
.t10-toastdivShort 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.

ClassElementWhat it is
.t10-commentssectionComments container.
.t10-comments__titleh2"Comments" heading.
.t10-comments__countspanNumber of comments, inside the heading.
.t10-comments__emptypShown when there are no comments yet.
.t10-comments__closedpShown when the owner has turned comments off.
.t10-comments__listolThe comments, oldest first.
.t10-commentliOne comment.
.t10-comment__metapAuthor and time line.
.t10-comment__authoraCommenter's name, linking to their own list.
.t10-comment__datetimeWhen it was posted, e.g. "3 hours ago".
.t10-comment__bodypThe comment text. Line breaks are kept.
.t10-comment__deletebuttonDelete link, shown to the author and the list owner.
.t10-comments__formformNew comment form.
.t10-comments__labellabelLabel above the comment box.
.t10-comments__inputtextareaComment box.
.t10-comments__submitbuttonPost button, or "Sign in to comment" when signed out.
.t10-comments__signinpWraps the sign-in button for signed-out visitors.

Export and footer

Playlist export and the page footer.

ClassElementWhat it is
.t10-exportsectionExport section container.
.t10-export__titleh2Export heading.
.t10-export__actionsdivWraps the export buttons.
.t10-export__buttona / buttonEach export button. Modifiers: --spotify, --apple, --csv, --text.
.t10-export__statuspMessage shown after saving a playlist.
.t10-buttona / buttonGeneric button, used across the site.
.t10-button--primarya / buttonMain call to action.
.t10-footerfooterPage footer.
.t10-footer__linkaFooter links.
.t10-emptypShown 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;
}