The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add light mode icons
Terry Suttonf4d705f4d999
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsxindex ebc412e7175..87cb1391538 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.tsx@@ -6,10 +6,11 @@ import * as NavItems from './NavigationMenu.constants'import NavigationMenuGuideList from './NavigationMenuGuideList'import NavigationMenuRefList from './NavigationMenuRefList'import NavigationMenuCliList from './NavigationMenuCliList'+import { useTheme } from '~/components/Providers'const SideNav = () => {const router = useRouter()-+ const { isDarkMode } = useTheme()const [level, setLevel] = useState('home')function handleRouteChange(url: string) {@@ -73,19 +74,19 @@ const SideNav = () => {[{label: 'Home',- icon: 'home.svg',+ icon: 'home',href: '',level: 'home',},{label: 'Getting started',- icon: 'getting-started.svg',+ icon: 'getting-started',href: '/getting-started',level: 'gettingstarted',},{label: 'Tutorials',- icon: 'tutorials.svg',+ icon: 'tutorials',href: '/guides/tutorials',level: 'tutorials',},@@ -93,31 +94,31 @@ const SideNav = () => {[{label: 'Database',- icon: 'database.svg',+ icon: 'database',href: '/guides/database',level: 'database',},{label: 'Auth',- icon: 'auth.svg',+ icon: 'auth',href: '/guides/auth',level: 'auth',},{label: 'Storage',- icon: 'storage.svg',+ icon: 'storage',href: '/guides/storage',level: 'storage',},{label: 'Realtime',- icon: 'realtime.svg',+ icon: 'realtime',href: '/guides/realtime',level: 'realtime',},{label: 'Edge Functions',- icon: 'functions.svg',+ icon: 'functions',href: '/guides/functions',level: 'functions',},@@ -125,19 +126,19 @@ const SideNav = () => {[{label: 'API Reference',- icon: 'reference.svg',+ icon: 'reference',href: '/reference',level: 'reference',},{label: 'Integrations',- icon: 'integrations.svg',+ icon: 'integrations',href: '/guides/integrations',level: 'integrations',},{label: 'Platform',- icon: 'platform.svg',+ icon: 'platform',href: '/guides/hosting/platform',level: 'platform',},@@ -176,7 +177,9 @@ const SideNav = () => {].join(' ')}><img- src={`${router.basePath}/img/icons/menu/${link.icon}`}+ src={`${router.basePath}/img/icons/menu/${+ isDarkMode ? link.icon : `${link.icon}-light`+ }.svg`}className="opacity-75 w-4.5 group-hover:scale-110 group-hover:opacity-100 ease-out transition-all"/>{link.label}diff --git a/apps/docs/public/img/icons/menu/auth-light.svg b/apps/docs/public/img/icons/menu/auth-light.svgnew file mode 100644index 00000000000..b32fd06213a--- /dev/null+++ b/apps/docs/public/img/icons/menu/auth-light.svg@@ -0,0 +1,6 @@+<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M9.5 5.35083C9.5 5.62697 9.72386 5.85083 10 5.85083C10.2761 5.85083 10.5 5.62697 10.5 5.35083H9.5ZM9.5 3.35083V5.35083H10.5V3.35083H9.5ZM6.5 5.35083V3.35083H5.5V5.35083H6.5ZM8 1.85083C8.82843 1.85083 9.5 2.5224 9.5 3.35083H10.5C10.5 1.97012 9.38071 0.85083 8 0.85083V1.85083ZM8 0.85083C6.61929 0.85083 5.5 1.97012 5.5 3.35083H6.5C6.5 2.5224 7.17157 1.85083 8 1.85083V0.85083Z" fill="#299764"/>+<rect x="12.4727" y="5.35083" width="9" height="9" transform="rotate(90 12.4727 5.35083)" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<rect x="3.49414" y="8.32544" width="5" height="2" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<rect x="3.49414" y="10.3254" width="5" height="2" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+</svg>diff --git a/apps/docs/public/img/icons/menu/database-light.svg b/apps/docs/public/img/icons/menu/database-light.svgnew file mode 100644index 00000000000..c44d1fcde15--- /dev/null+++ b/apps/docs/public/img/icons/menu/database-light.svg@@ -0,0 +1,5 @@+<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M3 10.3877H13V14.3877H3V10.3877Z" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<rect x="3.50195" y="6.35059" width="8.99609" height="4" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M3 2.35083H13V6.35083H3V2.35083Z" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+</svg>diff --git a/apps/docs/public/img/icons/menu/extensions-light.svg b/apps/docs/public/img/icons/menu/extensions-light.svgnew file mode 100644index 00000000000..1ba220fa78b--- /dev/null+++ b/apps/docs/public/img/icons/menu/extensions-light.svg@@ -0,0 +1,7 @@+<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">+<rect x="2.08203" y="2.44824" width="5" height="5" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<rect x="8.91797" y="9.25366" width="5" height="5" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M11.418 2.44824V7.44824" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M13.918 4.94849L8.91797 4.94849" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<circle cx="4.58203" cy="11.6418" r="2.5" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+</svg>diff --git a/apps/docs/public/img/icons/menu/functions-light.svg b/apps/docs/public/img/icons/menu/functions-light.svgnew file mode 100644index 00000000000..37dea5670d4--- /dev/null+++ b/apps/docs/public/img/icons/menu/functions-light.svg@@ -0,0 +1,6 @@+<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">+<circle cx="12.625" cy="3.78271" r="2" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<circle cx="3.37109" cy="12.9119" r="2" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M1.85724 11.7101C1.31075 10.7129 1 9.56818 1 8.35083C1 4.48484 4.13401 1.35083 8 1.35083C9.18025 1.35083 10.2923 1.64292 11.2677 2.15877M4.77293 14.5642C5.73858 15.0668 6.83612 15.3508 8 15.3508C11.866 15.3508 15 12.2168 15 8.35083C15 7.16428 14.7048 6.04668 14.1838 5.06748" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<circle cx="8" cy="8.35083" r="4.5" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+</svg>diff --git a/apps/docs/public/img/icons/menu/getting-started-light.svg b/apps/docs/public/img/icons/menu/getting-started-light.svgnew file mode 100644index 00000000000..8767de7774c--- /dev/null+++ b/apps/docs/public/img/icons/menu/getting-started-light.svg@@ -0,0 +1,3 @@+<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M14.0898 8.35083L9.40875 11.0535L4.72766 13.7561L4.72766 8.35083L4.72766 2.94557L9.40875 5.6482L14.0898 8.35083Z" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+</svg>diff --git a/apps/docs/public/img/icons/menu/home-light.svg b/apps/docs/public/img/icons/menu/home-light.svgnew file mode 100644index 00000000000..4188b1807b8--- /dev/null+++ b/apps/docs/public/img/icons/menu/home-light.svg@@ -0,0 +1,5 @@+<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M5.88867 14.1824V8.35083H10.1112V14.1824" fill="#92CEAC"/>+<path d="M5.88867 14.1824V8.35083H10.1112V14.1824" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M13 14.1824L13 5.89109L7.9939 2.37305L3 5.8449L3.00002 14.1824H13Z" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+</svg>diff --git a/apps/docs/public/img/icons/menu/integrations-light.svg b/apps/docs/public/img/icons/menu/integrations-light.svgnew file mode 100644index 00000000000..cea01318cb4--- /dev/null+++ b/apps/docs/public/img/icons/menu/integrations-light.svg@@ -0,0 +1,7 @@+<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">+<rect x="2.08203" y="2.44824" width="5" height="5" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<rect x="8.91797" y="9.19775" width="5" height="5" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M11.418 2.44824V7.44824" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M13.918 4.94849L8.91797 4.94849" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<circle cx="4.58154" cy="11.6978" r="2.68506" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+</svg>diff --git a/apps/docs/public/img/icons/menu/integrations.svg b/apps/docs/public/img/icons/menu/integrations.svgindex 6819b3bf467..1e0027051c8 100644--- a/apps/docs/public/img/icons/menu/integrations.svg+++ b/apps/docs/public/img/icons/menu/integrations.svg@@ -1,7 +1,7 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">-<rect x="2.08203" y="2.09741" width="5" height="5" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/>-<rect x="8.91797" y="8.90283" width="5" height="5" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/>-<path d="M11.4178 2.09741V7.09741" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/>-<path d="M13.918 4.59756L8.91797 4.59756" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/>-<circle cx="4.58203" cy="11.291" r="2.5" fill="#133929" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">+<rect x="2.08203" y="2.44824" width="5" height="5" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<rect x="8.91797" y="9.19775" width="5" height="5" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M11.418 2.44824V7.44824" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M13.918 4.94849L8.91797 4.94849" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<circle cx="4.58154" cy="11.6978" r="2.68506" fill="#133929" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/></svg>diff --git a/apps/docs/public/img/icons/menu/platform-light.svg b/apps/docs/public/img/icons/menu/platform-light.svgnew file mode 100644index 00000000000..8712e24c76f--- /dev/null+++ b/apps/docs/public/img/icons/menu/platform-light.svg@@ -0,0 +1,5 @@+<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M8.6543 14.998L1.65723 10.071L6.25033 6.70785L8.68326 8.30557L11.0318 6.70785L15.6931 10.071L8.6543 14.998Z" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M8.65822 11.5326L2.9209 7.49266L5.12005 5.90503L8.65822 8.30709L12.2175 5.90503L14.4298 7.49266L8.65822 11.5326Z" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M8.66086 8.3811L3.94678 5.06167L8.66086 1.65845L13.403 5.06167L8.66086 8.3811Z" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+</svg>diff --git a/apps/docs/public/img/icons/menu/realtime-light.svg b/apps/docs/public/img/icons/menu/realtime-light.svgnew file mode 100644index 00000000000..3cea218cd72--- /dev/null+++ b/apps/docs/public/img/icons/menu/realtime-light.svg@@ -0,0 +1,6 @@+<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M4.55762 4.87402L9.07535 15.2056L10.2522 10.6476L15.0002 9.46582L4.55762 4.87402Z" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M1.36621 1.63246L3.49715 3.82855" stroke="#299764" stroke-miterlimit="10"/>+<line x1="5.3623" y1="1.33521" x2="5.3623" y2="3.68408" stroke="#299764" stroke-miterlimit="10"/>+<line x1="3.41797" y1="5.55371" x2="1.05225" y2="5.55371" stroke="#299764" stroke-miterlimit="10"/>+</svg>diff --git a/apps/docs/public/img/icons/menu/reference-light.svg b/apps/docs/public/img/icons/menu/reference-light.svgnew file mode 100644index 00000000000..1e241072ca2--- /dev/null+++ b/apps/docs/public/img/icons/menu/reference-light.svg@@ -0,0 +1,7 @@+<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">+<circle cx="3.80957" cy="4.18384" r="2" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<circle cx="3.80957" cy="12.4998" r="2" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<circle cx="12.1719" cy="4.18384" r="2" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<circle cx="12.1719" cy="12.4998" r="2" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M13.8599 8.35063C13.8599 7.32241 13.5951 6.35605 13.13 5.51601M7.9998 14.2108C9.08655 14.2108 10.1042 13.915 10.9766 13.3995M2.13965 8.35063C2.13965 9.41733 2.42465 10.4175 2.92267 11.279M7.9998 2.49048C6.91075 2.49048 5.89108 2.78755 5.01742 3.30508" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+</svg>diff --git a/apps/docs/public/img/icons/menu/storage-light.svg b/apps/docs/public/img/icons/menu/storage-light.svgnew file mode 100644index 00000000000..308b5750387--- /dev/null+++ b/apps/docs/public/img/icons/menu/storage-light.svg@@ -0,0 +1,5 @@+<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M3 14.3511H13V5.95202L9.38184 2.35107H3V14.3511Z" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M9.38037 2.35083L12.9648 5.9353L9.38037 5.9353L9.38037 2.35083Z" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M2 6.35059H4.87717L6.41088 7.85952H14V14.3506H2V6.35059Z" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+</svg>diff --git a/apps/docs/public/img/icons/menu/tutorials-light.svg b/apps/docs/public/img/icons/menu/tutorials-light.svgnew file mode 100644index 00000000000..97c14dfbd7a--- /dev/null+++ b/apps/docs/public/img/icons/menu/tutorials-light.svg@@ -0,0 +1,4 @@+<svg width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M14 8.35083C14 11.6645 11.3137 14.3508 8 14.3508C4.68629 14.3508 2 11.6645 2 8.35083C2 5.03712 4.68629 2.35083 8 2.35083C11.3137 2.35083 14 5.03712 14 8.35083Z" fill="#92CEAC" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>+<path d="M8.09939 6.94606C8.48901 6.94606 8.77115 6.69079 8.77115 6.28773C8.77115 5.88468 8.48901 5.60254 8.09939 5.60254C7.70977 5.60254 7.42763 5.88468 7.42763 6.28773C7.42763 6.69079 7.70977 6.94606 8.09939 6.94606ZM6.50732 10.7751H9.77879V9.97569H8.6368V7.34911H6.50732V8.12164H7.64931V9.97569H6.50732V10.7751Z" fill="#299764"/>+</svg>