Skip to content

Commit 67a5af8

Browse files
updated button gradient style
1 parent 1536bca commit 67a5af8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Elements/Button/Button.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@
6363
&.#{class('button', 'gradient')} {
6464
@include set-gradient(theme('color', 'background'));
6565
&:hover {
66-
@include set-gradient(theme('color', 'background'), to bottom, 25%);
66+
@include set-gradient(theme('color', 'background'), to bottom, 23%);
6767
}
6868
&:active,
6969
&:focus {
7070
background: theme('color', 'background');
71-
@include set-gradient(theme('color', 'background'), to bottom, 34%);
71+
@include set-gradient(theme('color', 'background'), to bottom, 26%);
7272
}
7373
}
7474
}

src/Elements/Button/mixins.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,12 @@
314314
background: $bg-color;
315315
@include set-gradient($bg-color, to top);
316316
&:hover {
317-
@include set-gradient($bg-color, to bottom, 25%);
317+
@include set-gradient($bg-color, to bottom, 23%);
318318
}
319319
&:active,
320320
&:focus {
321321
background: $bg-color;
322-
@include set-gradient($bg-color, to bottom, 34%);
322+
@include set-gradient($bg-color, to bottom, 26%);
323323
}
324324
}
325325
}

0 commit comments

Comments
 (0)