adobe / adobe/leonardo

Package name & modules

Open
#47 1 comment 0 reactions 0 assignees View on GitHub
enhancement npm packages
Dominant language
JavaScript
Stars
2.1k
Forks
130
PR merge metrics
No merged PRs in 30d

Description

## Description

Evaluate if an umbrella package would be beneficial.

#### Current plan of functions / packages:
**Leonardo-contrast-colors**
- `generateContrastColors`: generate colors by contrast ratio for a single "color"
- `generateAdaptiveTheme`: generate entire color theme (group of colors) by contrast ratio
(future)
**Leonardo-??**
- `generateSequential`:
- generate array of colors appropriate for user-defined interpolations (to be used in charting libraries - only an array is needed)
- generate function of the color (?) where users can specify `n` colors of a palette and have it return generated colors
- `generateDiverging`:
- same as sequential

## Why do you need this feature?

- Need to ensure the package name makes sense
- Need to identify if an umbrella package would be useful (ie `leonardo-colors` incorporating all packages)

## Additional context

Contributor guide

Open the contributing guide

Research direction

Review the proposed generateContrastColors, generateAdaptiveTheme, generateSequential, and generateDiverging entry points and compare the planned package names. Determine whether an umbrella package is useful and settle the package structure and names; completion means the package naming decision and scope are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.