Joren Broekema

Results 119 comments of Joren Broekema

Hey, this is because your dvt-border-divider and your dvt-1 token have a value property of type object. You'll need a transform that combines the object values into a shorthand string...

With regards to template, I think it would be good to just take the templates and turn them into template literals (function that returns template literal if dynamic vars are...

Hey @jookshub , quick background, the outputReferences utility used to, in 3.8.x, output refs by doing a find & replace action on the token's resolved final value, e.g. `"rgba(204,219,232,0.4)".replace("#ccdbe866", "var(--element-muted)")`...

Oh and btw to more accurately answer the original post in this issue: ```js StyleDictionary.registerTransform({ name: 'name/scss', type: 'name', transformer: (token) => { // "DEFAULT" is a Tailwind naming convention...

Hey, I actually migrated to dart-sass already in the v4 branch, which is released as a prerelease already. Two questions: - Can you use the v4 prerelease for your use...

I'm not sure I understand why your "include" tokens source files contain design tokens that already contain the metadata props that style-dictionary is supposed to fill out for you. That...

https://www.npmjs.com/package/@bundled-es-modules/deepmerge feel free to use ESM bundled fork of this project. I felt I had no choice but to do this, since the author seems reluctant to add ESM-first support,...

> Is there a fork in github w/ the actual changes in your npm package @jorenbroekema?? yes https://github.com/bundled-es-modules/deepmerge , sorry must have forgotten to put this info in the pkg...

W3C support added to v4 branch, so you can use it without needing a custom parser

Lit works with it as well, very similar to my snippet using HTMLElement, except you use LitElement