@ox-content/theme-blueprint
v2.90.0
Published
Technical drawing grid with dashed callouts and strokes that draw themselves — an Ox Content skin that composes with any @ox-content/theme-color-* scheme
Maintainers
Readme
@ox-content/theme-blueprint
Blueprint — Technical drawing grid with dashed callouts and strokes that draw themselves — for Ox Content.
Form only. Geometry, texture, typography and motion, written entirely
against --octc-* custom properties. It names no colors, so it pairs with any
@ox-content/theme-color-* scheme. About 10.1 kB of CSS, zero JavaScript, zero
runtime dependencies.
npm install @ox-content/theme-blueprint @ox-content/theme-color-tokyo-night// vite.config.ts
import { defineConfig } from "vite";
import { oxContent } from "@ox-content/vite-plugin";
import blueprint from "@ox-content/theme-blueprint";
import tokyoNight from "@ox-content/theme-color-tokyo-night";
export default defineConfig({
plugins: [
oxContent({
srcDir: "docs",
ssg: { siteName: "My Docs", theme: [blueprint, tokyoNight] },
}),
],
});Layers compose left to right, so anything you append wins:
theme: [blueprint, tokyoNight, { colors: { primary: "#ff5f56" } }];Motion
Transitions, scroll-driven reveals and cross-document page transitions are all
declarative CSS — no router, no observer, no client bundle. Everything sits
behind @supports and is switched off under prefers-reduced-motion: reduce.
Retune the choreography without touching the stylesheet:
theme: [blueprint, tokyoNight, { tokens: { "motion-base": "200ms", "motion-ease": "linear" } }];License
MIT
