No description
  • Astro 45.3%
  • CSS 30.5%
  • JavaScript 24.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-12-02 22:44:07 -05:00
components Initialize @zeropier/site-kit v0.1.0 2026-12-02 18:59:55 -05:00
fonts Initialize @zeropier/site-kit v0.1.0 2026-12-02 18:59:55 -05:00
layouts v0.1.1: fix theme-color order, add ogImage support, and share compact table/history styles 2026-12-02 22:44:07 -05:00
lib Initialize @zeropier/site-kit v0.1.0 2026-12-02 18:59:55 -05:00
styles v0.1.1: fix theme-color order, add ogImage support, and share compact table/history styles 2026-12-02 22:44:07 -05:00
.gitignore Initialize @zeropier/site-kit v0.1.0 2026-12-02 18:59:55 -05:00
LICENSE-APACHE Initialize @zeropier/site-kit v0.1.0 2026-12-02 18:59:55 -05:00
LICENSE-MIT Initialize @zeropier/site-kit v0.1.0 2026-12-02 18:59:55 -05:00
package.json v0.1.1: fix theme-color order, add ogImage support, and share compact table/history styles 2026-12-02 22:44:07 -05:00
README.md Initialize @zeropier/site-kit v0.1.0 2026-12-02 18:59:55 -05:00

@zeropier/site-kit

Shared design tokens, self-hosted fonts (Schibsted Grotesk and Commit Mono, SIL OFL 1.1), Starlight theme mapping, and Astro shell components for ZeroPier project websites.

Install

Pin to a release tag (or switch to SemVer once published to @zeropier on npm):

{
  "dependencies": {
    "@zeropier/site-kit": "github:zeropier/site-kit#v0.1.0"
  }
}

Per-project highlight override

Every ZeroPier site inherits the shared paper-and-graphite neutrals and overrides only its three highlight tokens (--accent, --accent-strong, --accent-wash) on html:root:

html:root {
  --accent: #6b3fa0;
  --accent-strong: #552e85;
  --accent-wash: #f3eefb;
}

@media screen and (prefers-color-scheme: dark) {
  html:root:not([data-theme='light']) {
    --accent: #b794f4;
    --accent-strong: #cbb0f8;
    --accent-wash: #251a38;
  }
}

@media screen {
  html:root[data-theme='dark'] {
    --accent: #b794f4;
    --accent-strong: #cbb0f8;
    --accent-wash: #251a38;
  }
}

Starlight integration (astro.config.mjs)

starlight({
  customCss: [
    '@zeropier/site-kit/styles/fonts.css',
    '@zeropier/site-kit/styles/tokens.css',
    './src/styles/theme.css',
    '@zeropier/site-kit/styles/starlight.css',
  ],
})

License

Dual-licensed under MIT or Apache-2.0. Bundled fonts are licensed under SIL OFL 1.1 (see fonts/LICENSE-*.txt).