question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ST ColorMod `blend(a)` adjusters not working

See original GitHub issue

Description

ST color-mod blend(a) adjusters don’t work: image

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

  1. Run Color Helper: ST ColorMod from the CP
  2. Paste color(red blenda(green 15%))

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
facelessusercommented, Dec 20, 2021

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.

0reactions
facelessusercommented, Dec 21, 2021

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() and l() 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found