store variables in less.vars, please !
Open
Nobody has claimed this yet.
low priority
- Dominant language
- JavaScript
- Stars
- 17k
- Forks
- 3.4k
- Avg merge
- 7h 42m
- Merged PRs (30d)
- 26
Description
i use less client side,
all i want is
document.querySelector("body").style.backgroundColor = less.vars["background-color"];
this is would be so easy
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the client-side Less API and the variable handling behind the requested less.vars access. Define how compiled Less variables should be exposed to JavaScript, then verify that the example can read the background-color value and add coverage for the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100