Skip to content

Commit 43cfab4

Browse files
authored
Add fallback font for masked-input (#12152) (#12158)
* add fallback font for higher unicode coverage * remove extra mixin and fix color issue that was not working on binary
1 parent ca2ad70 commit 43cfab4

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

ui/app/styles/app.scss

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
}
1111

1212
@include font-face('obscure');
13+
// Font comes from npm package: https://www.npmjs.com/package/text-security
14+
// We took the font we wanted and moved it into the ui/fonts folder
15+
@include font-face('text-security-square');

ui/app/styles/core/forms.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ label {
1212
}
1313

1414
.masked-font {
15-
font-family: obscure;
15+
font-family: obscure, text-security-square;
1616
font-size: $size-medium;
1717
letter-spacing: 2px;
18-
color: $ui-gray-300;
1918
}
2019

2120
.label {
760 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)