Skip to content

Commit 1498106

Browse files
committed
add hover to rounded button
1 parent 6fd16f4 commit 1498106

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

assets/sass/base/_mixins.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use "sass:color";
2+
13
@mixin readable-content {
24
display: grid;
35
grid-template-columns:
@@ -20,8 +22,8 @@
2022
background-color: #63338f;
2123

2224
&:hover {
23-
color: #000;
24-
background-color: #fff;
25+
color: #fff;
26+
background-color: color.adjust(#63338f, $lightness: -10%, $space: hsl);
2527
}
2628
}
2729

0 commit comments

Comments
 (0)