Style lint warnings suppressed for design tokens
A pair of Vue components gain stylelint suppressions so developers can commit without bypassing hooks. The CSS variable `--text-color--subtler` is a legitimate design system token, but the linter flags its naming convention.
Developers working in the AI features area of the editor UI were being blocked from committing code because the style linter threw warnings about the CSS variable --text-color--subtler. The variable follows an established design system naming convention, but the linter rules don't account for it. Rather than rename a token that belongs to the design system, the warning is now suppressed at the two locations using it. Commits can proceed without the --no-verify bypass, keeping the pre-commit workflow intact.
View Original GitHub Description
Summary
Our style linter doesn't like --text-color--subtler, but it's a token in our design system currently anyways 🤔
Suppress the error from those lints for now, as it runs on commit hook and blocks commits without --no-verify.
Related Linear tickets, Github issues, and Community forum posts
<!-- Include links to **Linear ticket** or Github issue or Community forum post. Important in order to close *automatically* and provide context to reviewers. https://linear.app/n8n/issue/[TICKET-ID] --> <!-- Use "closes #<issue-number>", "fixes #<issue-number>", or "resolves #<issue-number>" to automatically close issues when the PR is merged. -->Review / Merge checklist
- I have seen this code, I have run this code, and I take responsibility for this code.
- PR title and summary are descriptive. (conventions) <!-- **Remember, the title automatically goes into the changelog. Use `(no-changelog)` otherwise.** -->
- Docs updated or follow-up ticket created.
- Tests included. <!-- A bug is not considered fixed, unless a test is added to prevent it from happening again. A feature is not complete without tests. -->
- PR Labeled with
Backport to Beta,Backport to Stable, orBackport to v1(if the PR is an urgent fix that needs to be backported)