Skip to content

feat(*): theme system#641

Open
nekomeowww wants to merge 1 commit into
mainfrom
agent/vitepress-theme-css-system
Open

feat(*): theme system#641
nekomeowww wants to merge 1 commit into
mainfrom
agent/vitepress-theme-css-system

Conversation

@nekomeowww

Copy link
Copy Markdown
Member

Summary

  • Adds docs theme runtime selection so the default VitePress docs site and theme-specific docs builds can share content while loading different theme entrypoints.
  • Splits integration client CSS into shared/common styles plus theme-specific VitePress, VoidZero, and Proj AIRI style layers.
  • Adds NolebasePluginPreset({ theme }) support so plugins can register app-level behavior while choosing theme-specific layout slot wiring.
  • Adds the VoidZero enhanced-readabilities header adapter from the package export instead of a docs-local workaround.

Validation

  • pnpm typecheck
  • pnpm lint:fix
  • Commit hook: pnpm -r --filter=./packages/* run stub
  • Commit hook: pnpm -r --parallel run typecheck
  • Commit hook: staged eslint --fix
  • pnpm -F @nolebase/integrations-docs docs:build:theme:voidzero
  • Browser validation against http://127.0.0.1:41732/themes/voidzero/pages/en/integrations/

Notes

VoidZero currently lacks a right-side header slot equivalent to VitePress nav-bar-content-after, so the enhanced-readabilities VoidZero adapter uses a documented Teleport workaround until VoidZero exposes an appropriate slot.

@nekomeowww
nekomeowww marked this pull request as ready for review July 16, 2026 10:21
@nekomeowww nekomeowww changed the title feat: add vitepress theme css system feat(*): theme system Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant