Skip to content

Change color lightness when building palettes #81

@tcp

Description

@tcp

Description
We need to modify the color builder to fix how lightning is calculated. It should take into account the base color and operate on that lightning setting instead of using fixed values.

Two colors are broken today -- lime and violet -- and we should use them to test out the fixed implementation.

Tests and corrections

  • Lime 500 → (HSL 120, 54, 43)
  • Lime 50 → (HSL 120, 54, 93)
  • Lime 900 → (HSL 120, 54, 03)
  • Lime All all the in between values will need to adjust to the ones above
  • Violet 500 → (HSL 280, 64, 43)
  • Violet 50 → (HSL 280, 64, 93)
  • Violet 900 → (HSL 280, 64, 03)
  • Violet All all the in between values will need to be adjusted based on the ones above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions