Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use rgba() to modify a var #103

Open
daveisfera opened this issue Mar 12, 2020 · 4 comments
Open

Can't use rgba() to modify a var #103

daveisfera opened this issue Mar 12, 2020 · 4 comments

Comments

@daveisfera
Copy link

Which version are you using (less-watch-compiler --version to find out)? 1.14.6

Is the issue reproducible after updating to the latest version ( npm update less-watch-compiler)? Yes

Describe the bug
Can't specify --modify-var with rgba()

To Reproduce
Steps to reproduce the behavior:
Run `--less-args "modify-var='text-color-primary=rgba(23, 34, 45, 0.5)'

Actual behavior
rgba() call is split into separate args

Expected behavior
There's a way to pass rgba() to lessc

Desktop (please complete the following information):

  • OS: macOS 10.15.3
@jonycheung
Copy link
Owner

Sorry for the late reply. It was running less 3.8.1. Do you know if this is a new feature in less 4? I can probably just upgrade the dependency here if so.

@jonycheung
Copy link
Owner

jonycheung commented May 8, 2021

v1.15.1 has less v4. Could you try it again and reopen if this doesn't work?

@jonycheung jonycheung reopened this May 8, 2021
@jonycheung
Copy link
Owner

The issue wouldn't be solved with less upgrade because I need to ignore parsing your commas in the parenthesis. I'll have to look into it.

@jonycheung
Copy link
Owner

Leaving a note for myself - this may help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants