@ox-content/theme-color-modus
v3.2.14
Published
Protesilaos' accessibility-first scheme, WCAG AAA throughout — an Ox Content color scheme that composes with any @ox-content/theme-* skin
Maintainers
Readme
@ox-content/theme-color-modus
Modus — Protesilaos' accessibility-first scheme, WCAG AAA throughout — for Ox Content.
Color only. Light and dark --octc-* tokens and nothing else: no layout, no
texture, no typography. That is what lets it drop under any skin package.
npm install @ox-content/theme-color-modus// vite.config.ts
import { defineConfig } from "vite";
import { oxContent } from "@ox-content/vite-plugin";
import modus from "@ox-content/theme-color-modus";
export default defineConfig({
plugins: [
oxContent({
srcDir: "docs",
ssg: { siteName: "My Docs", theme: modus },
}),
],
});Stack a skin on top to change the form as well — layers compose left to right, so anything you append wins:
import pixel from "@ox-content/theme-pixel";
theme: [pixel, modus, { colors: { primary: "#ff5f56" } }];License
MIT
