The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Docs: Fix Expo icon not changing in dark mode (#17674)
Peter04a007e519c3
diff --git a/apps/docs/components/Frameworks.tsx b/apps/docs/components/Frameworks.tsxindex bca35b6af92..3faf6a2e4e2 100644--- a/apps/docs/components/Frameworks.tsx+++ b/apps/docs/components/Frameworks.tsx@@ -16,8 +16,8 @@ const Frameworks = () => {{name: 'Expo React Native',logo: {- light: '/docs/img/icons/expo-icon.svg',- dark: '/docs/img/icons/expo-icon-dark.svg',+ light: '/docs/img/icons/expo-icon-light.svg',+ dark: '/docs/img/icons/expo-icon.svg',},href: '/guides/with-expo-react-native',},@@ -48,8 +48,8 @@ const Frameworks = () => {{name: 'Next.js',logo: {- light: '/docs/img/icons/nextjs-light-icon.svg',- dark: '/docs/img/icons/nextjs-dark-icon.svg',+ light: '/docs/img/icons/nextjs-icon-light.svg',+ dark: '/docs/img/icons/nextjs-icon.svg',},href: '/guides/with-nextjs',},diff --git a/apps/docs/pages/guides/getting-started.mdx b/apps/docs/pages/guides/getting-started.mdxindex f0f549b906a..0c5adb47a21 100644--- a/apps/docs/pages/guides/getting-started.mdx+++ b/apps/docs/pages/guides/getting-started.mdx@@ -61,7 +61,13 @@ export const meta = {{quickstarts.map((item) => {return (<Link href={`${item.href}`} key={item.title} passHref className={'col-span-4'}>- <GlassPanel title={item.title} span="col-span-6" background={false} icon={item.icon}>+ <GlassPanel+ title={item.title}+ span="col-span-6"+ background={false}+ icon={item.icon}+ hasLightIcon={item.hasLightIcon}+ >{item.description}</GlassPanel></Link>@@ -75,10 +81,15 @@ export const meta = {{webapps.map((item) => {return (<Link href={`${item.href}`} key={item.title} passHref className={'col-span-4'}>- <GlassPanel title={item.title} span="col-span-6" background={false} icon={item.icon}>+ <GlassPanel+ title={item.title}+ span="col-span-6"+ background={false}+ icon={item.icon}+ hasLightIcon={item.hasLightIcon}+ >{item.description}</GlassPanel>-</Link>)@@ -92,7 +103,13 @@ export const meta = {{mobile.map((item) => {return (<Link href={`${item.href}`} key={item.title} passHref className={'col-span-4'}>- <GlassPanel title={item.title} span="col-span-6" background={false} icon={item.icon}>+ <GlassPanel+ title={item.title}+ span="col-span-6"+ background={false}+ icon={item.icon}+ hasLightIcon={item.hasLightIcon}+ >{item.description}</GlassPanel></Link>@@ -138,6 +155,7 @@ export const quickstarts = [description:'Learn how to create a Supabase project, add some sample data to your database, and query the data from a Next.js app.',icon: '/docs/img/icons/nextjs-icon',+ hasLightIcon: true,},{title: 'NuxtJS',@@ -204,6 +222,7 @@ export const webapps = [description:'Learn how to build a user management app with Next.js and Supabase Database, Auth, and Storage functionality.',icon: '/docs/img/icons/nextjs-icon',+ hasLightIcon: true,},{title: 'React',@@ -277,6 +296,7 @@ export const mobile = [description:'Learn how to build a user management app with Expo React Native and Supabase Database, Auth, and Storage functionality.',icon: '/docs/img/icons/expo-icon',+ hasLightIcon: true,},{title: 'Android Kotlin',diff --git a/apps/docs/public/img/icons/expo-icon-dark.svg b/apps/docs/public/img/icons/expo-icon-light.svgsimilarity index 97%rename from apps/docs/public/img/icons/expo-icon-dark.svgrename to apps/docs/public/img/icons/expo-icon-light.svgindex a6f238b6784..e4deeadf133 100644--- a/apps/docs/public/img/icons/expo-icon-dark.svg+++ b/apps/docs/public/img/icons/expo-icon-light.svg@@ -1 +1 @@-<svg width="24" height="26" viewBox="0 0 24 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.069 10.075a2.273 2.273 0 00-.887-.74 2.296 2.296 0 00-2.237.16 2.265 2.265 0 00-.77.859 2.016 2.016 0 00.392 2.274 3.342 3.342 0 002.23-.63 3.289 3.289 0 001.271-1.923zM15.3 1.3l-1.45-.788-6.31 3.481.503.27.957.498 1.732-.954 4.569-2.523-.001.016zm.584-.24a.225.225 0 01.16.15l2.114 6.182a.205.205 0 01-.1.269 4.063 4.063 0 00-1.798 1.974 4.017 4.017 0 00-.175 2.655 4.283 4.283 0 001.755 2.332c.842.55 1.852.79 2.854.68a.269.269 0 01.262.16l2.184 6.345a.256.256 0 01-.101.278l-6.712 3.89a.253.253 0 01-.101.02.27.27 0 01-.181-.03L13.69 24.5a.234.234 0 01-.1-.1l-4.6-10.483-7.005 3.95a.327.327 0 01-.272.01l-1.592-.898a.23.23 0 01-.1-.299l6.805-12.8a.243.243 0 01.11-.099L13.721.03a.259.259 0 01.241 0l1.923 1.03zM7.47 4.499L7.14 4.33.58 16.71l1.197.668 5.657-7.335a.275.275 0 01.231-.1.282.282 0 01.201.149l6.16 14.066 1.646 1.007L9.06 6.005l-.281-.798-1.318-.718.01.01zm10.145 7.382a2.51 2.51 0 01.12-1.663 2.54 2.54 0 011.138-1.23 2.798 2.798 0 013.261.4 2.513 2.513 0 01.073 3.568l-.073.073a2.77 2.77 0 01-3.788.01 2.719 2.719 0 01-.731-1.158z" fill="#fff"/></svg>\ No newline at end of file+<svg width="24" height="26" viewBox="0 0 24 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.069 10.075a2.273 2.273 0 00-.887-.74 2.296 2.296 0 00-2.237.16 2.265 2.265 0 00-.77.859 2.016 2.016 0 00.392 2.274 3.342 3.342 0 002.23-.63 3.289 3.289 0 001.271-1.923zM15.3 1.3l-1.45-.788-6.31 3.481.503.27.957.498 1.732-.954 4.569-2.523-.001.016zm.584-.24a.225.225 0 01.16.15l2.114 6.182a.205.205 0 01-.1.269 4.063 4.063 0 00-1.798 1.974 4.017 4.017 0 00-.175 2.655 4.283 4.283 0 001.755 2.332c.842.55 1.852.79 2.854.68a.269.269 0 01.262.16l2.184 6.345a.256.256 0 01-.101.278l-6.712 3.89a.253.253 0 01-.101.02.27.27 0 01-.181-.03L13.69 24.5a.234.234 0 01-.1-.1l-4.6-10.483-7.005 3.95a.327.327 0 01-.272.01l-1.592-.898a.23.23 0 01-.1-.299l6.805-12.8a.243.243 0 01.11-.099L13.721.03a.259.259 0 01.241 0l1.923 1.03zM7.47 4.499L7.14 4.33.58 16.71l1.197.668 5.657-7.335a.275.275 0 01.231-.1.282.282 0 01.201.149l6.16 14.066 1.646 1.007L9.06 6.005l-.281-.798-1.318-.718.01.01zm10.145 7.382a2.51 2.51 0 01.12-1.663 2.54 2.54 0 011.138-1.23 2.798 2.798 0 013.261.4 2.513 2.513 0 01.073 3.568l-.073.073a2.77 2.77 0 01-3.788.01 2.719 2.719 0 01-.731-1.158z" fill="#000"/></svg>\ No newline at end of filediff --git a/apps/docs/public/img/icons/expo-icon.svg b/apps/docs/public/img/icons/expo-icon.svgindex e4deeadf133..a6f238b6784 100644--- a/apps/docs/public/img/icons/expo-icon.svg+++ b/apps/docs/public/img/icons/expo-icon.svg@@ -1 +1 @@-<svg width="24" height="26" viewBox="0 0 24 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.069 10.075a2.273 2.273 0 00-.887-.74 2.296 2.296 0 00-2.237.16 2.265 2.265 0 00-.77.859 2.016 2.016 0 00.392 2.274 3.342 3.342 0 002.23-.63 3.289 3.289 0 001.271-1.923zM15.3 1.3l-1.45-.788-6.31 3.481.503.27.957.498 1.732-.954 4.569-2.523-.001.016zm.584-.24a.225.225 0 01.16.15l2.114 6.182a.205.205 0 01-.1.269 4.063 4.063 0 00-1.798 1.974 4.017 4.017 0 00-.175 2.655 4.283 4.283 0 001.755 2.332c.842.55 1.852.79 2.854.68a.269.269 0 01.262.16l2.184 6.345a.256.256 0 01-.101.278l-6.712 3.89a.253.253 0 01-.101.02.27.27 0 01-.181-.03L13.69 24.5a.234.234 0 01-.1-.1l-4.6-10.483-7.005 3.95a.327.327 0 01-.272.01l-1.592-.898a.23.23 0 01-.1-.299l6.805-12.8a.243.243 0 01.11-.099L13.721.03a.259.259 0 01.241 0l1.923 1.03zM7.47 4.499L7.14 4.33.58 16.71l1.197.668 5.657-7.335a.275.275 0 01.231-.1.282.282 0 01.201.149l6.16 14.066 1.646 1.007L9.06 6.005l-.281-.798-1.318-.718.01.01zm10.145 7.382a2.51 2.51 0 01.12-1.663 2.54 2.54 0 011.138-1.23 2.798 2.798 0 013.261.4 2.513 2.513 0 01.073 3.568l-.073.073a2.77 2.77 0 01-3.788.01 2.719 2.719 0 01-.731-1.158z" fill="#000"/></svg>\ No newline at end of file+<svg width="24" height="26" viewBox="0 0 24 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.069 10.075a2.273 2.273 0 00-.887-.74 2.296 2.296 0 00-2.237.16 2.265 2.265 0 00-.77.859 2.016 2.016 0 00.392 2.274 3.342 3.342 0 002.23-.63 3.289 3.289 0 001.271-1.923zM15.3 1.3l-1.45-.788-6.31 3.481.503.27.957.498 1.732-.954 4.569-2.523-.001.016zm.584-.24a.225.225 0 01.16.15l2.114 6.182a.205.205 0 01-.1.269 4.063 4.063 0 00-1.798 1.974 4.017 4.017 0 00-.175 2.655 4.283 4.283 0 001.755 2.332c.842.55 1.852.79 2.854.68a.269.269 0 01.262.16l2.184 6.345a.256.256 0 01-.101.278l-6.712 3.89a.253.253 0 01-.101.02.27.27 0 01-.181-.03L13.69 24.5a.234.234 0 01-.1-.1l-4.6-10.483-7.005 3.95a.327.327 0 01-.272.01l-1.592-.898a.23.23 0 01-.1-.299l6.805-12.8a.243.243 0 01.11-.099L13.721.03a.259.259 0 01.241 0l1.923 1.03zM7.47 4.499L7.14 4.33.58 16.71l1.197.668 5.657-7.335a.275.275 0 01.231-.1.282.282 0 01.201.149l6.16 14.066 1.646 1.007L9.06 6.005l-.281-.798-1.318-.718.01.01zm10.145 7.382a2.51 2.51 0 01.12-1.663 2.54 2.54 0 011.138-1.23 2.798 2.798 0 013.261.4 2.513 2.513 0 01.073 3.568l-.073.073a2.77 2.77 0 01-3.788.01 2.719 2.719 0 01-.731-1.158z" fill="#fff"/></svg>\ No newline at end of file