Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Global `h1`, `h2` etc styles affect devtools styles

Open
#215 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
css, react, typescript
Domain
devtools, frontend

Research direction

Start by reproducing the issue in TanStack Devtools v0.7.6 with global h1, h2, and h3 styles, focusing on the drawer title and its existing plugin-title-container-tanstack-query-0 class. Done means the devtools headings remain readable on the dark background despite consumer heading styles; the reported template error is also noted for investigation.

Written by the indexing model from the issue text.

Description

TanStack Devtools version

v0.7.6

Framework/Library version

React v18.3.1

Describe the bug and the steps to reproduce it

We have some global styles on heading elements (don't ask... legacy 😅)

Image

This makes the different panels unreadable on the dark background

Image

(screenshot doesn't do it justice for how it looks "live" for some reason, but it illustrates the point).

The h3 already has a class plugin-title-container-tanstack-query-0, so in theory you should be able to set some light color to it?

If I disable our rule, it inherits the color of its parent

Image

But that's less specific then an h3 rule apparently.

Note that beyond the title in the drawer, none of our other global resets seems to affect the devtools 👍


Btw, the template has a small error:

Image
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

N/A

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

None

Terms & Code of Conduct
  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Dominant language
TypeScript
Stars
499
Forks
100
Avg merge
1d 17h
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TanStack/devtools

All issues in TanStack/devtools

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.