Skip to content

Commit

Permalink
Changed hook number visual style to look more like bades
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Mar 17, 2021
1 parent a457687 commit 4f8665d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
* It should always be imported from "react-devtools-feature-flags".
************************************************************************/

export const enableProfilerChangedHookIndices = false;
export const enableProfilerChangedHookIndices = true;
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@
}

.PrimitiveHookNumber {
color: var(--color-dimmer);
color: var(--color-component-badge-count-inverted);
background-color: var(--color-component-badge-background-inverted);
font-size: var(--font-size-monospace-small);
margin-right: 0.25rem;
border-radius: 0.125rem;
padding: 0.125rem 0.25rem;
}

0 comments on commit 4f8665d

Please sign in to comment.