Skip to content

Commit 78321b9

Browse files
committed
Linting
1 parent 5dc3f65 commit 78321b9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tbx/static_src/sass/components/_button-link.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
.button-link {
44
@include font-size('size-six');
5+
@include high-contrast-text-decoration();
56
font-weight: $weight--semibold;
67
display: inline-block;
78
padding: $spacer-mini-plus $spacer-small;
@@ -11,8 +12,6 @@
1112
transition: background-color $transition-quick;
1213
// TODO: add default bg color for themed pages var(--color--accent) once color themes BE is ready
1314

14-
@include high-contrast-text-decoration();
15-
1615
@include reduced-motion() {
1716
transition: none;
1817
}

tbx/static_src/sass/config/_mixins.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@
366366
*/
367367
@mixin button-styles() {
368368
@include font-size('size-six');
369+
@include high-contrast-text-decoration();
369370
display: inline-block;
370371
text-align: center;
371372
border: 1px solid var(--color--link);
@@ -384,8 +385,6 @@
384385
&:focus {
385386
@include focus-style();
386387
}
387-
388-
@include high-contrast-text-decoration();
389388
}
390389

391390
@mixin high-contrast-text-decoration() {

0 commit comments

Comments
 (0)