You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the convert_rgb filter (in my case {% macro to_rgba(color) %}rgba({{ color.color|convert_rgb }}, {{ color.opacity|int(100)/100 }}){% endmacro %}), the line will turn red with the error Passed #null into convert_rgb, needs to be in #87c95f format.
To Reproduce
Steps to reproduce the behavior:
add the above macro to your code
Run/build
Notice red line and error in vscode
Expected behavior
No error, since a) it is a macro, and b) convert_rgb has no parameters (aka you can't do color|convert_rgb(#ffffff) according to the docs)
** Environment Versions: **
VSCode Version: 1.82.0
HubSpot VSCode Extension version: 1.2.1
OS: MacOS Ventura 13.5.2
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the convert_rgb filter (in my case
{% macro to_rgba(color) %}rgba({{ color.color|convert_rgb }}, {{ color.opacity|int(100)/100 }}){% endmacro %}
), the line will turn red with the errorPassed #null into convert_rgb, needs to be in #87c95f format.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error, since a) it is a macro, and b) convert_rgb has no parameters (aka you can't do
color|convert_rgb(#ffffff)
according to the docs)** Environment Versions: **
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: