Skip to content

[Phase 02] CSS token layer + global styles #852

Description

@ashleyshaw

Phase 02 — CSS token layer + global styles

Defines all site-specific CSS custom properties on top of the design system base,
establishes global layout rules (.wrap, .section, breakpoints), and sets typography
defaults. This is the foundation every component relies on.

Deliverables

  • src/styles/site-tokens.css — surface tokens (--panel, --panel-2, --hair), dark overrides
  • src/styles/global.css — .wrap, .wrap-prose, .section, reset, typography, button classes
  • Both files imported in BaseLayout.astro
  • Light + dark mode both render correctly (no hardcoded colours)
  • Fluid clamp() values for all spacing + typography

Spec: AWESOME_GITHUB_THEME_TOKENS_SPEC.md, AWESOME_GITHUB_HOMEPAGE_SPEC.md §1

Metadata

Metadata

Assignees

Type

No type

Priority

None yet

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions