Skip to content

Conversation

@yalozhkin
Copy link
Member

• Introduces a BetaMenu component with palette range step presets, enabling quick switching between different level step configurations.
• Adds utilities for applying, previewing, and distributing contrast and chroma values across levels.
• Implements new store actions and UI controls to support these features.
• Refactors the chroma cap copying process for better usability.
• Allows hex-to-hue paste functionality in hue headers.
• Updates schemas, types, and color calculation logic to integrate the new features.

Introduces a BetaMenu component with palette range step presets, allowing users to quickly switch between different level step configurations. Adds utilities for applying, previewing, and distributing contrast and chroma values across levels, including new store actions and UI controls. Refactors chroma cap copying, enables hex-to-hue paste in hue headers, and updates related schemas, types, and color calculation logic to support these features.
Introduce a custom calculateSubtleColor function to generate subtle color variations for contrast values below 8, addressing the limitation where the apcach library returns a single color (white) for very low contrast. Update calculateApcach to use this new function for low contrast scenarios.
Introduces a 'locked' property to level data, allowing users to prevent automatic changes to contrast values (e.g., during 'distribute evenly'). Updates UI to display a lock button for each level, modifies export/import schemas for backward compatibility, and adjusts logic in settings and stores to respect locked levels during contrast distribution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant