max / makeover-build
- Co-Authored-By
- Claude Opus 5 (1M context) <noreply@anthropic.com>
1 file changed,
+9 insertions,
-1 deletion
| @@ -54,6 +54,14 @@ | |||
| 54 | 54 | /// three. Nothing here wraps it; the emitter's options are the emitter's. | |
| 55 | 55 | pub use makeover_webview::Emit; | |
| 56 | 56 | ||
| 57 | + | /// The filenames [`typography_css`]'s `@font-face` rules fetch. | |
| 58 | + | /// | |
| 59 | + | /// Re-exported for the same reason as [`Emit`], and load-bearing for a further | |
| 60 | + | /// one: the consumer's own build script writes those two files, so the emitter | |
| 61 | + | /// and the writer have to agree on the name. Through this they agree on a | |
| 62 | + | /// constant rather than on a string typed in two repositories. | |
| 63 | + | pub use makeover::{WEBFONT_MONO_FILE, WEBFONT_SANS_FILE}; | |
| 64 | + | ||
| 57 | 65 | /// Write the themes `makeover` ships into `dir`, as `<id>.toml`. | |
| 58 | 66 | /// | |
| 59 | 67 | /// Clears stale `.toml` files first, so a theme removed or renamed upstream | |
| @@ -161,7 +169,7 @@ | |||
| 161 | 169 | "/* Generated by makeover-build from makeover. Do not edit.\n \ | |
| 162 | 170 | Two needs, two names, then a system generic. The faces are cut by\n \ | |
| 163 | 171 | quasi-type from Atkinson Hyperlegible plus the house glyph set, and\n \ | |
| 164 | - | both are variable over wght 200-800 in one file — which is why the\n \ | |
| 172 | + | both are variable over wght 200-800 in one file, which is why the\n \ | |
| 165 | 173 | @font-face rules name the range. The mono face opens at ExtraLight. */\n\n", | |
| 166 | 174 | ); | |
| 167 | 175 | css.push_str(&makeover::font_face_css(font_url)); |