Skip to content

Commit 9296dce

Browse files
authored
Tertiary button style updates (#1295)
Update styling on tertiary button to match new design.
1 parent f9ed7ac commit 9296dce

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

scss/buttons.scss

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,14 @@ $primary: $ux-emerald-600;
187187
@mixin btn-tertiary {
188188
$btn-tertiary-background: transparent;
189189
$btn-tertiary-border: transparent;
190-
$btn-tertiary-color: $synth-primary-cta-blue;
190+
$btn-tertiary-color: #000000;
191191

192-
$btn-tertiary-hover-background: $btn-tertiary-background;
192+
$btn-tertiary-hover-background: #F4F4F4;
193193
$btn-tertiary-hover-border: $btn-tertiary-border;
194194
$btn-tertiary-hover-color: $btn-tertiary-color;
195195

196-
$btn-tertiary-active-background: $btn-tertiary-background;
197-
$btn-tertiary-active-border: $synth-hyperlink-color;
196+
$btn-tertiary-active-background: #DEDEDE;
197+
$btn-tertiary-active-border: #DEDEDE;
198198
$btn-tertiary-active-color: $btn-tertiary-hover-color;
199199

200200
$btn-tertiary-disabled-background: $btn-tertiary-background;
@@ -221,9 +221,16 @@ $primary: $ux-emerald-600;
221221

222222
border-width: 2px;
223223

224-
&:active, &.btn-tertiary:focus {
225-
box-shadow: none;
226-
border-color: var(--synth-hyperlink-color);
224+
&:active, &:focus {
225+
@include btn-remove-bootstrap-focus-outline;
226+
}
227+
228+
&:focus-visible {
229+
@include btn-focus-outline;
230+
}
231+
232+
&:focus:not(:active):not(:hover) {
233+
background-color: transparent;
227234
}
228235
}
229236

0 commit comments

Comments
 (0)