GonizBuddy Posted March 16, 2020 Share Posted March 16, 2020 -webkit-backdrop-filter: saturate(110%) blur(10px); backdrop-filter: saturate(110%) blur(10px); For saturate filter, it is giving me the error: error evaluating function `saturate`: e.toHSL is not a function. (In 'e.toHSL()', 'e.toHSL' is undefined) Is there a way around this? Link to comment
KwameAndCo Posted October 1, 2020 Share Posted October 1, 2020 I've recently encountered the same issue - is anyone else having it? If my answers have helped you, please drop a like and mark my answer as best to help other users find solutions quickly. Some links may be affiliate/referral links. You can also thank me by buying me a coffee ☕. Squarespace Tips & Tricks: @squareskills (Youtube 📺 Tutorials - Resource site coming soon) Link to comment
Alan-Squareflair Posted October 30, 2020 Share Posted October 30, 2020 Same. It's when working with crazy filters (for me). Like below (awesomely generated) on this example, which is converted from this hex value: #5aa74c: https://codepen.io/sosuke/pen/Pjoqqp filter: invert(54%) sepia(69%) saturate(365%) hue-rotate(64deg) brightness(93%) contrast(88%); Link to comment
Alan-Squareflair Posted November 5, 2020 Share Posted November 5, 2020 I think it must be a bug with Squarespace. I'm going to submit a ticket to see if it can be repaired, or at least get an answer as to "why" this is happening. Link to comment
katycarlisle Posted November 24, 2020 Share Posted November 24, 2020 I found a fix in this answer from @brandon You need to write: filter: ~'saturate(64%)'; Or if you were including multiple filters: filter: ~'invert(39%) sepia(99%) saturate(64%)'; Cheers, Katy brandon, DV2 and SeanFletchr 2 1 Link to comment
brandon Posted November 24, 2020 Share Posted November 24, 2020 Correct, this will occur with any value that includes a word that Squarespace's LESS compiler recognizes and attempts to compile. In addition to those mentioned, "calc" will (mis)behave similarly. In such cases, one must escape it using the tilde syntax. katycarlisle 1 If a response helped you out, send a 'Like' 👍 (bottom-right) and/or 'Upvote' (top-left) Link to comment
Alan-Squareflair Posted December 17, 2020 Share Posted December 17, 2020 On 11/24/2020 at 2:55 PM, brandon said: this will occur with any value that includes a word that Squarespace's LESS compiler recognizes and attempts to compile One thing I didn't think to try @brandon — I should've tried adding just plain CSS in header injection, or right on the page in a code-block. Next-time. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment