Skip to content

Fix dead variables-dark import in dormant SCSS mixin tests - #42746

Merged
julien-deramond merged 1 commit into
v6-devfrom
v6-dev-jd-fix-scss-test-imports
Jul 25, 2026
Merged

Fix dead variables-dark import in dormant SCSS mixin tests#42746
julien-deramond merged 1 commit into
v6-devfrom
v6-dev-jd-fix-scss-test-imports

Conversation

@julien-deramond

Copy link
Copy Markdown
Member

Description

Two SCSS test files were importing a Sass partial (variables-dark) that no longer exists in v6 — it was replaced by the new theme system. Because of that, these tests had quietly stopped running instead of failing loudly, so nobody noticed.

Changes:

  • Updated the imports to match the current Sass module structure.
  • Split one of the test files in two, since it needed to test two different configuration modes that can't both live in a single file with how Sass modules work now.
  • Fixed a color-mixing call that needed an extra argument due to the newer color format we use.
  • Re-enabled these tests so they actually run again.

Note: Fixing one of the files uncovered a separate, pre-existing bug in an unrelated color-contrast helper function, which doesn't appear to be used anywhere else in the codebase. That's left untouched here and called out as a follow-up.

@github-project-automation github-project-automation Bot moved this to Inbox in v6.0.0 Jul 25, 2026
@julien-deramond
julien-deramond marked this pull request as ready for review July 25, 2026 17:43
@julien-deramond
julien-deramond requested a review from a team as a code owner July 25, 2026 17:43
@julien-deramond
julien-deramond merged commit 4a79ef7 into v6-dev Jul 25, 2026
12 checks passed
@julien-deramond
julien-deramond deleted the v6-dev-jd-fix-scss-test-imports branch July 25, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

1 participant