Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

style: use geist font

Brad Barbin27686be9e440
diff --git a/apps/carbon/app/components/Layout/Navigation/GroupedContentSidebar.tsx b/apps/carbon/app/components/Layout/Navigation/GroupedContentSidebar.tsx
index dfa8cecd2c..a0b730c90e 100644
--- a/apps/carbon/app/components/Layout/Navigation/GroupedContentSidebar.tsx
+++ b/apps/carbon/app/components/Layout/Navigation/GroupedContentSidebar.tsx
@@ -7,9 +7,11 @@ import { CollapsibleSidebar } from "./CollapsibleSidebar";
const GroupedContentSidebar = ({
groups,
width,
+ exactMatch = false,
}: {
groups: RouteGroup[];
width?: number;
+ exactMatch?: boolean;
}) => {
const location = useOptimisticLocation();
@@ -27,7 +29,9 @@ const GroupedContentSidebar = ({
{group.name}
</h4>
{group.routes.map((route) => {
- const isActive = location.pathname.includes(route.to);
+ const isActive = exactMatch
+ ? location.pathname === route.to
+ : location.pathname.includes(route.to);
return (
<Button
key={route.name}
diff --git a/apps/carbon/app/routes/x+/api+/_layout.tsx b/apps/carbon/app/routes/x+/api+/_layout.tsx
index 29c8708961..5653b9343f 100644
--- a/apps/carbon/app/routes/x+/api+/_layout.tsx
+++ b/apps/carbon/app/routes/x+/api+/_layout.tsx
@@ -67,7 +67,7 @@ export default function ApiDocsRoute() {
Bash
</Button>
</div>
- <GroupedContentSidebar groups={groups} width={270} />
+ <GroupedContentSidebar groups={groups} width={270} exactMatch />
<div className="Docs Docs--api-page w-full h-full overflow-y-auto">
<div className="Docs--inner-wrapper pt-4">
<Outlet />
diff --git a/apps/carbon/app/styles/prosemirror.css b/apps/carbon/app/styles/prosemirror.css
index 8dee96d5ad..b1e59d3183 100644
--- a/apps/carbon/app/styles/prosemirror.css
+++ b/apps/carbon/app/styles/prosemirror.css
@@ -1,3 +1,7 @@
+.ProseMirror {
+ fontfamily: "Geist Mono Variable";
+}
+
.ProseMirror .is-editor-empty:first-child::before {
content: attr(data-placeholder);
float: left;
diff --git a/apps/carbon/app/styles/tailwind.css b/apps/carbon/app/styles/tailwind.css
index f4e8409550..08ab4f7ba2 100644
--- a/apps/carbon/app/styles/tailwind.css
+++ b/apps/carbon/app/styles/tailwind.css
@@ -1,53 +1,5 @@
-@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;600;700&display=swap&display=swap");
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 200;
- src: url("/fonts/Geist-UltraLight.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 300;
- src: url("/fonts/Geist-Light.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 500;
- src: url("/fonts/Geist-Medium.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 600;
- src: url("/fonts/Geist-SemiBold.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 700;
- src: url("/fonts/Geist-Bold.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 800;
- src: url("/fonts/Geist-Black.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 900;
- src: url("/fonts/Geist-UltraBlack.woff2") format("woff2");
-}
+@import url("non.geist");
+@import url("non.geist/mono");
@tailwind base;
@tailwind components;
diff --git a/apps/carbon/package.json b/apps/carbon/package.json
index ba90411c32..ae7f67ce3e 100644
--- a/apps/carbon/package.json
+++ b/apps/carbon/package.json
@@ -53,6 +53,7 @@
"lodash.words": "^4.2.0",
"nanoid": "5.0.4",
"nanostores": "^0.9.3",
+ "non.geist": "~1.0.3",
"nprogress": "0.2.0",
"performant-array-to-tree": "1.11.0",
"posthog-js": "^1.116.6",
diff --git a/apps/carbon/public/fonts/Geist-Black.woff2 b/apps/carbon/public/fonts/Geist-Black.woff2
deleted file mode 100644
index c8230cbc68..0000000000
Binary files a/apps/carbon/public/fonts/Geist-Black.woff2 and /dev/null differ
diff --git a/apps/carbon/public/fonts/Geist-Bold.woff2 b/apps/carbon/public/fonts/Geist-Bold.woff2
deleted file mode 100644
index d0562e48ec..0000000000
Binary files a/apps/carbon/public/fonts/Geist-Bold.woff2 and /dev/null differ
diff --git a/apps/carbon/public/fonts/Geist-Light.woff2 b/apps/carbon/public/fonts/Geist-Light.woff2
deleted file mode 100644
index 56611204f7..0000000000
Binary files a/apps/carbon/public/fonts/Geist-Light.woff2 and /dev/null differ
diff --git a/apps/carbon/public/fonts/Geist-Medium.woff2 b/apps/carbon/public/fonts/Geist-Medium.woff2
deleted file mode 100644
index 76edd10515..0000000000
Binary files a/apps/carbon/public/fonts/Geist-Medium.woff2 and /dev/null differ
diff --git a/apps/carbon/public/fonts/Geist-Regular.woff2 b/apps/carbon/public/fonts/Geist-Regular.woff2
deleted file mode 100644
index 2ebd0097e7..0000000000
Binary files a/apps/carbon/public/fonts/Geist-Regular.woff2 and /dev/null differ
diff --git a/apps/carbon/public/fonts/Geist-SemiBold.woff2 b/apps/carbon/public/fonts/Geist-SemiBold.woff2
deleted file mode 100644
index a6c53e8b06..0000000000
Binary files a/apps/carbon/public/fonts/Geist-SemiBold.woff2 and /dev/null differ
diff --git a/apps/carbon/public/fonts/Geist-UltraBlack.woff2 b/apps/carbon/public/fonts/Geist-UltraBlack.woff2
deleted file mode 100644
index 198caeadc9..0000000000
Binary files a/apps/carbon/public/fonts/Geist-UltraBlack.woff2 and /dev/null differ
diff --git a/apps/carbon/public/fonts/Geist-UltraLight.woff2 b/apps/carbon/public/fonts/Geist-UltraLight.woff2
deleted file mode 100644
index 541685251a..0000000000
Binary files a/apps/carbon/public/fonts/Geist-UltraLight.woff2 and /dev/null differ
diff --git a/apps/developers/app/styles/tailwind.css b/apps/developers/app/styles/tailwind.css
index f4e8409550..08ab4f7ba2 100644
--- a/apps/developers/app/styles/tailwind.css
+++ b/apps/developers/app/styles/tailwind.css
@@ -1,53 +1,5 @@
-@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;600;700&display=swap&display=swap");
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 200;
- src: url("/fonts/Geist-UltraLight.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 300;
- src: url("/fonts/Geist-Light.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 500;
- src: url("/fonts/Geist-Medium.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 600;
- src: url("/fonts/Geist-SemiBold.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 700;
- src: url("/fonts/Geist-Bold.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 800;
- src: url("/fonts/Geist-Black.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 900;
- src: url("/fonts/Geist-UltraBlack.woff2") format("woff2");
-}
+@import url("non.geist");
+@import url("non.geist/mono");
@tailwind base;
@tailwind components;
diff --git a/apps/developers/package.json b/apps/developers/package.json
index cd86bcb01c..5e5158a8a7 100644
--- a/apps/developers/package.json
+++ b/apps/developers/package.json
@@ -24,6 +24,7 @@
"@vercel/remix": "2.10.2",
"framer-motion": "^11.1.7",
"isbot": "3.6.13",
+ "non.geist": "~1.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
diff --git a/apps/developers/public/fonts/Geist-Black.woff2 b/apps/developers/public/fonts/Geist-Black.woff2
deleted file mode 100644
index c8230cbc68..0000000000
Binary files a/apps/developers/public/fonts/Geist-Black.woff2 and /dev/null differ
diff --git a/apps/developers/public/fonts/Geist-Bold.woff2 b/apps/developers/public/fonts/Geist-Bold.woff2
deleted file mode 100644
index d0562e48ec..0000000000
Binary files a/apps/developers/public/fonts/Geist-Bold.woff2 and /dev/null differ
diff --git a/apps/developers/public/fonts/Geist-Light.woff2 b/apps/developers/public/fonts/Geist-Light.woff2
deleted file mode 100644
index 56611204f7..0000000000
Binary files a/apps/developers/public/fonts/Geist-Light.woff2 and /dev/null differ
diff --git a/apps/developers/public/fonts/Geist-Medium.woff2 b/apps/developers/public/fonts/Geist-Medium.woff2
deleted file mode 100644
index 76edd10515..0000000000
Binary files a/apps/developers/public/fonts/Geist-Medium.woff2 and /dev/null differ
diff --git a/apps/developers/public/fonts/Geist-Regular.woff2 b/apps/developers/public/fonts/Geist-Regular.woff2
deleted file mode 100644
index 2ebd0097e7..0000000000
Binary files a/apps/developers/public/fonts/Geist-Regular.woff2 and /dev/null differ
diff --git a/apps/developers/public/fonts/Geist-SemiBold.woff2 b/apps/developers/public/fonts/Geist-SemiBold.woff2
deleted file mode 100644
index a6c53e8b06..0000000000
Binary files a/apps/developers/public/fonts/Geist-SemiBold.woff2 and /dev/null differ
diff --git a/apps/developers/public/fonts/Geist-UltraBlack.woff2 b/apps/developers/public/fonts/Geist-UltraBlack.woff2
deleted file mode 100644
index 198caeadc9..0000000000
Binary files a/apps/developers/public/fonts/Geist-UltraBlack.woff2 and /dev/null differ
diff --git a/apps/developers/public/fonts/Geist-UltraLight.woff2 b/apps/developers/public/fonts/Geist-UltraLight.woff2
deleted file mode 100644
index 541685251a..0000000000
Binary files a/apps/developers/public/fonts/Geist-UltraLight.woff2 and /dev/null differ
diff --git a/apps/mes/package.json b/apps/mes/package.json
index 1f91905f33..761395565f 100644
--- a/apps/mes/package.json
+++ b/apps/mes/package.json
@@ -18,6 +18,7 @@
"@supabase/supabase-js": "^2.40.0",
"class-variance-authority": "0.7.0",
"localforage": "^1.10.0",
+ "non.geist": "~1.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^5.2.1",
diff --git a/apps/mes/public/fonts/Geist-Black.woff2 b/apps/mes/public/fonts/Geist-Black.woff2
deleted file mode 100644
index c8230cbc68..0000000000
Binary files a/apps/mes/public/fonts/Geist-Black.woff2 and /dev/null differ
diff --git a/apps/mes/public/fonts/Geist-Bold.woff2 b/apps/mes/public/fonts/Geist-Bold.woff2
deleted file mode 100644
index d0562e48ec..0000000000
Binary files a/apps/mes/public/fonts/Geist-Bold.woff2 and /dev/null differ
diff --git a/apps/mes/public/fonts/Geist-Light.woff2 b/apps/mes/public/fonts/Geist-Light.woff2
deleted file mode 100644
index 56611204f7..0000000000
Binary files a/apps/mes/public/fonts/Geist-Light.woff2 and /dev/null differ
diff --git a/apps/mes/public/fonts/Geist-Medium.woff2 b/apps/mes/public/fonts/Geist-Medium.woff2
deleted file mode 100644
index 76edd10515..0000000000
Binary files a/apps/mes/public/fonts/Geist-Medium.woff2 and /dev/null differ
diff --git a/apps/mes/public/fonts/Geist-Regular.woff2 b/apps/mes/public/fonts/Geist-Regular.woff2
deleted file mode 100644
index 2ebd0097e7..0000000000
Binary files a/apps/mes/public/fonts/Geist-Regular.woff2 and /dev/null differ
diff --git a/apps/mes/public/fonts/Geist-SemiBold.woff2 b/apps/mes/public/fonts/Geist-SemiBold.woff2
deleted file mode 100644
index a6c53e8b06..0000000000
Binary files a/apps/mes/public/fonts/Geist-SemiBold.woff2 and /dev/null differ
diff --git a/apps/mes/public/fonts/Geist-UltraBlack.woff2 b/apps/mes/public/fonts/Geist-UltraBlack.woff2
deleted file mode 100644
index 198caeadc9..0000000000
Binary files a/apps/mes/public/fonts/Geist-UltraBlack.woff2 and /dev/null differ
diff --git a/apps/mes/public/fonts/Geist-UltraLight.woff2 b/apps/mes/public/fonts/Geist-UltraLight.woff2
deleted file mode 100644
index 541685251a..0000000000
Binary files a/apps/mes/public/fonts/Geist-UltraLight.woff2 and /dev/null differ
diff --git a/apps/mes/src/index.css b/apps/mes/src/index.css
index 7e383da454..ae738ca06e 100644
--- a/apps/mes/src/index.css
+++ b/apps/mes/src/index.css
@@ -1,56 +1,5 @@
-@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500;600;700&display=swap&display=swap");
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 200;
- src: url("/fonts/Geist-UltraLight.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 300;
- src: url("/fonts/Geist-Light.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 500;
- src: url("/fonts/Geist-Medium.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 600;
- src: url("/fonts/Geist-SemiBold.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 700;
- src: url("/fonts/Geist-Bold.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 800;
- src: url("/fonts/Geist-Black.woff2") format("woff2");
-}
-
-@font-face {
- font-family: "Triangle";
- font-style: normal;
- font-weight: 900;
- src: url("/fonts/Geist-UltraBlack.woff2") format("woff2");
-}
+@import url("non.geist");
+@import url("non.geist/mono");
@tailwind base;
@tailwind components;
diff --git a/package-lock.json b/package-lock.json
index 89722c27bb..d67f8ed933 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -84,6 +84,7 @@
"lodash.words": "^4.2.0",
"nanoid": "5.0.4",
"nanostores": "^0.9.3",
+ "non.geist": "~1.0.3",
"nprogress": "0.2.0",
"performant-array-to-tree": "1.11.0",
"posthog-js": "^1.116.6",
@@ -158,6 +159,7 @@
"@vercel/remix": "2.10.2",
"framer-motion": "^11.1.7",
"isbot": "3.6.13",
+ "non.geist": "~1.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
@@ -249,6 +251,7 @@
"@supabase/supabase-js": "^2.40.0",
"class-variance-authority": "0.7.0",
"localforage": "^1.10.0",
+ "non.geist": "~1.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "7.51.2",
@@ -24948,6 +24951,11 @@
"resolved": "https://registry.npmjs.org/non-layered-tidy-tree-layout/-/non-layered-tidy-tree-layout-2.0.2.tgz",
"integrity": "sha512-gkXMxRzUH+PB0ax9dUN0yYF0S25BqeAYqhgMaLUFmpXLEk7Fcu8f4emJuOAY0V8kjDICxROIKsTAKsV/v355xw=="
},
+ "node_modules/non.geist": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/non.geist/-/non.geist-1.0.3.tgz",
+ "integrity": "sha512-KTT38rJKUTijUZtwqZR38OJeHDupfTkl1JoVNVVoQ0vV41Zjax/BMULWFyXtsK5YCd1SU2ofFSJooD8nWClXcA=="
+ },
"node_modules/nopt": {
"version": "7.2.1",
"resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.1.tgz",
diff --git a/packages/tailwind/tailwind.config.js b/packages/tailwind/tailwind.config.js
index 7b5ad140ef..ab8551eb8c 100644
--- a/packages/tailwind/tailwind.config.js
+++ b/packages/tailwind/tailwind.config.js
@@ -65,8 +65,8 @@ module.exports = {
xxs: "0.675rem",
},
fontFamily: {
- sans: ["Triangle", ...fontFamily.sans],
- mono: ["Roboto Mono", ...fontFamily.mono],
+ sans: ["Geist Variable", ...fontFamily.sans],
+ mono: ["Geist Mono Variable", ...fontFamily.mono],
},
keyframes: {
"accordion-down": {