adobe / adobe/leonardo

Lightness values not preserved when reopening URL

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

Description

## Description

When setting lightness values according to the [Universal Color Palette](https://uxdesign.cc/the-universal-color-palette-9826deb94f7) (e.g., 97.5, 95, 90, 85, 80, etc.), these values are not preserved when reloading the generated URL. After reopening the link, the lightness values seem to reset or change, and no longer match the original configuration.

## Steps to reproduce

1. Go to http://leonardocolor.io/
2. Set the lightness values to: 97.5, 95, 90, 85, 80, etc. (following the Universal Color Palette standard)
3. Copy the generated URL.
4. Open the copied URL in a new browser tab or window.
5. Observe that the lightness values are not the same as originally configured.

## Expected behavior

The lightness values should remain unchanged and accurately reflect the original settings from the saved URL.

## Environment

- **Browser(s) and OS(s):** Arc Version 1.91.2 (62278) - Chromium Engine Version 135.0.7049.116 and 138.0.1 (aarch64) on macOS 15.4.1

## Additional context

This issue affects users who need to maintain strict adherence to the Universal Color Palette for accessibility or brand compliance. It appears that the lightness values are not fully preserved in the URL encoding.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue at leonardocolor.io using lightness values such as 97.5, 95, 90, 85, and 80, then inspect the generated URL's serialization and the reload path that reads it. Done means reopening the copied URL preserves every configured lightness value exactly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
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.