Skip to content

v1.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 26 Aug 07:14
· 148 commits to main since this release
b5921f7

Minor Changes

  • ae98335: Adds a new Stylelint plugin, which validates and fixes token values in css files.

    npx stylelint elements/**/*.css --fix
    

    Also adds a new tokens map from the main export. The previous main have moved to './values.js';

    import { tokens } from "@rhds/tokens";
    
    tokens.get("--rh-color-brand-red-on-light"); // '#ee0000';

Patch Changes

  • 594e64d: Support a limited set of languages in font-family
  • a1659d8: Converted length tokens from rem to px