diff --git a/src/components/button/__snapshots__/button.test.js.snap b/src/components/button/__snapshots__/button.test.js.snap index 60084d1a..0803ead2 100644 --- a/src/components/button/__snapshots__/button.test.js.snap +++ b/src/components/button/__snapshots__/button.test.js.snap @@ -44,7 +44,8 @@ exports[`Borderless Button renders 1`] = ` fill: #00CD51; } -.c0.c0:active { +.c0.c0:active, +.c0.c0[aria-expanded="true"] { border-color: rgba(255,255,255,0.0); background-color: rgba(255,255,255,0.0); color: #00CD51; @@ -104,7 +105,7 @@ exports[`Button states renders loading icon 1`] = ` padding: 4px 12px; transition: all 150ms; background-color: #00AB44; - color: #F6F7F7; + color: #FFFFFF; border-width: 1px; border-style: solid; border-color: #00AB44; @@ -125,18 +126,19 @@ exports[`Button states renders loading icon 1`] = ` .c0.c0:hover { border-color: #42B861; background-color: #42B861; - color: #F6F7F7; + color: #FFFFFF; text-decoration: none; } .c0.c0:hover .button-icon { - fill: #F6F7F7; + fill: #FFFFFF; } -.c0.c0:active { +.c0.c0:active, +.c0.c0[aria-expanded="true"] { border-color: #00CD51; background-color: #00CD51; - color: #F6F7F7; + color: #FFFFFF; box-shadow: inset 0 4px 4px rgba(0,0,0,0.25); } @@ -147,7 +149,7 @@ exports[`Button states renders loading icon 1`] = ` .c0.c0 .button-icon { height: 14px; width: 14px; - fill: #F6F7F7; + fill: #FFFFFF; } .c0.c0 .ntd-spinner { @@ -156,12 +158,12 @@ exports[`Button states renders loading icon 1`] = ` stroke-dasharray: 100; stroke-dashoffset: 100; animation: ntd-draw 1s linear infinite; - stroke: #F6F7F7; + stroke: #FFFFFF; width: 24px; } .c0.c0 .path { - stroke: #F6F7F7; + stroke: #FFFFFF; } .c1 { @@ -255,7 +257,8 @@ exports[`Button states renders only icon 1`] = ` fill: #00AB44; } -.c0.c0:active { +.c0.c0:active, +.c0.c0[aria-expanded="true"] { border-color: #00AB44; background-color: #DDFFEB; color: #00AB44; @@ -376,7 +379,8 @@ exports[`Button states renders smaller only icon 1`] = ` fill: #00AB44; } -.c0.c0:active { +.c0.c0:active, +.c0.c0[aria-expanded="true"] { border-color: #00AB44; background-color: #DDFFEB; color: #00AB44; @@ -468,7 +472,7 @@ exports[`Default Button renders 1`] = ` padding: 4px 12px; transition: all 150ms; background-color: #00AB44; - color: #F6F7F7; + color: #FFFFFF; border-width: 1px; border-style: solid; border-color: #00AB44; @@ -485,18 +489,19 @@ exports[`Default Button renders 1`] = ` .c0.c0:hover { border-color: #42B861; background-color: #42B861; - color: #F6F7F7; + color: #FFFFFF; text-decoration: none; } .c0.c0:hover .button-icon { - fill: #F6F7F7; + fill: #FFFFFF; } -.c0.c0:active { +.c0.c0:active, +.c0.c0[aria-expanded="true"] { border-color: #00CD51; background-color: #00CD51; - color: #F6F7F7; + color: #FFFFFF; box-shadow: inset 0 4px 4px rgba(0,0,0,0.25); } @@ -507,7 +512,7 @@ exports[`Default Button renders 1`] = ` .c0.c0 .button-icon { height: 14px; width: 14px; - fill: #F6F7F7; + fill: #FFFFFF; } .c0.c0 .ntd-spinner { @@ -516,12 +521,12 @@ exports[`Default Button renders 1`] = ` stroke-dasharray: 100; stroke-dashoffset: 100; animation: ntd-draw 1s linear infinite; - stroke: #F6F7F7; + stroke: #FFFFFF; width: 24px; } .c0.c0 .path { - stroke: #F6F7F7; + stroke: #FFFFFF; }