ST ColorMod `blend(a)` adjusters not working
See original GitHub issueDescription
ST color-mod blend(a)
adjusters don’t work:
Support Info
- ST ver.: 4121
- Platform: windows
- Arch: x64
- Plugin ver.: 3.8.0
- Install via PC: True
- mdpopups ver.: 4.2.1
Steps to Reproduce Issue
- Run
Color Helper: ST ColorMod
from the CP - Paste
color(red blenda(green 15%))
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
csstools/postcss-color-mod-function - GitHub
Modify colors using the color-mod() function in CSS - GitHub ... b() / blackness() , tint() , shade() , blend() , blenda() ,...
Read more >Blend Modes not working in Photoshop , SOLVED!!! - YouTube
How to solve 2 different problem cases associated with Blend Modes in Adobe Photoshop. Problem Case #1 : Some of blend modes are...
Read more >The CSS color-mod Function | DigitalOcean
CSS Colors Level 4 brings us a color-mod() function that makes it easy to modify color values.
Read more >CSS Color Module Level 4 - W3C
Resolved at San Francisco to add a working-color-space at-rule, which affects the entire document. Compositing, interpolation, blending use this ...
Read more >Building Themes with CSS4 Color Features - Cloud Four
The blend() adjuster exists for this purpose, enabling you to create in-betweens from two base colors. The percentage argument controls how much ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Turns out that during an update of the internal coloraide, some of the color parts regex that we reuse added some captured groups in the regex where they used to be uncaptured. This caused us to access the wrong matched groups during blend and broke us. I’ll have a fix in the next version.
The fix is on master. I should get a release out in the next few days. Blend and blenda are now fixed, and even
s()
andl()
needed a fix as the scaling of HSL non-hue values is now between 0 - 1 instead of 0 - 100 in the coloraide object. Anyways, this will be available soon-ish.