The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(studio): correct bold font weight + csp (#33578)
Alaister Young89f9f6886866
diff --git a/apps/studio/fonts/index.ts b/apps/studio/fonts/index.tsindex a6093a742e8..272cd5acd2d 100644--- a/apps/studio/fonts/index.ts+++ b/apps/studio/fonts/index.ts@@ -23,12 +23,12 @@ export const customFont = localFont({},{path: './CustomFont-Bold.woff2',- weight: '600',+ weight: '700',style: 'normal',},{path: './CustomFont-BoldItalic.woff2',- weight: '600',+ weight: '700',style: 'italic',},{@@ -46,8 +46,8 @@ export const customFont = localFont({export const sourceCodePro = Source_Code_Pro({subsets: ['latin'],- fallback: ['Office Code Pro', 'Source Code Pro', 'Menlo', 'monospace'],+ fallback: ['Source Code Pro', 'Office Code Pro', 'Menlo', 'monospace'],variable: '--font-source-code-pro',display: 'swap',- weight: ['400'],+ weight: ['400', '500', '600', '700'],})diff --git a/apps/studio/next.config.js b/apps/studio/next.config.jsindex fed2b5f17fd..383dfa1b593 100644--- a/apps/studio/next.config.js+++ b/apps/studio/next.config.js@@ -65,7 +65,7 @@ const SCRIPT_SRC_URLS = `${CLOUDFLARE_CDN_URL} ${HCAPTCHA_JS_URL} ${STRIPE_JS_URconst FRAME_SRC_URLS = `${HCAPTCHA_ASSET_URL} ${STRIPE_JS_URL}`const IMG_SRC_URLS = `${SUPABASE_URL} ${SUPABASE_COM_URL} ${SUPABASE_PROJECTS_URL} ${GITHUB_USER_AVATAR_URL} ${GOOGLE_USER_AVATAR_URL} ${SUPABASE_ASSETS_URL}`const STYLE_SRC_URLS = `${CLOUDFLARE_CDN_URL} ${SUPABASE_ASSETS_URL}`-const FONT_SRC_URLS = `${CLOUDFLARE_CDN_URL}`+const FONT_SRC_URLS = `${CLOUDFLARE_CDN_URL} ${SUPABASE_ASSETS_URL}`const csp = [...(process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview' ||diff --git a/packages/config/tailwind.config.js b/packages/config/tailwind.config.jsindex 522440d1a06..88c13876744 100644--- a/packages/config/tailwind.config.js+++ b/packages/config/tailwind.config.js@@ -362,7 +362,7 @@ const uiConfig = ui({},fontFamily: {sans: 'var(--font-custom, Circular, custom-font, Helvetica Neue, Helvetica, Arial, sans-serif)',- mono: 'var(--font-source-code-pro, Office Code Pro, Source Code Pro, Menlo, monospace)',+ mono: 'var(--font-source-code-pro, Source Code Pro, Office Code Pro, Menlo, monospace)',},// shadcn defaults START