Skip to content

Commit 826a5da

Browse files
author
Brian Vaughn
committed
Changed hook number visual style to look more like bades
1 parent 67f6460 commit 826a5da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/react-devtools-shared/src/devtools/views/Components/InspectedElementHooksTree.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@
7171
}
7272

7373
.PrimitiveHookNumber {
74-
color: var(--color-dimmer);
74+
color: var(--color-component-badge-count-inverted);
75+
background-color: var(--color-component-badge-background-inverted);
7576
font-size: var(--font-size-monospace-small);
7677
margin-right: 0.25rem;
78+
border-radius: 0.125rem;
79+
padding: 0.125rem 0.25rem;
7780
}

0 commit comments

Comments
 (0)