All Projects → CMSgov → Design System

CMSgov / Design System

Licence: other
Open source design and front-end development resources for creating Section 508 compliant, responsive, and consistent websites.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Design System

code-gov
An informative repo for all Code.gov repos
Stars: ✭ 101 (-47.4%)
Mutual labels:  government, civic-tech
Decidim
The participatory democracy framework. A generator and multiple gems made with Ruby on Rails
Stars: ✭ 894 (+365.63%)
Mutual labels:  government, civic-tech
plainlanguage.gov
A resource to help federal employees write in plain language and comply with the Plain Writing Act of 2010
Stars: ✭ 111 (-42.19%)
Mutual labels:  government, civic-tech
local-government-design-systems
A repo of local government design systems & pattern libraries. Specifically for municipal (local) & sub-state governments
Stars: ✭ 24 (-87.5%)
Mutual labels:  civic-tech, design-system
Personal Goals
List of books I've read, projects I've done, videos I've seen, articles I've read or podcasts I've listened to.
Stars: ✭ 75 (-60.94%)
Mutual labels:  a11y, sass
frontend
#ChallengeTime Front-End Toolkit with useful additional CSS and JS Scripts http://gmkhussain.github.io/frontend
Stars: ✭ 26 (-86.46%)
Mutual labels:  guidelines, design-system
Design System Components
🛠 Component code and tests for the Australian Government design system
Stars: ✭ 696 (+262.5%)
Mutual labels:  government, sass
Forms
Tracking our progress moving all city paper and pdf forms online.
Stars: ✭ 14 (-92.71%)
Mutual labels:  government, civic-tech
Chakra Ui Vue
⚡️ Build scalable and accessible Vue.js applications with ease.
Stars: ✭ 993 (+417.19%)
Mutual labels:  design-system, a11y
Rgaa referentiel
Référentiel Général d'Accessibilité pour les Administrations
Stars: ✭ 25 (-86.98%)
Mutual labels:  government, a11y
311
New web portal for BOS:311
Stars: ✭ 15 (-92.19%)
Mutual labels:  government, civic-tech
Css
The CSS design system that powers GitHub
Stars: ✭ 10,670 (+5457.29%)
Mutual labels:  design-system, sass
a11y-guidelines
アメーバアクセシビリティガイドライン
Stars: ✭ 61 (-68.23%)
Mutual labels:  a11y, guidelines
ocean-web
Blu's Design System
Stars: ✭ 25 (-86.98%)
Mutual labels:  a11y, design-system
ACCESS-NYC
Find help in NYC with food, money, housing, work, and more on ACCESS NYC. Maintained by @NYCOpportunity
Stars: ✭ 27 (-85.94%)
Mutual labels:  government, civic-tech
A11y Style Guide
Accessibility (A11Y) Style Guide
Stars: ✭ 493 (+156.77%)
Mutual labels:  a11y, sass
dorai-ui
Accessible, unstyled, open-sourced, and fully functional react component library for building design systems
Stars: ✭ 34 (-82.29%)
Mutual labels:  a11y, design-system
digitalgov.gov
Digital.gov — Helping the government community deliver better digital services.
Stars: ✭ 167 (-13.02%)
Mutual labels:  government, civic-tech
Sass A11ycolor
🌈 Generate the nearest accessible color with Sass.
Stars: ✭ 24 (-87.5%)
Mutual labels:  a11y, sass
Design System
Design system for new Proton project
Stars: ✭ 101 (-47.4%)
Mutual labels:  design-system, a11y

CMS Design System Build Status

The design system is a set of open source design and front-end development resources for creating Section 508 compliant, responsive, and consistent websites. It builds on the U.S. Web Design System and extends it to support additional CSS and React components, utility classes, and a grid framework to allow teams to quickly prototype and build accessible, responsive, production-ready websites.

Contents

Packages

You're currently at the root of a monorepo containing multiple NPM packages located in the packages directory. Unless you're a contributor or a child design system maintainer, you can ignore the @cmsgov/design-system-docs and @cmsgov/design-system-scripts packages, as they are mostly focused on the design system's developer tooling and documentation. View the README.md in each of these for additional details.

Name Description
CMS Design System The core CSS, JS, and React components for the design system.
@cmsgov/design-system
Design System Documentation Markdown files containing documentation for the core design system site. These files are used by @cmsgov/design-system-scripts to generate our documentation site.
@cmsgov/design-system
Design System Scripts Scripts for compiling, testing, and linting design system assets. Also contains scripts for building and serving the documentation site. This is used internally by the core CMS design system team, but is made public for child design systems.
@cmsgov/design-system-scripts

Running locally

This project uses Yarn for package management. Yarn helps to ensure everyone is using the same package versions. Install Yarn, if you don't have it yet.

Getting started

  1. yarn install
    • This will also run Lerna bootstrap which allows us to have multiple packages within the same repo (a monorepo). Lerna installs all our dependencies and symlinks any cross-dependencies.
  2. yarn start

Note: When you create a Git commit, any staged scripts will be automatically ran through ESLint and Prettier. If the linter catches an error, your commit will fail. This is a feature, not a bug :)

Scripts

These scripts can all be run from the root level of the repo:

  • yarn start
    • Starts local server running the documentation site
    • Regenerates documentation when files change
  • yarn build
    • Compile/transpile/uglify everything and makes things release-ready.
  • yarn pre-release
  • yarn release
  • yarn test
    • Runs JS unit tests
    • Runs Prettier for formatting
    • Lints JS using ESLint
    • Lints Sass using stylelint
  • yarn test:e2e
    • Runs end to end tests
  • yarn update-snapshots
  • yarn lint
    • Runs just the linting portion of the tests

Visual regression testing

In addition to unit and e2e tests, we're using backstopJS for visual regression testing. Here's how to run the tests.

  • Install backstopJS yarn install
  • Run the site locally yarn start
  • In a new terminal window run the backstop tests backstop test
    • This will test the local CMSDS documentation site against the CMSDS production documentation site
  • After the tests run an html report will open in your browser showing passed and failed tests
  • When introducing a visual change, run backstop approve to commit new reference files after confirming the change with backstop test

Note: Use backstop reference to update and replace all reference files.

Design Assets

The CMS Design System provides a Sketch file and Sketch Library containing components, styles, and symbols. These are regularly updated alongside our code, and updates are automatically synced for designers using the Sketch Library.

Read more on using Sketch with the CMS Design System

Examples

Examples of the design system in use can be found in the examples directory.

Contributing

Please read the CONTRIBUTING.md document to learn about contributing to the design system, and our coding guidelines.

Contact

To contact the CMS Design System product owners, please email [email protected]

One of our goals is to ensure a welcoming environment for all contributors. Please take a look at our Code of Conduct to learn more.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].