Allow Color Palette to be set via data attribute
Open
- Dominant language
- JavaScript
- Stars
- 259
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
As we have default color with data attribute, I think it would be more streamline to have data-color-palette with comma separated hex colors than reconfiguring options via JS.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating how the existing default color data attribute is read and where palette options are configured in JavaScript. Implement support for a data-color-palette attribute containing comma-separated hex colors, and verify that it sets the picker palette without JavaScript reconfiguration.
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
- 38/100