Skip to content

Commit 241bc8c

Browse files
committed
fix(button): set proper btn-link colors (dark-theme)
1 parent f44bd65 commit 241bc8c

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

scss/themes/dark.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $theme-prefix: "dark" !default;
2323

2424
@include theme($theme-map);
2525

26-
// Button variants
26+
// Alert variants
2727
@each $state, $variant in $alert-variants-dt {
2828
@include alert-variant($state, $variant, true);
2929
}

scss/themes/dark/_variables.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,17 @@ $link-theme-map: (
457457
"link-hover-color": $link-hover-color-dt
458458
) !default;
459459

460+
// Btn link
461+
462+
$btn-link-color-dt: $link-color-dt !default;
463+
$btn-link-hover-color-dt: $link-hover-color-dt !default;
464+
$btn-link-disabled-color-dt: $disabled-dt !default;
465+
466+
$btn-link-theme-map: (
467+
"btn-link-color": $btn-link-color-dt,
468+
"btn-link-hover-color": $btn-link-hover-color-dt,
469+
"btn-link-disabled-color": $btn-link-disabled-color-dt
470+
) !default;
460471

461472
// List group
462473

@@ -765,6 +776,7 @@ $theme-map: (
765776
"accordion": $accordion-theme-map,
766777
"breadcrumb": $breadcrumb-theme-map,
767778
"btn-close": $close-theme-map,
779+
"btn-link": $btn-link-theme-map,
768780
"card": $card-theme-map,
769781
"dropdown-menu": $dropdown-theme-map,
770782
"footer": $footer-theme-map,

0 commit comments

Comments
 (0)