Skip to content

Releases: RedHat-UX/red-hat-design-tokens

v1.0.0-beta.11

22 Jan 14:38
aa53057
Compare
Choose a tag to compare
v1.0.0-beta.11 Pre-release
Pre-release

Patch Changes

  • 3bf26ab: Fixed missing rgb and hsl values for grey colours

v1.0.0-beta.10

22 Jan 14:17
f93303a
Compare
Choose a tag to compare
v1.0.0-beta.10 Pre-release
Pre-release

Minor Changes

  • 20b5fc0: Added -hsl and -rgb variants of crayon colours

    background: rgb(var(--rh-color-red-100-rgb) / var(--rh-opacity-80));

Patch Changes

  • 2541aeb: Removing Overpass from font stacks

v1.0.0-beta.9

19 Sep 17:21
Compare
Choose a tag to compare
v1.0.0-beta.9 Pre-release
Pre-release

Patch Changes

v1.0.0-beta.8

19 Sep 17:13
Compare
Choose a tag to compare
v1.0.0-beta.8 Pre-release
Pre-release

Patch Changes

v1.0.0-beta.7

19 Sep 16:58
Compare
Choose a tag to compare
v1.0.0-beta.7 Pre-release
Pre-release

Patch Changes

  • a33f75c: One more release ci fix for good measure

v1.0.0-beta.6

19 Sep 16:43
Compare
Choose a tag to compare
v1.0.0-beta.6 Pre-release
Pre-release

Patch Changes

  • c0abeff: Add VSCode bundle to GitHub release

v1.0.0-beta.5

19 Sep 16:30
Compare
Choose a tag to compare
v1.0.0-beta.5 Pre-release
Pre-release

Minor Changes

  • 842d205: Adds breakpoint tokens.

    Since CSS does not allow custom properties in media queries, these should be used via the
    ScreenSizeController from @rhds/elements

    import { LitElement, html } from 'lit';
    import { classMap } from 'lit/directives/class-map.js';
    import { ScreenSizeController } from '@rhds/elements/lib/controllers/ScreenSizeController.js';
    
    @customElement('responsive-element')
    class ResponsiveElement extends LitElement {
      #screenSize = new ScreenSizeController(this);
    
      render() {
        const isMobilePortrait = this.#screenSize.has('mobile-portrait');
        return html`
          <div id="#container" class="${classMap({ isMobilePortrait })}">
            ...
          </div>
        `;
      }
    }

v1.0.0-beta.4

04 Sep 07:36
Compare
Choose a tag to compare
v1.0.0-beta.4 Pre-release
Pre-release

Minor Changes

  • 6f11643: - Adds textmate snippets in editor/textmate

    • Adds a VSCode VSIX extension bundle to github releases
    • Fixes the hexokinase regexp

    BREAKING CHANGES:

    • moves editor files to their own dir: vscode to editor/vscode, etc

v1.0.0-beta.3

30 Aug 15:33
Compare
Choose a tag to compare
v1.0.0-beta.3 Pre-release
Pre-release

Patch Changes

  • a2ae38a: Corrected package exports

v1.0.0-beta.2

26 Aug 07:14
b5921f7
Compare
Choose a tag to compare
v1.0.0-beta.2 Pre-release
Pre-release

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