frontend: secondary-hover -> hover-bg-secondary

This commit is contained in:
0x1eef 2024-01-13 20:28:32 -03:00
parent 4ea61b2c89
commit f9541c50a7
4 changed files with 4 additions and 8 deletions

View file

@ -1,4 +1,5 @@
ul {
list-style-type: none;
margin: 0;
padding: 0;
}

View file

@ -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;

View file

@ -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}

View file

@ -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 };