You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the attempt to build design tokens from the published npm package Paragon 23.0.0, an error occurs related to the design token pgn-typography-print-page-size. Since this token has the value a3 and the type dimension, Style Dictionary tries to add a unit of measurement (e.g., px or rem) to this value, but it cannot do so.
This problem was not previously encountered when attempting to build design tokens locally in Paragon using the build-tokens command. However, it is present when installing Paragon as a dependency via NPM.
After some research, I discovered that when packages are installed in Paragon, Style Dictionary version 4.0.1 is used. However, if Paragon is installed as an NPM package, the latest published minor version of Style Dictionary (4.3.2) is added to the dependencies.
Local Paragon
Paragon v23.0.0 (NPM package)
Notes
The text was updated successfully, but these errors were encountered:
Description
During the attempt to build design tokens from the published npm package Paragon 23.0.0, an error occurs related to the design token pgn-typography-print-page-size. Since this token has the value
a3
and the typedimension
, Style Dictionary tries to add a unit of measurement (e.g.,px
orrem
) to this value, but it cannot do so.This problem was not previously encountered when attempting to build design tokens locally in Paragon using the build-tokens command. However, it is present when installing Paragon as a dependency via NPM.
After some research, I discovered that when packages are installed in Paragon, Style Dictionary version
4.0.1
is used. However, if Paragon is installed as an NPM package, the latest published minor version of Style Dictionary (4.3.2
) is added to the dependencies.Local Paragon
Paragon v23.0.0 (NPM package)
Notes
The text was updated successfully, but these errors were encountered: