Releases: RedHat-UX/red-hat-design-tokens
Releases · RedHat-UX/red-hat-design-tokens
v1.0.0-beta.11
Patch Changes
- 3bf26ab: Fixed missing rgb and hsl values for grey colours
v1.0.0-beta.10
v1.0.0-beta.9
Patch Changes
- 1a18fab: More CI debugging
v1.0.0-beta.8
Patch Changes
- 2f6494e: More CI debugging
v1.0.0-beta.7
Patch Changes
- a33f75c: One more release ci fix for good measure
v1.0.0-beta.6
Patch Changes
- c0abeff: Add VSCode bundle to GitHub release
v1.0.0-beta.5
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
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
Patch Changes
- a2ae38a: Corrected package exports
v1.0.0-beta.2
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';