Eliminate nameToHex dictionary lookup by using CSS instead
Open
- Dominant language
- JavaScript
- Stars
- 20
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
It looks like setting a color by name to some DOM element and retrieving it returns it in a sensible format (rgb(255,255,255) in Chrome). I need to check how that performs cross-browser. Overall this seems like a good idea, though.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the nameToHex dictionary and inspect how named colors are currently converted. Research whether assigning a named color to a DOM element and reading its computed value is consistent across the supported browsers; done means the lookup can be removed without changing color results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100