mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-12 17:26:17 +00:00
add font Black
This commit is contained in:
@@ -33,6 +33,15 @@ function buildStyle (fontFamily, fontSize, codeBlockFontFamily, lineNumber) {
|
||||
font-weight: normal;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Lato';
|
||||
src: url('${appPath}/resources/fonts/Lato-Black.woff2') format('woff2'), /* Modern Browsers */
|
||||
url('${appPath}/resources/fonts/Lato-Black.woff') format('woff'), /* Modern Browsers */
|
||||
url('${appPath}/resources/fonts/Lato-Black.ttf') format('truetype');
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
${markdownStyle}
|
||||
body {
|
||||
font-family: '${fontFamily.join("','")}';
|
||||
@@ -83,6 +92,7 @@ h2 {
|
||||
|
||||
body p {
|
||||
white-space: normal;
|
||||
color: rgba(0,0,0,.84);
|
||||
}
|
||||
`
|
||||
}
|
||||
|
||||
BIN
resources/fonts/Lato-Black.ttf
Normal file
BIN
resources/fonts/Lato-Black.ttf
Normal file
Binary file not shown.
BIN
resources/fonts/Lato-Black.woff
Normal file
BIN
resources/fonts/Lato-Black.woff
Normal file
Binary file not shown.
BIN
resources/fonts/Lato-Black.woff2
Normal file
BIN
resources/fonts/Lato-Black.woff2
Normal file
Binary file not shown.
Reference in New Issue
Block a user