BlowfishCMS
A small content management system for OpenBSD
version 0.45.6 · ISC · 2026-12-03 · releases
95 lines · 8.1 KB · view it drawn · download this file
# BlowfishCMS themes
Themes for BlowfishCMS. A site installs one by uploading its archive
(`NAME-VERSION.tar.gz`, or an archive of all of them) on **Site → Add-ons →
Themes**, or on the server with `doas blowfishctl theme add FILE.tar.gz`, then
**install** in the list there. Modern comes with BlowfishCMS itself.
| Theme | Variants | Look |
|---|---|---|
| [Plan9](plan9/) | Plan9 (light), Plan9 (dark) | Pale yellow windows, a grey desktop and sea-green accents, as in Plan 9 from Bell Labs; the dark variant is the same after dark |
| [VHS](anime/) | VHS (dark), VHS (light) | A VHS tape: scanlines, a drifting tracking band, colour-fringed headings, PLAY on the on-screen display, and the menu as the tape's numbered chapter list; a CRT at night in the VCR's blue screen and REC red, or the tape's cardboard sleeve. (Its folder and ids are still `anime`.) |
| [Fluxbox](fluxbox/) | Fluxbox (dark), Fluxbox (light) | The Fluxbox window manager: the pages in its root menu across the top, the theme menu in its title bar, the footer as its toolbar along the bottom, narrow bevelled title bars with amber focus; graphite, or silver by day |
| [CD Player](retrofuture/) | CD Player (light), CD Player (dark) | A millennium CD player's skin: the page in a capsule of pearl chrome, the site's name on its LCD, the menu as its curved strip of gel pill buttons, windows as gel panels; or the same in deep-space navy. (Its folder and ids are still `retrofuture`.) |
| [Window Maker](windowmaker/) | Window Maker (light), Window Maker (dark) | The NeXTSTEP-style desktop: black title bars with miniaturize and close buttons, grey resize bars, bevelled buttons, and the menu as a Dock of clickable icon tiles down the right edge (along the bottom on phones) |
| [Midway](midway/) | Midway (light), Midway (dark, at night) | A late-90s theme-park sim: a toolbar of chunky pixel-art buttons for the menu, bevelled windows with coloured frames, dithered grass, cash-tag prices and thought-bubble callouts; at night, under a string of coloured lights. Lettering in Pixelify Sans (SIL Open Font License, in `midway/assets/fonts/`) |
| [Teletext](teletext/) | Teletext (dark), Teletext (light) | 1980s TV text pages: teletext's seven colours and blocky type on black, coloured banner title bars, every page numbered (P100, P101…) in the menu, which is the Fastext row along the bottom of the screen; or the pages printed on white. Lettering in VT323 (SIL Open Font License, in `teletext/assets/fonts/`) |
| [Spreadsheet](spreadsheet/) | Spreadsheet (light), Spreadsheet (dark) | A 90s office spreadsheet: a formula bar with the site's name, column letters and row numbers around a cell grid, windows as ranges of cells with a header row (selected in green under the pointer), and the pages as the sheet tabs along the bottom |
| [Subway](subway/) | Subway (light), Subway (dark, at night) | A transit map: the menu is a coloured route with the pages as its stations (the current one marked you are here; down the side on phones), windows are station signs in their own route colours, faint routes cross the background; by day, or the map at night |
| [Blueprint](blueprint/) | Blueprint (dark), Whiteprint (light) | A set of drawings: the pages as a strip of numbered sheets across the top, each window's title in a title block at its lower right, linework over a drafting grid with registration marks and measured headings; blue, or blue on white |
| [Risograph](risograph/) | Risograph (light), Risograph (dark) | A two-ink zine being pasted up: a two-page spread with a dashed fold on wide screens, windows as taped-on cut-outs, the menu a torn strip of paper; newsprint, or the same inks on black paper |
| [Gilded](gilded/) | Gilded (dark), Gilded (light) | Medieval Nordic fantasy: a pause-menu row of spaced capitals with a soft glow on the chosen page, smoky panels with fine bone rules and corner ornaments, a mountain ridge under a misty night; by day, aged parchment and dark ink. Lettering in Cinzel (SIL Open Font License, in `gilded/assets/fonts/`) |
| [Aurora](aurora/) | Aurora (dark), Aurora (light) | Northern lights behind frosted glass, the pages in a floating dock of glass pills along the bottom of the screen and the site's name in a slim glass bar (still for visitors who ask for less motion); night, or daybreak |
| [Terrarium](terrarium/) | Terrarium (light), Terrarium at night (dark) | A pressed-plant journal: windows as specimen cards labelled with tags on string and a pressed leaf in the corner, the menu as paper tags hanging from a twig; cream paper and moss, or the same at night |
## How a theme is made
A theme is a folder named after it:
| File | What |
|---|---|
| `theme.json` | Its name, label, version, the oldest BlowfishCMS it works with, a description, and its **variants** |
| `theme.css` | Optional. Its rules. `:root` means the page while one of its variants is on |
| `assets/` | Optional. Pictures and fonts, served at `/themes/NAME/` |
```json
{
"name": "harbour",
"label": "Harbour",
"version": "1.0.0",
"blowfishcms": "0.17.0",
"description": "Navy and brass.",
"author": "Example",
"variants": [
{"slug": "harbour", "name": "Harbour", "scheme": "dark", "vars": {"desktop": "#0b1a2a", "...": "..."}}
]
}
```
- `name`: 2–32 lowercase letters, digits and hyphens; the folder has the same name.
- Each variant has a `slug` (2–24 characters; it's the `?theme=` in links), a
`name`, a `scheme` (`light` or `dark`), and `vars`: every colour, font and
width the admin's editor shows: `desktop`, `bg`, `window`, `window-2`, `ink`,
`muted`, `line`, `accent`, `accent-2`, `shadow`, `font-display`, `font-ui`,
`font-body` and `maxw` (600px to 2400px). These are the defaults; each site
changes them for its own variants without touching the files.
- `"page_palettes": true` keeps cards and form fields light even in a dark variant, as the original Plan9 look did. (Before BlowfishCMS 0.25 it also let pages keep their own accent colours.)
- `theme.css` is limited to the theme's variants automatically: write
`.window__bar { … }`, not `[data-theme=…] .window__bar`. `@media`,
`@supports`, `@keyframes` and `@font-face` work; `@import` and other
at-rules don't, and only files on the site itself load (the content
security policy), so put pictures and fonts in `assets/` and refer to them
as `/themes/NAME/file.woff2`.
**Buttons and accent colours.** Blocks' buttons and coloured panels are
drawn from the theme's colours, and "the theme's own button" is drawn as
its `.form-submit` (the contact form's send button), so style that and
`.buttonlike` for the theme's buttons. Optional variables, set in
`theme.css` (`:root { --accent-ink:#111 }`), for when the defaults don't
suit the accent colour:
| Variable | Default | Meaning |
|---|---|---|
| `--accent-ink` | `#fff` | Text on the accent colour (filled buttons, accent panels and cards). Set it dark when the accent is light. |
| `--accent-text` | the accent | The accent colour as text on a window (outlined and soft buttons). Set a darker shade when the accent is too light to read. |
| `--button-radius` | `6px` | Corners of block buttons. |
| `--button-font` | the interface font | Font of block buttons. |
**The menu and its groups.** The navigation's links are
`.site-nav__menu > a` (the current page has `aria-current="page"`). Since
BlowfishCMS 0.43 a **menu group** sits among them as
`<details class="nav-group">` (with `is-current` when it holds the current
page): its label is the `<summary>` (with a `.nav-group__caret`), and its
pages are links in `.nav-group__menu`, which carries the label as
`data-label` for a title bar (`content: attr(data-label)`). The core drops
the menu down under the label (inline on phones) and keeps it visible over
a bar that scrolls, so a theme usually only gives the summary its links'
look: `.site-nav__menu > .nav-group > summary`, `.nav-group.is-current >
summary` for the current one. A bar along the bottom opens it upward
(`top: auto; bottom: calc(100% + 6px)`). A bar that stays one row on phones
should place it at the screen's edge there, as Teletext and Spreadsheet do.
A site owner can duplicate a variant to make their own; the copy shares the
theme's files and has its own colours and fonts.
Licence: ISC, as BlowfishCMS.