Skip to content

Commit b36faba

Browse files
💄 Add hover color for home button
1 parent 7f73ad7 commit b36faba

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

src/styles/services.scss

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
padding: 1.15rem 0;
3535
border-radius: 0.2rem;
3636
text-align: center;
37+
transition: 0.2s;
3738
}
3839
svg {
3940
display: block;

src/themes/dark.scss

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ $effectsLabelColor: inherit;
4444

4545
$HomeNavItemBackground: $colorLightGray;
4646
$HomeNavItemForeground: $colorWhite;
47+
$HomeNavItemHoverBackground: $colorDarkGray;
48+
$HomeNavItemHoverForeground: $colorWhite;
4749

4850
$loaderColor: #333;
4951
$dropAreaBorder: 3px dashed rgba(255, 255, 255, 0.1);

src/themes/light.scss

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ $effectsLabelColor: inherit;
4444

4545
$HomeNavItemBackground: $colorLightGray;
4646
$HomeNavItemForeground: inherit;
47+
$HomeNavItemHoverBackground: $colorDarkGray;
48+
$HomeNavItemHoverForeground: inherit;
4749

4850
$loaderColor: #333;
4951
$dropAreaBorder: 3px dashed rgba(0, 0, 0, 0.1);

src/themes/theme.scss

+4
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@
9191
.uppload-services button {
9292
background-color: $HomeNavItemBackground;
9393
color: $HomeNavItemForeground;
94+
&:hover {
95+
background-color: $HomeNavItemHoverBackground;
96+
color: $HomeNavItemHoverForeground;
97+
}
9498
}
9599
}
96100

0 commit comments

Comments
 (0)