mduvall / rework-stripe-conformance

Rework plugin for Stripe CSS to check component style isolation. Forked from rework-suit-conformance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rework-stripe-conformance

A Rework plugin to check the conformance of a component's CSS to the SUIT CSS methodology, with some modifications.

Installation

npm install rework-stripe-conformance

Usage

See rework-suit-conformance.

Differences

  • Always use "strict mode".
  • Allow % selectors that begin with a class matching the defined ComponentName.

Rules

:root-specific

  • Use hex values (rgba(#fff, 0)) instead of RGB values in RGB/HSL(A) (rgba(255, 255, 255, 0)).

About

Rework plugin for Stripe CSS to check component style isolation. Forked from rework-suit-conformance

License:Other


Languages

Language:JavaScript 100.0%