@ox-content/theme-color-kanagawa
v3.2.14
Published
Kanagawa Lotus and Wave — an Ox Content color scheme that composes with any @ox-content/theme-* skin
Downloads
3,668
Maintainers
Readme
@ox-content/theme-color-kanagawa
Kanagawa — Kanagawa Lotus and Wave — 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-kanagawa// vite.config.ts
import { defineConfig } from "vite";
import { oxContent } from "@ox-content/vite-plugin";
import kanagawa from "@ox-content/theme-color-kanagawa";
export default defineConfig({
plugins: [
oxContent({
srcDir: "docs",
ssg: { siteName: "My Docs", theme: kanagawa },
}),
],
});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, kanagawa, { colors: { primary: "#ff5f56" } }];Variants
The default export stays kanagawa (Kanagawa Lotus and Wave). Named variants
are exported from the same package:
import { kanagawaDragon } from "@ox-content/theme-color-kanagawa";kanagawaDragon— Kanagawa Lotus and Dragon
License
MIT
