Skip to content

Commit 0ad2306

Browse files
committed
Add hover state
1 parent bc1f1c2 commit 0ad2306

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

app/assets/stylesheets/partials/_search.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
text-decoration: underline;
1010
text-decoration-color: $color-red-500;
1111
text-underline-offset: 0.5rem;
12+
13+
&:hover {
14+
color: $color-red-400;
15+
}
1216
}
1317

1418
/* New USE UI search styles */
@@ -237,6 +241,7 @@
237241
&:hover {
238242
border-color: $color-gray-700;
239243
background-color: $color-gray-900;
244+
color: $color-text-oncolor;
240245
}
241246

242247
&.active {

app/assets/stylesheets/partials/_variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ $color-gray-950: #1a1a1a;
1616
$color-gray-975: #191919;
1717

1818
// RED
19+
$color-red-300: #FF6666;
20+
$color-red-400: #FF3333;
1921
$color-red-500: #ff0000;
2022
$color-red-600: #e50000;
2123

0 commit comments

Comments
 (0)