@abreen/tada 1.16.11 → 1.16.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/custom-fonts.ts +1 -1
- package/build/generate-fonts.ts +1 -1
- package/fonts/{libertinus-mono → courier-prime}/LICENSE.txt +1 -7
- package/fonts/courier-prime/woff2/CourierPrime-Bold.woff2 +0 -0
- package/fonts/courier-prime/woff2/CourierPrime-BoldItalic.woff2 +0 -0
- package/fonts/courier-prime/woff2/CourierPrime-Italic.woff2 +0 -0
- package/fonts/courier-prime/woff2/CourierPrime-Regular.woff2 +0 -0
- package/package.json +1 -1
- package/src/style.scss +30 -2
- package/templates/_top.html +1 -1
- package/fonts/libertinus-mono/woff2/LibertinusMono-Regular.woff2 +0 -0
package/build/custom-fonts.ts
CHANGED
|
@@ -218,7 +218,7 @@ export function getSerifMonoFontStack(
|
|
|
218
218
|
const custom = fontOverrides?.serifMono
|
|
219
219
|
? `'${CUSTOM_FONT_FAMILY_DEFINITIONS.serifMono.cssFamily}', `
|
|
220
220
|
: '';
|
|
221
|
-
return `${custom}'
|
|
221
|
+
return `${custom}'Courier Prime', 'Courier New', 'Courier', monospace`;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
function defaultParseFont(contents: Buffer): ParsedFont {
|
package/build/generate-fonts.ts
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
Copyright
|
|
2
|
-
Copyright 2025 The Libertinus Math Project Authors (https://github.com/googlefonts/libertinus)
|
|
3
|
-
Copyright 2025 The Libertinus Mono Project Authors (https://github.com/googlefonts/libertinus)
|
|
4
|
-
Copyright 2025 The Libertinus Sans Project Authors (https://github.com/googlefonts/libertinus)
|
|
5
|
-
Copyright 2025 The Libertinus Serif Project Authors (https://github.com/googlefonts/libertinus)
|
|
6
|
-
Copyright 2025 The Libertinus Serif Display Project Authors (https://github.com/googlefonts/libertinus)
|
|
7
|
-
Copyright 2025 The Libertinus Serif Initials Project Authors (https://github.com/googlefonts/libertinus)
|
|
1
|
+
Copyright 2015 The Courier Prime Project Authors (https://github.com/quoteunquoteapps/CourierPrime).
|
|
8
2
|
|
|
9
3
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
10
4
|
This license is copied below, and is also available with a FAQ at:
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/src/style.scss
CHANGED
|
@@ -58,11 +58,39 @@
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
@font-face {
|
|
61
|
-
font-family: '
|
|
61
|
+
font-family: 'Courier Prime';
|
|
62
62
|
font-style: normal;
|
|
63
63
|
font-weight: 400;
|
|
64
|
-
src: url('
|
|
64
|
+
src: url('courier-prime/CourierPrime-Regular.woff2') format('woff2');
|
|
65
65
|
font-display: swap;
|
|
66
|
+
size-adjust: 106.383%;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@font-face {
|
|
70
|
+
font-family: 'Courier Prime';
|
|
71
|
+
font-style: italic;
|
|
72
|
+
font-weight: 400;
|
|
73
|
+
src: url('courier-prime/CourierPrime-Italic.woff2') format('woff2');
|
|
74
|
+
font-display: swap;
|
|
75
|
+
size-adjust: 106.383%;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@font-face {
|
|
79
|
+
font-family: 'Courier Prime';
|
|
80
|
+
font-style: normal;
|
|
81
|
+
font-weight: 700;
|
|
82
|
+
src: url('courier-prime/CourierPrime-Bold.woff2') format('woff2');
|
|
83
|
+
font-display: swap;
|
|
84
|
+
size-adjust: 106.383%;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@font-face {
|
|
88
|
+
font-family: 'Courier Prime';
|
|
89
|
+
font-style: italic;
|
|
90
|
+
font-weight: 700;
|
|
91
|
+
src: url('courier-prime/CourierPrime-BoldItalic.woff2') format('woff2');
|
|
92
|
+
font-display: swap;
|
|
93
|
+
size-adjust: 106.383%;
|
|
66
94
|
}
|
|
67
95
|
|
|
68
96
|
::selection {
|
package/templates/_top.html
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
sans: ['Inter', 'Google Sans Code'],
|
|
45
45
|
serif: [
|
|
46
46
|
'<%= site.fontOverrides?.serif ? 'Tada Custom Serif' : 'Source Serif 4' %>',
|
|
47
|
-
'<%= site.fontOverrides?.serifMono ? 'Tada Custom Serif Mono' : '
|
|
47
|
+
'<%= site.fontOverrides?.serifMono ? 'Tada Custom Serif Mono' : 'Courier Prime' %>',
|
|
48
48
|
],
|
|
49
49
|
};
|
|
50
50
|
const fontPreferenceLoader = {
|
|
Binary file
|