@@ -76,8 +76,13 @@ exports[`Button renders consistently 1`] = `
7676}
7777
7878.c0:active:not([disabled]) {
79- background - color : hsla (220 ,14 % ,94 % ,1 );
80- box - shadow : inset 0 0.15em 0.3em rgba (27 ,31 ,36 ,0.15 );
79+ background - color : hsla (220 ,14 % ,93 % ,1 );
80+ border - color : rgba (27 ,31 ,36 ,0.15 );
81+ }
82+
83+ .c0[aria-expanded=true] {
84+ background - color : hsla (220 ,14 % ,93 % ,1 );
85+ border - color : rgba (27 ,31 ,36 ,0.15 );
8186}
8287
8388<button
@@ -182,6 +187,13 @@ exports[`Button styles danger button appropriately 1`] = `
182187 border - color : btn .danger .selectedBorder ;
183188}
184189
190+ .c0[aria-expanded=true] {
191+ color : btn .danger .selectedText ;
192+ background - color : btn .danger .selectedBg ;
193+ box - shadow : undefined ;
194+ border - color : btn .danger .selectedBorder ;
195+ }
196+
185197<button
186198 class = " c0"
187199>
@@ -270,6 +282,10 @@ exports[`Button styles invisible button appropriately 1`] = `
270282 background - color : btn .selectedBg ;
271283}
272284
285+ .c0[aria-expanded=true] {
286+ background - color : btn .selectedBg ;
287+ }
288+
273289<button
274290 class = " c0"
275291>
@@ -377,6 +393,13 @@ exports[`Button styles outline button appropriately 1`] = `
377393 border - color : btn .outline .selectedBorder ;
378394}
379395
396+ .c0[aria-expanded=true] {
397+ color : btn .outline .selectedText ;
398+ background - color : btn .outline .selectedBg ;
399+ box - shadow : undefined ;
400+ border - color : btn .outline .selectedBorder ;
401+ }
402+
380403<button
381404 class = " c0"
382405>
@@ -471,6 +494,11 @@ exports[`Button styles primary button appropriately 1`] = `
471494 box - shadow : undefined ;
472495}
473496
497+ .c0[aria-expanded=true] {
498+ background - color : btn .primary .selectedBg ;
499+ box - shadow : undefined ;
500+ }
501+
474502<button
475503 class = " c0"
476504>
0 commit comments