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