👩🎨 Access your design tokens with ease
Added a new set()
method so you can update or add values to your tokens.
https://github.com/mrmartineau/design-system-utils/compare/v1.3.1...v1.4.0
Removed the umd build because it was breaking things.. 🤷♂️
object-get
to @ngard/tiny-get
because it is a more modern packagedevDependencies
and updated others$ size-limit
build/cjs.js
Package size: 842 B
Size limit: 1 KB
build/es.js
Package size: 851 B
Size limit: 1 KB
With all dependencies, minified and gzipped
The API did not change in this release
$ size-limit
cjs/index.js
Package size: 814 B
Size limit: 1 KB
es/index.js
Package size: 806 B
Size limit: 1 KB
With all dependencies, minified and gzipped
The API did not change in this release
This release focused on improving performance and removing some of the ambiguity around the ds.fontSize()
method.
ds.pxTo
and ds.toPx()
functions have been extracted into their own functions, not on the ds
class. The readme has usage info for them.16
not 20
to conform with common browser defaults.Update colors API to include another item brand
The color palette section has been expanded to include brand
color-scheme as well. This means that the existing colorPalette
data has moved and is now nested beneath a new colors
object.
...
colors: {
colorPalette: {},
brand: {}
}
.prettierrc
to json: e93c8886e9c1c9c945d64ef023ce3f1cedaf9c54cjs
directory from code coverage: 8fca218a4e6f58ec70e6134355f8c7f08280314d