Skip to content

Commit 9e4e8df

Browse files
committed
TMS-1164: Button hover color fixes
1 parent 24ea645 commit 9e4e8df

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

CHANGELOG.MD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
- TMS-1164: Button hover color fixes
11+
1012
## [1.71.0] - 2026-02-03
1113

1214
- TMS-1164: Change button hover & focus styles

assets/styles/themes/_theme-paahde-overrides.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
&:hover,
4646
&:focus {
4747
color: $primary-invert !important;
48-
background-color: $primary !important;
4948
}
5049
}
5150

assets/styles/themes/theme-mustavalkoinen-overrides.scss

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,17 @@
7676
}
7777

7878
.button {
79-
background-color: $black !important;
80-
color: $white !important;
81-
border-color: $black !important;
79+
&,
80+
&:hover,
81+
&:focus,
82+
&:active {
83+
background-color: $black !important;
84+
color: $white !important;
85+
border-color: $black !important;
8286

83-
.icon {
84-
fill: $white !important;
87+
.icon {
88+
fill: $white !important;
89+
}
8590
}
8691
}
8792
}

assets/styles/ui-components/_pill.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ $pill-hover-shadow-color: rgba(0, 0, 0, .15) !default;
102102
&.is-active {
103103
color: $pill-color-active;
104104
background-color: $pill-background-active;
105-
106-
&:hover {
107-
color: $pill-color-active;
108-
}
109105
}
110106

111107
&.is-outlined {

0 commit comments

Comments
 (0)