Skip to content

feat: block non-semantic, neutral text classes - #8709

Open
briangregoryholmes wants to merge 7 commits into
mainfrom
bgh/block-disallowed-text-classes
Open

feat: block non-semantic, neutral text classes#8709
briangregoryholmes wants to merge 7 commits into
mainfrom
bgh/block-disallowed-text-classes

Conversation

@briangregoryholmes

@briangregoryholmes briangregoryholmes commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds a custom eslint rule that checks for usage of neutral, zinc, slate, stone and gray Tailwind colors in text- prefixed utility classes. It also adds these potential classes to the Tailwind config blocklist so that they aren't generated to begin with.

Screenshot 2026-01-27 at 3 01 16 PM

To comply with the new rule, this PR also removes any remaining classes that followed this pattern.

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@briangregoryholmes briangregoryholmes changed the title feat: block disallowed text classes feat: block non-semantic, neutral text classes Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Size:M Medium change: 100-499 lines tech debt Type:Improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants