Skip to content

Conversation

@fehmer
Copy link
Member

@fehmer fehmer commented Jan 21, 2026

Replace useTailwindBreakpoints hook with a breakpoint signal.

  • Example bp().lg to detect a large screen
  • create media queries based on the css variables for breakpoints
  • use change event listeners on the media queries to update the signal, debounced
  • rename 2xl to xxl so it can be used without array access bp()["2xl"]

@monkeytypegeorge monkeytypegeorge added the frontend User interface or web stuff label Jan 21, 2026
@fehmer fehmer force-pushed the feature/solid-mediaqueries branch from a070abc to 4fa8fa9 Compare January 21, 2026 00:33
@fehmer fehmer marked this pull request as draft January 21, 2026 00:33
@fehmer fehmer marked this pull request as ready for review January 21, 2026 01:11
@github-actions github-actions bot added the waiting for review Pull requests that require a review before continuing label Jan 21, 2026
@Miodec Miodec merged commit 22d0282 into master Jan 21, 2026
23 checks passed
@Miodec Miodec deleted the feature/solid-mediaqueries branch January 21, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend User interface or web stuff waiting for review Pull requests that require a review before continuing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants