You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

change-styleguide

Package Overview
Dependencies
Maintainers
5
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

change-styleguide

The Change.org style guide

3.0.0
latest
Source
npmnpm
Version published
Weekly downloads
14
-94.4%
Maintainers
5
Weekly downloads
 
Created
Source

:warning: DEPRECATED - only update dependencies if needed

Circle CI code style: prettier

Change.org CSS style guide

The style guide is a pattern library for Change.org apps. It is a set of design tools for the responsive, flexible, and efficient development of UI, as well as serving as a compass for consistency and intuitive experiences throughout the Change.org ecosystem. The goal is to eliminate the need for writing and maintaining CSS in the Change.org consumer apps.

Getting started

To make use of the Change.org pattern library in your app:

  • Install via npm: npm install change-styleguide
  • Or download the latest release

What's included

The package includes the source LESS files as well as the compiled CSS, so you can make use of it in whole or in part. What you get:

  • Base styles: normalized elements, base styles for semantic HTML documents, global variables such as colors, and the complete icon suite.
  • Utilities: oft-repeated, low-level structural and positional classes for common patterns or overrides, e.g. styles for text alignment
  • Components: object-oriented classes for encapsulating style, semantics, and behavior for UI objects, e.g. modals

Documentation on how to use the patterns can be found at http://styleguide.change.org/user-interface/ or when running this repo locally.

Contribute

Please refer to the contribution guidelines for instructions on getting the style guide development environment set up. It also includes documentation on how to submit pull requests, our CSS code standards, and examples of all our CSS patterns.

Prettier

This repository uses Prettier to enforce a uniform code style. A precommit hook is setup to format the code once you run git commit. If you have an error in your code (e.g. missing a closing }), you will need to fix the error(s) and run git commit again. You will see the following when an error occurs:

✖ prettier --write found some errors. Please fix them and try committing again.

FAQs

Package last updated on 20 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts