Skip to content

Commit 8bd1bde

Browse files
committed
Replaced transition with mexin transition
1 parent 4d2b77a commit 8bd1bde

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

components/buttons/ButtonLink/ButtonLink.module.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use '@/styles/mixins' as *;
2+
13
.buttonLink {
24
padding: 0.5rem 2rem;
35
color: var(--color-white);
@@ -11,7 +13,7 @@
1113
display: inline-block;
1214
border: 1px solid var(--color-primary-content);
1315
text-decoration: none;
14-
transition: all 0.3s ease;
16+
@include transition(all 0.3s ease);
1517

1618
&:hover {
1719
text-decoration: none;

components/buttons/SubmitButton/SubmitButton.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
text-align: center;
1313
display: block;
1414
border: 1px solid var(--color-primary-content);
15-
transition: all 0.3s ease;
15+
@include transition(all 0.3s ease);
1616

1717
&:hover {
1818
color: var(--color-primary-content);

0 commit comments

Comments
 (0)