Skip to content

Commit e890574

Browse files
committed
align nav accent to secondary button
1 parent 9ce9781 commit e890574

1 file changed

Lines changed: 8 additions & 18 deletions

File tree

packages/ui-components/src/Containers/NavBar/NavItem/index.module.css

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
gap-2
77
rounded-sm
88
px-3
9-
py-2;
9+
py-2
10+
motion-safe:transition-colors;
1011

1112
.label {
1213
@apply text-base
@@ -46,26 +47,15 @@
4647
}
4748

4849
&.accent {
49-
@apply bg-brand-100
50-
ring-brand-600/20
51-
dark:bg-brand-600/15
52-
dark:ring-brand-400/20
50+
@apply bg-transparent
5351
ring-1
54-
ring-inset;
55-
56-
.label {
57-
@apply text-brand-700
58-
dark:text-brand-400;
59-
}
60-
61-
.icon {
62-
@apply text-brand-600
63-
dark:text-brand-400;
64-
}
52+
ring-neutral-200
53+
ring-inset
54+
dark:ring-neutral-900;
6555

6656
&:hover {
67-
@apply bg-brand-200
68-
dark:bg-brand-600/25;
57+
@apply bg-neutral-200
58+
dark:bg-neutral-900;
6959
}
7060
}
7161

0 commit comments

Comments
 (0)