-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat: Theming - Spectrum Provider #1582
feat: Theming - Spectrum Provider #1582
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1582 +/- ##
==========================================
+ Coverage 46.65% 46.72% +0.07%
==========================================
Files 575 581 +6
Lines 36189 36263 +74
Branches 9063 9074 +11
==========================================
+ Hits 16883 16944 +61
- Misses 19254 19267 +13
Partials 52 52
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
- Pinning to 1.37.1 - Firefox pointer fixes
ba94735
to
8537f41
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like the new navigation menu in the style guide!
// 120px. CSS uses this to only show the button when the user has scrolled. | ||
useEffect(() => { | ||
function onScroll() { | ||
document.documentElement.dataset.scroll = String(window.scrollY > 120); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why 120px? Name the constant to give it some more context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's arbitrary. It just "felt" right. I'll name it in next PR
In this PR:
'(any-pointer: fine)'
media queriesresolves #1543