Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Switch admin SPA font from Inter to Geist + Geist Mono
Damian Legawieccbace08d42a7
diff --git a/packages/admin/package.json b/packages/admin/package.jsonindex 5a25a9608e..8ce1d2ae52 100644--- a/packages/admin/package.json+++ b/packages/admin/package.json@@ -14,7 +14,7 @@"dependencies": {"@base-ui/react": "^1.2.0","@fontsource-variable/geist": "^5.2.8",- "@fontsource-variable/inter": "^5.2.8",+ "@fontsource-variable/geist-mono": "^5.2.7","@hookform/resolvers": "^5.2.2","@spree/admin-sdk": "workspace:^","@tanstack/react-query": "^5.90.21",diff --git a/packages/admin/src/index.css b/packages/admin/src/index.cssindex e624cff941..b5ae2a276d 100644--- a/packages/admin/src/index.css+++ b/packages/admin/src/index.css@@ -1,7 +1,8 @@@import "tailwindcss";@import "tw-animate-css";@import "shadcn/tailwind.css";-@import "@fontsource-variable/inter";+@import "@fontsource-variable/geist";+@import "@fontsource-variable/geist-mono";@custom-variant dark (&:is(.dark *));@@ -83,8 +84,8 @@}@theme inline {- /* Inter — same font as Rails admin */- --font-sans: "Inter Variable", ui-sans-serif, system-ui, sans-serif;+ --font-sans: "Geist Variable", ui-sans-serif, system-ui, sans-serif;+ --font-mono: "Geist Mono Variable", ui-monospace, monospace;/* Typography scale — matches Spree admin (smaller than Tailwind defaults) */--text-xs: 0.75rem;diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex e3357423fc..455565ef9f 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -24,9 +24,9 @@ importers:'@fontsource-variable/geist':specifier: ^5.2.8version: 5.2.8- '@fontsource-variable/inter':- specifier: ^5.2.8- version: 5.2.8+ '@fontsource-variable/geist-mono':+ specifier: ^5.2.7+ version: 5.2.7'@hookform/resolvers':specifier: ^5.2.2version: 5.2.2([email protected]([email protected]))@@ -794,12 +794,12 @@ packages:'@floating-ui/[email protected]':resolution: {integrity: sha512-RiB/yIh78pcIxl6lLMG0CgBXAZ2Y0eVHqMPYugu+9U0AeT6YBeiJpf7lbdJNIugFP5SIjwNRgo4DhR1Qxi26Gg==}+ '@fontsource-variable/[email protected]':+ resolution: {integrity: sha512-ZKlZ5sjtalb2TwXKs400mAGDlt/+2ENLNySPx0wTz3bP3mWARCsUW+rpxzZc7e05d2qGch70pItt3K4qttbIYA==}+'@fontsource-variable/[email protected]':resolution: {integrity: sha512-cJ6m9e+8MQ5dCYJsLylfZrgBh6KkG4bOLckB35Tr9J/EqdkEM6QllH5PxqP1dhTvFup+HtMRPuz9xOjxXJggxw==}- '@fontsource-variable/[email protected]':- resolution: {integrity: sha512-kOfP2D+ykbcX/P3IFnokOhVRNoTozo5/JxhAIVYLpea/UBmCQ/YWPBfWIDuBImXX/15KH+eKh4xpEUyS2sQQGQ==}-'@hono/[email protected]':resolution: {integrity: sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g==}engines: {node: '>=18.14.1'}@@ -5241,9 +5241,9 @@ snapshots:'@floating-ui/[email protected]': {}- '@fontsource-variable/[email protected]': {}+ '@fontsource-variable/[email protected]': {}- '@fontsource-variable/[email protected]': {}+ '@fontsource-variable/[email protected]': {}'@hono/[email protected]([email protected])':dependencies: