frontend: secondary-hover -> hover-bg-secondary
This commit is contained in:
parent
4ea61b2c89
commit
f9541c50a7
4 changed files with 4 additions and 8 deletions
|
@ -1,4 +1,5 @@
|
|||
ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
|
|
@ -17,12 +17,7 @@ body {
|
|||
font-weight: normal;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.secondary-hover {
|
||||
.hover-bg-secondary {
|
||||
&:hover {
|
||||
@extend .no-underline;
|
||||
@extend .p-3;
|
||||
|
|
|
@ -32,7 +32,7 @@ export function Group({ groupName, getItems }: Props) {
|
|||
return (
|
||||
<li
|
||||
className={classnames(
|
||||
"flex flex-row p-3 secondary-hover w-full",
|
||||
"flex flex-row p-3 hover-bg-secondary w-full",
|
||||
classes,
|
||||
)}
|
||||
key={key}
|
||||
|
|
|
@ -12,7 +12,7 @@ const ACTIVE_CLASSNAMES = [
|
|||
const INACTIVE_CLASSNAMES = [
|
||||
...BASE_CLASSNAMES,
|
||||
"text-accent",
|
||||
"secondary-hover",
|
||||
"hover-bg-secondary",
|
||||
].join(" ");
|
||||
|
||||
type Item = { text: string; href: string };
|
||||
|
|
Loading…
Reference in a new issue