Skip to content

feat: add isThemeActive helper#222

Merged
mxschll merged 2 commits into
mainfrom
dev-v3-onetheme
Jun 3, 2026
Merged

feat: add isThemeActive helper#222
mxschll merged 2 commits into
mainfrom
dev-v3-onetheme

Conversation

@mxschll
Copy link
Copy Markdown
Member

@mxschll mxschll commented May 28, 2026

Issue #, if available: aQokArCTx9ab

Description of changes:

Adds isThemeActive helper that checks both class presence on the document body and window-level feature flags, with class presence taking precedence (like it's being done with isVisualRefresh).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@mxschll mxschll requested a review from YueyingLu May 28, 2026 14:58
@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.00%. Comparing base (3ff2844) to head (adc8b41).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #222   +/-   ##
=======================================
  Coverage   98.99%   99.00%           
=======================================
  Files          44       44           
  Lines        1293     1304   +11     
  Branches      337      338    +1     
=======================================
+ Hits         1280     1291   +11     
  Misses         13       13           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mxschll mxschll marked this pull request as ready for review May 28, 2026 15:00
@mxschll mxschll requested a review from a team as a code owner May 28, 2026 15:00
@mxschll mxschll removed the request for review from a team May 28, 2026 15:00
@mxschll mxschll enabled auto-merge June 2, 2026 15:54
@mxschll mxschll added this pull request to the merge queue Jun 2, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 2, 2026
@mxschll mxschll added this pull request to the merge queue Jun 3, 2026
Merged via the queue into main with commit 03551fe Jun 3, 2026
44 checks passed
@mxschll mxschll deleted the dev-v3-onetheme branch June 3, 2026 06:50
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.

2 participants