hackclub/design
소개
The design system behind Hack Club's website, available as tokens, CSS and web components. Works with any framework, or none at all.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalHack Club design system
The design system behind Hack Club's website, available as tokens, CSS and web components. Works with any framework, or none at all.
<link
rel="stylesheet"
href="https://unpkg.com/@hackclub/theme/dist/hackclub.css"
/>
<script
type="module"
src="https://unpkg.com/@hackclub/theme/dist/hackclub.js"
></script>
<hc-button arrow>Join Hack Club</hc-button>
Documentation → design.hackclub.com
Packages
| Package | What it is |
|---|---|
@hackclub/theme |
Everything in one install, plus a single-file CDN bundle |
@hackclub/tokens |
Design tokens as JS, JSON, CSS custom properties and a Tailwind CSS v4 theme |
@hackclub/css-base |
Phantom Sans & Zarathustra, element defaults, prose styles, utility classes |
@hackclub/components |
Web components (<hc-button>, <hc-nav>, <hc-footer>…) built with Lit |
@hackclub/meta |
React component for generating social tags for <head> |
Looking for the Theme UI theme for the previous version of hackclub.com? It's
@hackclub/theme@1on npm, and in this repo's history before v2.
Development
This is a Bun workspace managed with Lerna.
bun install # also builds every package
bun run build # rebuild packages (in dependency order)
bun run test # unit tests (happy-dom)
bun run test:e2e # clean build, tests, dist smoke test and docs build
bun run docs:dev # design.hackclub.com on localhost
The docs site in /docs is built with Astro and deployed on Vercel.
It imports the built packages, so run bun run build after changing a package.
License
Code is MIT.
The Phantom Sans and Zarathustra font files in packages/css-base/fonts are Hack Club's brand typefaces, taken from hackclub.com, and are not covered by the MIT license.
관련 프로젝트 살펴보기
불러오는 중…