Use Tailwind color variables instead of OKLCH values #117
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.
Summary
This pull request updates
app.cssto use Tailwind color variables instead of OKLCH values.Benefits
Improve readability
It is easier for developers to understand what
var(--color-red-500)is going to look like than it isoklch(0.637 0.237 25.331).Allow for easier customization
For example, if a developer wants to update the shade of gray their application uses, they can now perform a find and replace for
neutraltoslate,stone, or a shade of their choice.This could potentially allow future extraction of something like a
gray-shadevariable, allowing developers to update the shade of gray used throughout their application by changing a single value.If you are interested in these changes, I am happy to open a similar pull request in the Vue starter kit repository too.