AI media harness for planning, generating, and editing locally
TypeScript
Self-host Manrope and DM Mono
Bittia97f6d11eb51
diff --git a/public/fonts/dmmono-01.woff2 b/public/fonts/dmmono-01.woff2new file mode 100644index 0000000..9785e91Binary files /dev/null and b/public/fonts/dmmono-01.woff2 differdiff --git a/public/fonts/dmmono-02.woff2 b/public/fonts/dmmono-02.woff2new file mode 100644index 0000000..03e4859Binary files /dev/null and b/public/fonts/dmmono-02.woff2 differdiff --git a/public/fonts/dmmono-03.woff2 b/public/fonts/dmmono-03.woff2new file mode 100644index 0000000..b872009Binary files /dev/null and b/public/fonts/dmmono-03.woff2 differdiff --git a/public/fonts/dmmono-04.woff2 b/public/fonts/dmmono-04.woff2new file mode 100644index 0000000..67698d8Binary files /dev/null and b/public/fonts/dmmono-04.woff2 differdiff --git a/public/fonts/manrope-01.woff2 b/public/fonts/manrope-01.woff2new file mode 100644index 0000000..57c7c0eBinary files /dev/null and b/public/fonts/manrope-01.woff2 differdiff --git a/public/fonts/manrope-02.woff2 b/public/fonts/manrope-02.woff2new file mode 100644index 0000000..3a06229Binary files /dev/null and b/public/fonts/manrope-02.woff2 differdiff --git a/public/fonts/manrope-03.woff2 b/public/fonts/manrope-03.woff2new file mode 100644index 0000000..e74e718Binary files /dev/null and b/public/fonts/manrope-03.woff2 differdiff --git a/public/fonts/manrope-04.woff2 b/public/fonts/manrope-04.woff2new file mode 100644index 0000000..1e4b7a4Binary files /dev/null and b/public/fonts/manrope-04.woff2 differdiff --git a/public/fonts/manrope-05.woff2 b/public/fonts/manrope-05.woff2new file mode 100644index 0000000..bd24140Binary files /dev/null and b/public/fonts/manrope-05.woff2 differdiff --git a/public/fonts/manrope-06.woff2 b/public/fonts/manrope-06.woff2new file mode 100644index 0000000..71eb731Binary files /dev/null and b/public/fonts/manrope-06.woff2 differdiff --git a/src/styles/fonts.css b/src/styles/fonts.cssnew file mode 100644index 0000000..516c0af--- /dev/null+++ b/src/styles/fonts.css@@ -0,0 +1,261 @@+/* Manrope and DM Mono, self-hosted.+ Generated from the Google Fonts CSS API and then cut loose from it: the+ app calls itself local-first ("Every project is an ordinary folder on this+ computer"), so it must not need a CDN to paint its own type. Fetching these+ remotely also meant an offline launch silently fell back to system-ui with+ different metrics. Files live in public/fonts and are served from /fonts.+ To update: refetch the CSS with a Chrome user agent, download the woff2+ files it names, and rewrite the URLs to /fonts. Keep every unicode-range. */++/* latin-ext */+@font-face {+ font-family: 'DM Mono';+ font-style: normal;+ font-weight: 400;+ font-display: swap;+ src: url(/fonts/dmmono-01.woff2) format('woff2');+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;+}+/* latin */+@font-face {+ font-family: 'DM Mono';+ font-style: normal;+ font-weight: 400;+ font-display: swap;+ src: url(/fonts/dmmono-02.woff2) format('woff2');+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;+}+/* latin-ext */+@font-face {+ font-family: 'DM Mono';+ font-style: normal;+ font-weight: 500;+ font-display: swap;+ src: url(/fonts/dmmono-03.woff2) format('woff2');+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;+}+/* latin */+@font-face {+ font-family: 'DM Mono';+ font-style: normal;+ font-weight: 500;+ font-display: swap;+ src: url(/fonts/dmmono-04.woff2) format('woff2');+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;+}+/* cyrillic-ext */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 400;+ font-display: swap;+ src: url(/fonts/manrope-01.woff2) format('woff2');+ unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;+}+/* cyrillic */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 400;+ font-display: swap;+ src: url(/fonts/manrope-02.woff2) format('woff2');+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;+}+/* greek */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 400;+ font-display: swap;+ src: url(/fonts/manrope-03.woff2) format('woff2');+ unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;+}+/* vietnamese */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 400;+ font-display: swap;+ src: url(/fonts/manrope-04.woff2) format('woff2');+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;+}+/* latin-ext */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 400;+ font-display: swap;+ src: url(/fonts/manrope-05.woff2) format('woff2');+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;+}+/* latin */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 400;+ font-display: swap;+ src: url(/fonts/manrope-06.woff2) format('woff2');+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;+}+/* cyrillic-ext */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 500;+ font-display: swap;+ src: url(/fonts/manrope-01.woff2) format('woff2');+ unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;+}+/* cyrillic */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 500;+ font-display: swap;+ src: url(/fonts/manrope-02.woff2) format('woff2');+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;+}+/* greek */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 500;+ font-display: swap;+ src: url(/fonts/manrope-03.woff2) format('woff2');+ unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;+}+/* vietnamese */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 500;+ font-display: swap;+ src: url(/fonts/manrope-04.woff2) format('woff2');+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;+}+/* latin-ext */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 500;+ font-display: swap;+ src: url(/fonts/manrope-05.woff2) format('woff2');+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;+}+/* latin */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 500;+ font-display: swap;+ src: url(/fonts/manrope-06.woff2) format('woff2');+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;+}+/* cyrillic-ext */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 600;+ font-display: swap;+ src: url(/fonts/manrope-01.woff2) format('woff2');+ unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;+}+/* cyrillic */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 600;+ font-display: swap;+ src: url(/fonts/manrope-02.woff2) format('woff2');+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;+}+/* greek */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 600;+ font-display: swap;+ src: url(/fonts/manrope-03.woff2) format('woff2');+ unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;+}+/* vietnamese */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 600;+ font-display: swap;+ src: url(/fonts/manrope-04.woff2) format('woff2');+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;+}+/* latin-ext */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 600;+ font-display: swap;+ src: url(/fonts/manrope-05.woff2) format('woff2');+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;+}+/* latin */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 600;+ font-display: swap;+ src: url(/fonts/manrope-06.woff2) format('woff2');+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;+}+/* cyrillic-ext */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 700;+ font-display: swap;+ src: url(/fonts/manrope-01.woff2) format('woff2');+ unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;+}+/* cyrillic */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 700;+ font-display: swap;+ src: url(/fonts/manrope-02.woff2) format('woff2');+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;+}+/* greek */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 700;+ font-display: swap;+ src: url(/fonts/manrope-03.woff2) format('woff2');+ unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;+}+/* vietnamese */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 700;+ font-display: swap;+ src: url(/fonts/manrope-04.woff2) format('woff2');+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;+}+/* latin-ext */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 700;+ font-display: swap;+ src: url(/fonts/manrope-05.woff2) format('woff2');+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;+}+/* latin */+@font-face {+ font-family: 'Manrope';+ font-style: normal;+ font-weight: 700;+ font-display: swap;+ src: url(/fonts/manrope-06.woff2) format('woff2');+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;+}diff --git a/src/styles/index.css b/src/styles/index.cssindex c5cf849..f203ac1 100644--- a/src/styles/index.css+++ b/src/styles/index.css@@ -3,10 +3,12 @@This is the ONLY file imported by the app (src/main.tsx). Everything else ispulled in from here, in cascade order. Keep the font @import first: CSS- requires all @import rules to precede any other rule.+ requires all @import rules to precede any other rule. The fonts are+ self-hosted (see fonts.css) — a local-first desktop app must not need a CDN+ to paint its own type, and offline it silently fell back to system metrics.========================================================================== */-@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap");+@import "./fonts.css";/* Foundation */@import "./tokens.css";