Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cssforge/moon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ tasks:
outputs:
- "dist"
options:
runInCI: false
runInCI: "affected"
jsr-dry-run:
command: "npx"
args: ["jsr", "publish", "--dry-run", "--allow-dirty"]
Expand Down
7 changes: 7 additions & 0 deletions packages/docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.vitepress/cache
.vitepress/dist
.cssforge
docs.md
contributing.md
guide/*.md
tokens/*.md
89 changes: 89 additions & 0 deletions packages/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
import { defineConfig } from "vitepress";
import llmstxt from "vitepress-plugin-llms";

export default defineConfig({
title: "CSS Forge",
description:
"0 runtime design tokens generator for modern style systems.",
cleanUrls: true,
appearance: "dark",
markdown: {
theme: "github-dark",
},
vite: {
plugins: [llmstxt()],
},
themeConfig: {
nav: [
{
text: "Guide",
link: "/guide/getting-started",
activeMatch: "/guide/",
},
{
text: "Tokens",
items: [
{ text: "Colors", link: "/tokens/colors" },
{ text: "Spacing", link: "/tokens/spacing" },
{ text: "Typography", link: "/tokens/typography" },
{ text: "Primitives", link: "/tokens/primitives" },
],
},
{ text: "Agents", link: "/agents" },
{
text: "JSR",
link: "https://jsr.io/@hebilicious/cssforge",
},
{
text: "GitHub",
link: "https://github.com/Hebilicious/cssforge",
},
],
sidebar: [
{
text: "Guide",
items: [
{ text: "Getting started", link: "/guide/getting-started" },
{ text: "Configuration", link: "/guide/configuration" },
{ text: "CLI and API", link: "/guide/usage" },
{ text: "Examples", link: "/guide/examples" },
],
},
{
text: "Design tokens",
items: [
{ text: "Colors", link: "/tokens/colors" },
{ text: "Spacing", link: "/tokens/spacing" },
{ text: "Typography", link: "/tokens/typography" },
{ text: "Primitives", link: "/tokens/primitives" },
],
},
{
text: "For agents",
items: [
{ text: "Agent guide", link: "/agents" },
],
},
{
text: "Project",
items: [
{ text: "Contributing", link: "/contributing" },
],
},
],
search: { provider: "local" },
editLink: {
pattern: ({ filePath, frontmatter }) => {
const sourcePath = typeof frontmatter.sourcePath === "string"
? frontmatter.sourcePath
: `packages/docs/${filePath}`;

return `https://github.com/Hebilicious/cssforge/edit/main/${sourcePath}`;
},
},
footer: {
message: "Released under the MIT License.",
copyright: "Copyright Hebilicious",
},
},
});
312 changes: 312 additions & 0 deletions packages/docs/.vitepress/theme/AnvilAnimation.vue

Large diffs are not rendered by default.

Loading
Loading