How ntgovernment/design-system-rollout-legacy-sites works
This repository rolls a design-system stylesheet package across legacy websites. The intended workflow is to provide tokens and CSS overrides, compile them into a versioned stylesheet, and use that asset to align a legacy site with the new visual system. The CSS modules cover foundational typography and utilities, reusable interface components, and page-specific layouts. The README documents the compilation and token outputs; individual stylesheet contents were not sampled, so their internal dependencies are not shown.
Main entry points: index.css Versioned CSS · 0.0.2/tokens.css Published tokens · css/tokens.css Original tokens · newntg.tokens.css Updated tokens
Components 8
Design tokens
- Original tokens
src/css/tokens.css - Updated tokens
src/css/newntg.tokens.css
CSS stylesheets
- Foundation styles
src/css - Interface components
src/css - Page styles
src/css
Stylesheet output
- Versioned CSS
dist/dev/ntg/0.0.2/index.css - Published tokens
dist/dev/ntg/0.0.2/tokens.css
Other components
- Legacy website
Connections 7
- Foundation styles → Versioned CSS: compiles into
README.md - Interface components → Versioned CSS: compiles into
README.md - Page styles → Versioned CSS: compiles into
README.md - Updated tokens → Published tokens: publishes as
README.md - Original tokens → Versioned CSS: dev-server tokens
README.md - Versioned CSS → Legacy website: styles
- Published tokens → Legacy website: provides tokens