Ryan Johnson
Ryan Johnson
LESS supports guard conditions for mixins (http://lesscss.org/features/#mixin-guards-feature). Here's a real usage example. ``` less .transition-property(@property: all, @duration: 0.2s, @ease: ease-out, @delay: 0s) when (@delay > 0s) { .transition-value(@property @duration @delay...
Add support for class-level `@emits` and `@listens`. ## Breaking Changes ### `@emits` syntax changed It's possible to emit two different events of the same class type but with different names....
> As an author of design tokens, > I would like to define a $value as a relative path to a bundled asset, > so that Translation Tools know to...
In build systems like Flutter (likely Android, as well), convention for variants is to add specificity when a variant differs from the default. If `foo` is the default, `foo-dark` is...
What if a README (or `README.md`) file were supported as an optional file in the DSP folder? This file would provide DSP maintainers a location to provide free-form information about...
## Fragmented Definition If tokens are meant to be the source of truth, then defining tokens directly in a collection introduces fragmentation by allowing _multiple_ places for tokens to be...
Is it possible to define JSON Schemas (https://json-schema.org/)? The docs are great to get the gist of the file structure, but it's challenging to understand: * which keys are required/optional?...
It makes sense that you could programmatically generate multiple DSPs (one per theme), but there are times where I would like to define smaller, focused palettes based on theme colors....
How should a consuming client use the "import" configuration in `dsp.json`? * Should they namespace each file (`data/foo.json` is namespaced to `foo.*`)? * Should they be merged into a single...
What if consumers of the DSP only want to use it to build works based on it or a DSP developer wants to prevent unwanted modifications outside of a defined...