adobe / adobe/leonardo

Add interactivity for color scale sliders

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
enhancement UI
Dominant language
JavaScript
Stars
2.1k
Forks
130
PR merge metrics
No merged PRs in 30d

Description

For each ratio swatch input, needs to integrate with slider.

- When focused, slider must become visible
- Slider must be interactive when visible
- Slider should use previous method of input, where slider represents value of current domain of gradient. This domain value passed from colorArray, calculated ratio returned as input value

This will enable users to move a slider as an alternative to entering numbers into the contrast ratio swatches.

Contributor guide

Open the contributing guide

Research direction

Start by locating the ratio swatch inputs and the existing slider or colorArray handling described in the issue. Verify that focusing a swatch reveals an interactive slider, that the slider represents the current gradient domain value, and that moving it updates the contrast ratio input.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.