@ox-content/theme-color-github
v2.90.0
Published
GitHub Light and GitHub Dark — an Ox Content color scheme that composes with any @ox-content/theme-* skin
Maintainers
Readme
@ox-content/theme-color-github
GitHub — GitHub Light and GitHub 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-github// vite.config.ts
import { defineConfig } from "vite";
import { oxContent } from "@ox-content/vite-plugin";
import github from "@ox-content/theme-color-github";
export default defineConfig({
plugins: [
oxContent({
srcDir: "docs",
ssg: { siteName: "My Docs", theme: github },
}),
],
});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, github, { colors: { primary: "#ff5f56" } }];License
MIT
