Giter VIP home page Giter VIP logo

design-system's Introduction

The Norton Design System

Build status Code coverage Core version React version

A design system built by W. W. Norton & Company.

View all documentation at https://wwnorton.github.io/design-system.

Repository Structure

This repository uses workspaces to manage design system packages as a monorepo.

  • @wwnds/core is an implementation of the design system's styles and foundations. It contains modular Sass declarations, mixins, functions, and design tokens (variables). It is the source of truth for the theming system and default styles.
  • @wwnds/react is a React component library implementation of the design system. It has no styling and is designed to work well with @wwnds/core.
  • website (https://wwnorton.github.io/design-system) contains the actual design system. It depends on both @wwnds/core and @wwnds/react and uses Docusaurus as its static site generator.

Contributing

Any and all contributions are welcome from anyone who would like to help. To learn more about contributing, please read the contribution guide.

Because this is a monorepo, a couple extra steps are required to get your local environment ready.

Environment Setup

The following assumes that you already have Node.js and Git installed locally.

  1. Clone the repository.
  2. Install all workspace dependencies via npm@7+.
git clone https://github.com/wwnorton/design-system.git
cd design-system
npm install

Developing

All development commands should be run from the root of the repository.

  • npm run storybook: the Storybook server for @wwnds/react. Useful for component development.
  • npm run dev:docs: start the Docusaurus server for the website. Useful for writing documentation or full design system development.
  • npm run build: run a production build for each library package, outputting to packages/{package_name}/dist. Useful for testing production builds.
  • npm run test: run unit tests.

design-system's People

Contributors

sh0ji avatar wguevara-norton avatar apatil15 avatar dependabot[bot] avatar dependabot-preview[bot] avatar erinoh avatar jrebella avatar cafrias avatar lucas-contreras avatar learn2reid avatar elizmarotta avatar parmejon avatar wilmerguevara avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.