Add Tailwind v4.2 tinted neutral colours to accent and button#2409
Open
joshhanley wants to merge 1 commit intomainfrom
Open
Add Tailwind v4.2 tinted neutral colours to accent and button#2409joshhanley wants to merge 1 commit intomainfrom
joshhanley wants to merge 1 commit intomainfrom
Conversation
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.
The Scenario
Tailwind CSS v4.2 introduced four new tinted neutral colour palettes:
mauve,olive,mist, andtaupe. These sit alongside the existing neutrals (slate,gray,zinc,neutral,stone) as alternative grey scales with subtle colour undertones.The Solution
Added
mauve,olive,mist, andtaupeto the two components that already support the full suite of neutrals (slate,gray,zinc,neutral,stone):accent.blade.phpbutton/index.blade.phpThese use the same neutral pattern as the existing greys.
The following components were excluded because their colour match statements only use
zincas their neutral — they don't supportslate,gray,neutral, orstone, so adding the new tinted neutrals would be inconsistent:badge/index.blade.phpcallout/index.blade.phptext.blade.phpavatar/index.blade.phpnavbar/badge.blade.phpnavlist/badge.blade.phpFixes #2408