istf-spec icon indicating copy to clipboard operation
istf-spec copied to clipboard

Interoperable Style Transfer Format [DRAFT]

Results 13 istf-spec issues
Sort by recently updated
recently updated
newest added

Where does autoprefixing fit into this? Should it be part of the library (like SC), or something that happens on this "standard" data format (i.e. directly before injection into the...

At some point, we should start with validator, which will validate the ISTF array for correctness. ### Use cases - It will be needed to control the output from CSS...

CSS has lots of inconsistencies, driven by DX they thought they are optimizing. For e.g. url can be defined as a CSS string, as a url token and as a...

Instead of ```css body { color: red } ``` producing ```js [ [RULE_START, 1], [SELECTOR, 'body'], [PROPERTY, 'color'], [VALUE, 'red'] [RULE_END] ] ``` It could instead produce ```js HEAP =...

What can we do to make it more readable and clear? Please post your suggestions.

We don't have any selector markers yet to represent attribute selectors: https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors those include (non exhaustive list): ```css [title] [href="https://example.org"] [href*="example"] [href$=".org"] ``` and so on

In CSS we can write a short notation: ```css border: 1px solid red; ``` Which is in a full form: ```css border-width: 1px; border-style: solid; border-color: red; ``` While shorthand...

As a module author, I want a standard CSS-in-JS format to allow me to **provide my styles agnostic of whatever runtime or UI library the parent app is using**. As...

Should we go for single array? As consequence we will only be able to express this: 1. [MARKER] 2. [MARKER, value] Right now it seems to work nicely. ```js [...