Commit fb3b9ea
authored
fix[react-devtools] component badge in light mode is now not invisible (#29852)
In light mode, component badges in profiler were invisible due to using
the alpha channel to produce the grayish color. Instead I'm using the
equivalent RGB without that alpha.
**before**
In light mode, component badges in profiler were invisible (forwardRef
badge in this case):

**after**
Profiler tooltip fix. also notice there's no regression on the right
menu:

also works in dark mode:

Still visible in components in light mode, whether selected or not:

components dark mode:
1 parent c015abd commit fb3b9ea
File tree
1 file changed
+1
-1
lines changed1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments