Civic Tech DC Design System
The official design system and style guide for the Civic Tech DC website.
Welcome to the Civic Tech DC Design System. This guide provides the foundational elements, components, and design principles used to build and maintain our website.
Overview
The Civic Tech DC website is built on top of the U.S. Web Design System (USWDS) version 3. We leverage USWDS for its accessibility, responsiveness, and robust component library, applying our custom theme settings and styles where necessary to match our brand.
Why a Design System?
- Consistency: Ensure a unified look and feel across all pages and components.
- Efficiency: Provide reusable code snippets so contributors don’t have to reinvent the wheel.
- Accessibility: Maintain the high accessibility standards provided by USWDS.
Getting Started
If you’re contributing to the Civic Tech DC website, familiarizing yourself with this guide is the best place to start. Use the sidebar to navigate through our colors, typography, and specific components.
- Design Vision: Our vision for modernizing the civic-hacker interface.
- Foundations: The design tokens — type, spacing, radius, elevation, and motion — every page is built from.
- Colors: Our brand palette and how to use it.
- Typography: Fonts, headings, and text styles.
- Components: Reusable UI elements like buttons and cards.
Modifying the Design System
To make changes to the design system:
- Update USWDS theme variables in
sass/theme/_uswds-theme.scss. - Add custom SCSS styles in
sass/custom/styles.scss. - Document any new or modified components in this style guide.