James Stuckey Weber
James Stuckey Weber
> @jamesnw One thing I'd mention that's worth considering, is how certain frameworks are handling this today. Since multiple types of files can be exported from a single entry point,...
Good catch, and thanks for the repro! It should be supported- in adding handling for the variants (`./colors.scss`, `./_colors.sass`, etc.), I missed adding handling for the unaltered subpath. That should...
I considered that, but I do think there's a case to be made for extensionless export specifiers. One of the motivations behind using conditional exports is to allow different types...
> ...since Node generally encourages users to write `import "mypkg/card.js"` instead of `import "mypkg/card"`? I think the tension here is that this conflicts with Sass, which generally encourages `@use 'mypkg/card';`,...
@LeaVerou This is primarily a demonstration, so I'm fine with it being merged as is, or if you want me to incorporate into the existing method, or if you prefer...
I've updated this to apply the 2 changes directly to the LH method, and for the sake of dedicated PRs, I have split out the delta display question into its...
> 2\. The discontinuity at 0 and 1 could affect quality. My thinking in applying this is that this is part of the CSS Color 4 spec for (ok)lab and...
> I don't have time to check the code rn, but if `scale` can return the original color when it's unchanged without doing extra work, it should. `scale` creates a...
> I do think certain lightness ranges can tolerate more hue shift. Like really dark colors can tolerate more, and maybe really really light. I was curious how the current...
> What is the vertical axis? It's the delta between `oklch.h` of the orginal and mapped colors, normalized in the same way as the Gamut Mapping app.