Skip to content
srcery-colorsPublic

About

Contains the source for the project website.

Topics

Resources

Security policy

Stars

11 stars

Watchers

4 watching

Forks

Repository files navigation

Srcery

The website for Srcery, a color scheme with clearly defined contrasting colors and a slightly earthy tone.

Website Palette version License Issues Forks Stars

Local development

Use Node.js 26 and pnpm 12, as specified in package.json.

pnpm install
pnpm run fetch
pnpm dev

The fetch script generates src/github.json with public GitHub organization data. Run it once before starting the site, and again when you want fresh data. Astro prints the development server URL in the terminal and reloads as you edit.

If fetching hits GitHub's rate limit, provide a token through the GH_TOKEN environment variable when running pnpm run fetch. Keep the token out of tracked files.

Commands

Command Purpose
pnpm dev Start the development server
pnpm run fetch Refresh GitHub community data
pnpm run build Build the static site into dist/
pnpm run preview Serve an existing production build locally
pnpm run astro:check Check Astro and TypeScript
pnpm run lint Check code with Biome
pnpm run fmt:check Check formatting with Prettier
pnpm run fmt Format files with Prettier

Building requires src/github.json; run pnpm run fetch first. CI uses pnpm run build:ci, which fetches the data automatically before building. The site deploys to GitHub Pages on pushes to master.

Technology

Area Tools
Site Astro and TypeScript
Styling Tailwind CSS and the Srcery palette
Icons Font Awesome, Devicon, and Simple Icons
Code examples highlight.js
GitHub data Octokit
Code quality Biome, Prettier, and Astro's type checker

Contributing

Contributions are welcome. Run the type, lint, formatting, and build checks above before opening a pull request.

License

MIT

The bundled Iosevka fonts in src/fonts/ are licensed under the SIL Open Font License 1.1. See src/fonts/OFL-Iosevka.txt.

About

Contains the source for the project website.

Topics

Resources

Security policy

Stars

11 stars

Watchers

4 watching

Forks

Used by

Contributors

Languages