Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alphabetize theme keys in default config #9953

Merged
merged 2 commits into from Nov 30, 2022
Merged

Alphabetize theme keys in default config #9953

merged 2 commits into from Nov 30, 2022

Conversation

chuntington
Copy link
Contributor

@chuntington chuntington commented Nov 28, 2022

This corrects the alphabetical position of several properties. (https://tailwindcss.com/docs/theme#configuration-reference)

Here is a full list of properties that were moved around:

  • accentColor
  • brightness
  • caretColor
  • columns
  • contrast
  • grayscale
  • gridRowEnd/Start
  • hueRotate
  • invert
  • supports
  • textIndent/Opacity

@reinink reinink merged commit 293ee90 into tailwindlabs:master Nov 30, 2022
@reinink
Copy link
Member

reinink commented Nov 30, 2022

Hey thanks for this! Decided to go a step further and just alphabetize all the theme keys, including the screens, colors and spacing. Keeps things nice and simple, and in reality the order doesn't actually matter all that much.

@reinink reinink changed the title Alphabetize several theme properties Alphabetize theme keys in default config Nov 30, 2022
@reinink reinink self-assigned this Nov 30, 2022
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.

None yet

2 participants