mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
Add fallback font for masked-input (#12152)
* add fallback font for higher unicode coverage * remove extra mixin and fix color issue that was not working on binary
This commit is contained in:
@@ -10,3 +10,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@include font-face('obscure');
|
@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');
|
||||||
|
|||||||
@@ -12,10 +12,9 @@ label {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.masked-font {
|
.masked-font {
|
||||||
font-family: obscure;
|
font-family: obscure, text-security-square;
|
||||||
font-size: $size-medium;
|
font-size: $size-medium;
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
color: $ui-gray-300;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
|
|||||||
BIN
ui/public/fonts/text-security-square.woff2
Normal file
BIN
ui/public/fonts/text-security-square.woff2
Normal file
Binary file not shown.
Reference in New Issue
Block a user