Skip to content

Commit 665c6e4

Browse files
authored
fix(button): active disabled state visualization #440 (#443)
1 parent 599c359 commit 665c6e4

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

source/_patterns/01-elements/buttons/button.scss

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
// TODO: This could probably get simplified later on e.g. via CSS variables
5757
background-color: $button-brand-primary-hover-backgroundColor;
5858
}
59-
}
6059

61-
&:active {
62-
background-color: #cc0013; // TODO: replace by correct color variable
60+
&:active {
61+
background-color: #cc0013; // TODO: replace by correct color variable
62+
}
6363
}
6464
}
6565

@@ -75,10 +75,10 @@
7575
// TODO: This could probably get simplified later on e.g. via CSS variables
7676
background-color: $button-primary-hover-backgroundColor;
7777
}
78-
}
7978

80-
&:active {
81-
background-color: #363c4a;
79+
&:active {
80+
background-color: #363c4a;
81+
}
8282
}
8383
}
8484

@@ -99,10 +99,10 @@
9999
// TODO: This could probably get simplified later on e.g. via CSS variables
100100
background-color: $button-secondaryOutline-hover-backgroundColor;
101101
}
102-
}
103102

104-
&:active {
105-
background-color: $button-secondaryOutline-active-backgroundColor;
103+
&:active {
104+
background-color: $button-secondaryOutline-active-backgroundColor;
105+
}
106106
}
107107
}
108108

@@ -122,10 +122,10 @@
122122
// TODO: This could probably get simplified later on e.g. via CSS variables
123123
background-color: $button-secondarySolid-hover-backgroundColor;
124124
}
125-
}
126125

127-
&:active {
128-
background-color: $button-secondarySolid-active-backgroundColor;
126+
&:active {
127+
background-color: $button-secondarySolid-active-backgroundColor;
128+
}
129129
}
130130
}
131131

@@ -143,10 +143,10 @@
143143
// TODO: This could probably get simplified later on e.g. via CSS variables
144144
background-color: $button-secondaryOutline-hover-backgroundColor;
145145
}
146-
}
147146

148-
&:active {
149-
background-color: $button-secondaryOutline-active-backgroundColor;
147+
&:active {
148+
background-color: $button-secondaryOutline-active-backgroundColor;
149+
}
150150
}
151151
}
152152

0 commit comments

Comments
 (0)