Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
• 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.