Skip to content

Commit 5ccf2b2

Browse files
committed
Dashed focus outline on buttons (#360)
1 parent 31f5982 commit 5ccf2b2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

sitemedia/semantic/src/site/elements/button.overrides

+5
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,9 @@
4141
color: @disabledTextColor;
4242
border-color: @disabledTextColor;
4343
}
44+
45+
&.focus,
46+
&:focus {
47+
outline: @focusOutline;
48+
}
4449
}

sitemedia/semantic/src/site/elements/button.variables

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
/* Focused */
3333
@focusBackgroundColor: @primaryColor;
3434
@focusColor: @invertedTextColor;
35+
@focusOutline: 2px dashed black;
3536

3637
/* Pressed Down */
3738
@downBackgroundColor: @primaryColor;

0 commit comments

Comments
 (0)