Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add some nice icons

Joshen Lim1832451d234c
diff --git a/studio/components/interfaces/Database/Wrappers/WrapperRow.tsx b/studio/components/interfaces/Database/Wrappers/WrapperRow.tsx
index d9bb520cd85..29fc74949c3 100644
--- a/studio/components/interfaces/Database/Wrappers/WrapperRow.tsx
+++ b/studio/components/interfaces/Database/Wrappers/WrapperRow.tsx
@@ -234,7 +234,9 @@ const WrapperRow: FC<Props> = ({ wrapper, isLoading, isEnabled, isOpen, onOpen }
<InformationBox
hideCollapse
defaultVisibility
- icon={<IconCheckCircle strokeWidth={1.5} className="text-brand-900" />}
+ icon={
+ <IconCheckCircle strokeWidth={1.5} size={18} className="text-brand-900" />
+ }
title={`${wrapper.label} foreign data wrapper is currently enabled`}
description="If you'd like to edit this wrapper, you'll need to disable the wrapper first and create it again with any updated configuration."
/>
diff --git a/studio/components/interfaces/Database/Wrappers/Wrappers.tsx b/studio/components/interfaces/Database/Wrappers/Wrappers.tsx
index 7ec7f107c40..ac6bccba983 100644
--- a/studio/components/interfaces/Database/Wrappers/Wrappers.tsx
+++ b/studio/components/interfaces/Database/Wrappers/Wrappers.tsx
@@ -10,6 +10,7 @@ import { useFDWsQuery } from 'data/fdw/fdws-query'
import { WRAPPERS } from './Wrappers.constants'
import WrapperRow from './WrapperRow'
import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext'
+import Image from 'next/image'
const Wrappers = () => {
const { ui, meta } = useStore()
@@ -149,7 +150,14 @@ const Wrappers = () => {
>
<div className="w-3/5 space-y-8">
<div className="space-y-2">
- <h4 className="text-lg">Supabase Wrappers</h4>
+ <div className="flex items-center space-x-2">
+ {ui.isDarkTheme ? (
+ <Image src="/img/wrappers-icon-dark.svg" width={24} height={24} />
+ ) : (
+ <Image src="/img/wrappers-icon-light.svg" width={24} height={24} />
+ )}
+ <h4 className="text-lg">Supabase Wrappers</h4>
+ </div>
<p className="text-sm text-scale-1100">
Supabase Wrappers is a framework for building Postgres Foreign Data Wrappers (FDW)
which connect Postgres to external systems. Query your data warehouse or
diff --git a/studio/public/img/wrappers-icon-dark.svg b/studio/public/img/wrappers-icon-dark.svg
new file mode 100644
index 00000000000..326b3cca051
--- /dev/null
+++ b/studio/public/img/wrappers-icon-dark.svg
@@ -0,0 +1,7 @@
+<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="8.42358" cy="8.53491" r="6.00024" stroke="#4CC38A" stroke-width="0.917497" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+<path d="M10.1125 9.50186C10.1125 10.1265 11.4611 10.3482 11.1784 10.8584C10.5718 11.9535 9.82183 12.0937 8.48131 12.0937C7.14078 12.0937 6.74417 12.0827 6.1375 10.9876C5.85482 10.4774 6.70466 8.43075 6.70466 7.80613C6.70466 6.73884 5.39301 6.51067 6.13722 5.85849C6.76328 5.30984 7.58346 4.97729 8.48131 4.97729C9.40461 4.97729 9.48016 4.96666 10.1125 5.54336C10.8261 6.19409 10.1125 8.46002 10.1125 9.50186Z" fill="#133929"/>
+<path d="M5.43752 6.28868C6.06251 5.45835 7.02871 4.89147 8.14654 4.80818C8.85979 4.75504 9.54118 4.90575 10.1335 5.21108M6.8169 11.9093C7.3849 12.1805 8.02922 12.3117 8.70189 12.2616C9.82207 12.1781 10.79 11.609 11.4149 10.7758" stroke="#4CC38A" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+<path d="M3.98975 4.46436L7.2269 7.70701C6.68921 8.36035 6.36634 9.19713 6.36634 10.1093C6.36634 12.1986 8.06002 13.8923 10.1493 13.8923C10.6871 13.8923 11.1988 13.78 11.6621 13.5777" stroke="#4CC38A" stroke-width="0.917497" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+<path d="M12.9141 12.6052L9.66596 9.35159C10.2055 8.69605 10.5294 7.85643 10.5294 6.94115C10.5294 4.84482 8.83001 3.14541 6.73368 3.14541C6.194 3.14541 5.68063 3.25804 5.21579 3.46108" stroke="#4CC38A" stroke-width="0.917497" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+</svg>
diff --git a/studio/public/img/wrappers-icon-light.svg b/studio/public/img/wrappers-icon-light.svg
new file mode 100644
index 00000000000..950d515a97d
--- /dev/null
+++ b/studio/public/img/wrappers-icon-light.svg
@@ -0,0 +1,7 @@
+<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
+<circle cx="8.42358" cy="8.53491" r="6.00024" stroke="#299764" stroke-width="0.917497" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+<path d="M10.1125 9.50186C10.1125 10.1265 11.4611 10.3482 11.1784 10.8584C10.5718 11.9535 9.82183 12.0937 8.48131 12.0937C7.14078 12.0937 6.74417 12.0827 6.1375 10.9876C5.85482 10.4774 6.70466 8.43075 6.70466 7.80613C6.70466 6.73884 5.39301 6.51067 6.13722 5.85849C6.76328 5.30984 7.58346 4.97729 8.48131 4.97729C9.40461 4.97729 9.48016 4.96666 10.1125 5.54336C10.8261 6.19409 10.1125 8.46002 10.1125 9.50186Z" fill="#92CEAC"/>
+<path d="M5.43752 6.28868C6.06251 5.45835 7.02871 4.89147 8.14654 4.80818C8.85979 4.75504 9.54118 4.90575 10.1335 5.21108M6.8169 11.9093C7.3849 12.1805 8.02922 12.3117 8.70189 12.2616C9.82207 12.1781 10.79 11.609 11.4149 10.7758" stroke="#299764" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+<path d="M3.98975 4.46436L7.2269 7.70701C6.68921 8.36035 6.36634 9.19713 6.36634 10.1093C6.36634 12.1986 8.06002 13.8923 10.1493 13.8923C10.6871 13.8923 11.1988 13.78 11.6621 13.5777" stroke="#299764" stroke-width="0.917497" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+<path d="M12.9141 12.6052L9.66596 9.35159C10.2055 8.69605 10.5294 7.85643 10.5294 6.94115C10.5294 4.84482 8.83001 3.14541 6.73368 3.14541C6.194 3.14541 5.68063 3.25804 5.21579 3.46108" stroke="#299764" stroke-width="0.917497" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+</svg>