appz4fun :: oxide :: v1
Oxide, the design system
for every Appz4Fun project.
Metals and the oxides that form on them. Warm paper and cast-iron ink carry the page. Each product owns one metal as its accent, and semantic colors keep one meaning everywhere. Oxide started in RustyGet; this is the same system, grown to cover the whole org.
Principles
- Functional first. Every element helps a reader find, read or act. Decoration that does none of those stays out.
- Quiet surfaces, one accent. Paper and ink carry the page. The product's metal marks the single most important action or state in view.
- Color carries meaning. Patina means healthy, amber means attention, ember means danger, in every product. Product metals are only for identity and action.
- Readable in both themes. Every text color passes WCAG AA (4.5:1) on every surface it appears on, in light and dark. The build fails if one doesn't.
- Feels like the toolchain. Labels are monospace, callouts read like compiler diagnostics, and readouts look like a terminal.
Product metals
Each swatch shows the light-theme accent on the left and the dark-theme accent on the right. Set data-product and --accent and --accent-soft switch to that product's metal.
| data-product | Product | Metal | README card |
|---|---|---|---|
rustyget | RustyGet | Rust | Large |
kodi-repo | Appz4Fun Kodi Repo | Cobalt | Large |
neneteepee | NeNeTeePee-Stream-Kodi | Bismuth | Large |
warmup-rs | warmup-rs | Brass | Small |
zipfast | zipfast | Steel | Small |
fel-dv | FEL Dolby Vision | Patina | Small |
find-fel | find-fel-nzbdav | Chrome cyan | Small |
atlas | Atlas | Chromium | Small |
dupe-proxy | nzbget-dupe-proxy | Rhodonite | Small |
cyclops | nzbcyclops | Indigo | Small |
torbox-cleaner | torbox-cleaner | Verdigris | Small |
atmos-fuse | m4a-atmos FUSE | Cinnabar | Small |
Semantic colors
These are shared by every product and never change with data-product.
Marks
Every product mark is the same pointy-top hexagon filled with the product's metal, with a single glyph drawn in --on-accent. Glyphs use 4–5.5 px rounded strokes on a 64 px grid and stay inside the middle 32 px. The org mark carries a 4.
Ready-made files live in assets/glyphs/: <id>.svg for light backgrounds and favicons, and <id>-dark.svg for dark ones.
Type
- Text: the system font stack (
system-ui). It loads instantly and matches the reader's platform. - Labels and code: a monospace stack starting with
ui-monospace. Eyebrows, tags, readouts and navigation labels use it. - Scale: 16 px body at 1.65 line height; page titles from 34 to 51 px with tight negative tracking; eyebrows uppercase at 12 px with wide tracking.
- Shape: 10 px radius for panels, 6 px for controls, 14 px for README cards. Borders are 1 px
--line; shadows only on hover and floating panels.
Components
Buttons
Diagnostics
Written in Markdown with GitHub's alert syntax, so they read the same on GitHub.
Run with --dry-run first to see what changes.
This setting sends traffic to your news servers.
Deletion is permanent.
Flagship card and tile
Readout
Verified par2 · nothing left to repair Missing 212 articles on all servers Finished 1 download · 0 failovers
README cards
GitHub strips CSS from READMEs, so product badges are generated SVG cards with light and dark variants. Flagships get an 840×200 card and everything else a 410×104 card. Link them like this:
<a href="https://rustyget.xbmc4lyfe.com/"><picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://appz4fun.github.io/assets/cards/rustyget-dark.svg">
<img src="https://appz4fun.github.io/assets/cards/rustyget-light.svg"
width="100%" alt="RustyGet: Every copy of a release, working as one download.">
</picture></a>
For two small cards per row, use width="49%" on each. Shields in a product README use the product metal as their color, for example https://img.shields.io/badge/docs-site-a8400f.
Use it in a project
<html lang="en" data-product="zipfast"> <link rel="stylesheet" href="https://appz4fun.github.io/oxide/oxide.css">
- Link
oxide.cssand setdata-productto the id from the table above. - Use
var(--accent)for links and the primary action, and the semantic tokens for state. - Use the product's hex glyph as the favicon and the brand mark in the masthead.
- For MkDocs Material or VitePress sites, map the theme's primary color to the product's light and dark metal.
Adding a product: add an entry to oxide/products.json and run python3 tools/build.py. That regenerates the CSS, glyphs, cards, both READMEs and these pages, and it fails if the new metal misses AA contrast.