Skip to content

@terrazzo/plugin-sass@2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Mar 15:06
· 4 commits to main since this release
217ca37

Minor Changes

  • #530 370ed7b Thanks @drwpow! - ⚠️ Breaking change: lint on plugins no longer runs on individual files, rather, the full set once merged.

    If your lint plugin is not using the src context value, no changes are needed. If it is, you’ll need to instead read from the sources array, and look up sources with a token’s source.loc filename manually. This change was because lint rules now run on all files in one pass, essentially.

  • #530 370ed7b Thanks @drwpow! - ⚠️ [Plugin API] Minor breaking change: token.originalValue may be undefined for tokens created with $ref. This shouldn’t affect any tokens or plugins not using $refs. But going forward this value will be missing if the token was created dynamically via $ref.

  • #589 8f32d44 Thanks @michaelurban! - feat: add typography shorthand, improve Sass plugin

Patch Changes

  • #530 370ed7b Thanks @drwpow! - Validation moved to lint rules, which means token validation can be individually configured, and optionally extended.

  • #553 e63a627 Thanks @Sidnioulz! - Add support for the Token Listing format

  • #568 67c75be Thanks @drwpow! - Fix border tokens not cascading correctly across modes