Shared UI library for the jonnxor sites: fonts, components and styles, published as @waaagh/jonnxor-brand.
- HTML 50.1%
- CSS 33.3%
- JavaScript 14.5%
- Shell 2.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .claude | ||
| .forgejo/workflows | ||
| design-system | ||
| docs/specs | ||
| fonts | ||
| icons | ||
| tests | ||
| tools | ||
| .copier-answers.yml | ||
| .gitignore | ||
| .prettierignore | ||
| CLAUDE.md | ||
| components.css | ||
| fonts.css | ||
| lefthook.yml | ||
| mise.toml | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.js | ||
| README.md | ||
| tokens.css | ||
jonnxor-brand
The JonnXor brand as a package: the tokens and three themes, the
self-hosted fonts, the shared components, the dragon mark, and the design
guide with its agent skill. Published as @waaagh/jonnxor-brand to the
Forgejo npm registry, so every site can share the brand without referencing
this repo.
tokens.css token vocabulary, three themes (dawn, rune, neon)
fonts.css @font-face rules for the files in fonts/
fonts/ Orbitron, Montserrat, JetBrains Mono (OFL, licences inside)
components.css shared components; no site chrome (nav, footer, search)
icons/ favicon.svg, favicon.ico, apple-touch-icon.png
design-system/ the design guide, SKILL.md for Claude Code, specimen cards
Using it in a site
echo '@waaagh:registry=https://git.jonnxor.is/api/packages/WAAAGH/npm/' >> .npmrc
npm install --save-exact @waaagh/jonnxor-brand
Copy the files out of node_modules/@waaagh/jonnxor-brand/ into the site's
build (for example into assets/), then:
<link rel="stylesheet" href="assets/tokens.css" />
<link rel="stylesheet" href="assets/components.css" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
tokens.css imports fonts.css, which expects fonts/ beside it.
A brand change reaches a site when the site bumps its pinned version.
Developing
| verb | does |
|---|---|
mise run fmt |
format |
mise run lint |
check formatting |
mise run test |
package contents, themes, no network, every card renders |
mise run release |
lint, test, then publish the version in package.json (refuses a version already published) |
Open any file in design-system/cards/ in a browser to see a component in
all three themes.