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
Differences
- Always use "strict mode".
- Allow
%
selectors that begin with a class matching the definedComponentName
.
Rules
:root
-specific
- Use hex values (
rgba(#fff, 0)
) instead of RGB values in RGB/HSL(A) (rgba(255, 255, 255, 0)
).