Themes Open the gallery
Web · CSS · Python

56 looks I already shipped, kept for the next app

Named themes read out of my own projects. One CSS file and one JSON file each, with where every colour came from. Pull one in a line.

Web · CSS · Python · MIT
themes · gallerylive demo
Themes screenshot
3platforms: Web, CSS, Python
56themes
60projects behind them
27with a dark set
Why it exists

The next app starts from a look that already shipped.

56 named themes, read out of projects I already shipped, kept in one place so the next app can start from a look that is known to work.

A theme is eleven CSS custom properties: seven colours, three font stacks and a corner radius.

In short

Three rules.

01

No colour is made up

The build stops if a colour is not in the project's CSS or on its rendered page. Derived values are labelled with the rule used.

02

One line to pull

theme.py is one file with no dependencies. It reads the themes folder next to it and falls back to the repo on GitHub.

03

Try before you take

Wear it re-dresses the gallery in a theme. The starter app does the same for a working screen with a list, a form and a table.

How it works

Pull a theme

  1. 1

    Try it on

    Open the gallery and press Wear it on a few cards until one fits.

  2. 2

    Pull it

    Run python theme.py pull <id> --to src/theme.css in the new project.

  3. 3

    Build on the tokens

    Write the app's CSS against var(--bg), var(--accent) and the rest.

What's inside

What is in the library.

56 themes from 60 projects

46 on a light ground and 10 on a dark one. 27 carry a dark set as well. Projects that share one look are merged into one theme.

Eleven tokens

Seven colours (bg, surface, ink, muted, line, accent, accent-ink), three font stacks (display, body, mono) and one corner radius.

Where each colour came from

Every value is traced to the project's own CSS or to what its live page paints. A hand fix needs a written reason, and the reason is shown on the theme's card.

Contrast is computed

WCAG 2 ratios are calculated for each theme, and text contrast under 4.5:1 is flagged as a warning instead of hidden.

A design.md on request

theme.py pull <id> --design-md writes a design brief built from the theme, to hand to an AI or a teammate.

A starter app

One HTML page and one stylesheet that use nothing but the eleven tokens. The repo is a GitHub template, so Use this template gives the starter plus every theme.

40 template repos

TEMPLATES.md lists 40 well-known public repos to start an app's design from, with stars, licence and last push read from the GitHub API on 2026-11-20.

Working today

Plain facts.

Run it yourself

Three lines in a terminal.

From the README’s “Pull a theme” section. Full options, requirements and troubleshooting are there too.

Open the README
bash
$ curl -O https://raw.githubusercontent.com/juw12/themes/main/theme.py
$ python theme.py list
$ python theme.py pull cairn-paper --to src/theme.css
Good to know

Honest limits.

Straight from the README, so you know what you're getting before you try it.

  • A theme is colour, type and corner radius.
  • Fonts are named, not shipped.
  • Values are what each project used on 2026-11-20.
  • Themes from private work are left out.
Under the hood

How it's built.

Built with

Language
PythonHTML/CSS

142 files in the repo · last updated 20 Nov 2026.

Browse the code
Questions

Good questions.

What does it run on?

Web, CSS, Python. You can try it in the browser with nothing to install.

How do I get it running?

The commands in the “Pull a theme” box above come straight from the README. Paste them into a terminal; the README covers options and troubleshooting.

What doesn't it do yet?

A theme is colour, type and corner radius. Fonts are named, not shipped.

Is it free?

The source is public on GitHub under the MIT licence.

Who made it?

Juwen Lie, an R&D mechanical engineer in Batam, Indonesia, as an independent personal project.

Keep exploring

More from the same workbench.

Press Wear it, then pull it.

56 looks I already shipped, kept for the next app