LeaVerou / LeaVerou/incrementable
Increments with opacity is not working optimally
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 85
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
I think that the code would be improved if you were able to change the value of the opacity for colors in increments of 0.01 instead of changing it by values of 1, like for the other values. This is because opacity only has a range of 0 to 1, and would mean that decreasing opacity with the down button would only work if opacity was set to 1, and vice versa.
Contributor guide
No contributing guide indexed for this repository
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 locating the opacity increment and decrement handling for color values in the textfield behavior. Verify how the existing controls change other values, then confirm that opacity changes in 0.01 steps across its 0–1 range and behaves correctly at both bounds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100