Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fallback font for masked-input #12152

Merged
merged 2 commits into from Jul 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.