Skip to content

Commit

Permalink
Add fallback font for masked-input (#12152) (#12158)
Browse files Browse the repository at this point in the history
* add fallback font for higher unicode coverage

* remove extra mixin and fix color issue that was not working on binary
  • Loading branch information
Monkeychip committed Jul 23, 2021
1 parent ca2ad70 commit 43cfab4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ui/app/styles/app.scss
Expand Up @@ -10,3 +10,6 @@
}

@include font-face('obscure');
// Font comes from npm package: https://www.npmjs.com/package/text-security
// We took the font we wanted and moved it into the ui/fonts folder
@include font-face('text-security-square');
3 changes: 1 addition & 2 deletions ui/app/styles/core/forms.scss
Expand Up @@ -12,10 +12,9 @@ label {
}

.masked-font {
font-family: obscure;
font-family: obscure, text-security-square;
font-size: $size-medium;
letter-spacing: 2px;
color: $ui-gray-300;
}

.label {
Expand Down
Binary file added ui/public/fonts/text-security-square.woff2
Binary file not shown.

0 comments on commit 43cfab4

Please sign in to comment.