Skip to content

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

Sync zoomable modal bg color

Francesco Sansalvadorecafe478e3d7e
diff --git a/apps/www/_blog/2023-08-09-supabase-studio-3-0.mdx b/apps/www/_blog/2023-08-09-supabase-studio-3-0.mdx
index 4a79f060d79..061e1c9639b 100644
--- a/apps/www/_blog/2023-08-09-supabase-studio-3-0.mdx
+++ b/apps/www/_blog/2023-08-09-supabase-studio-3-0.mdx
@@ -59,11 +59,19 @@ Today, we're releasing a huge improvement to our SQL Editor. First up, we've add
Supabase AI is aware of the SQL snippet in the editor and can modify it for you. You can ask it to change `customers` to `customer_orders`, for example. You can interact with the code the same way you would converse with ChatGPT until it's just right.
-<Img src="/images/blog/launch-week-8/day-3/create-orders.png" alt="Create a table" />
+<Img
+ src="/images/blog/launch-week-8/day-3/create-orders.png"
+ alt="Create a table"
+ zoomable={false}
+/>
Next, we've added a diff view for changes that Supabase AI makes to your SQL snippet. You can tell Supabase AI what you want changed, and visualize it as you would a Git diff. From this view, you can accept or reject the diffs, and keep asking Supabase AI to make changes until you're satisfied.
-<Img src="/images/blog/launch-week-8/day-3/create-orders-diff.png" alt="Create a table diff" />
+<Img
+ src="/images/blog/launch-week-8/day-3/create-orders-diff.png"
+ alt="Create a table diff"
+ zoomable={false}
+/>
We've wondered for a long time how to make it easier to teach developers how to use SQL. It's fortunate we didn't solve this problem too quickly, as it turns out that AI does a much better job than we could do ourselves.
@@ -110,7 +118,11 @@ Massive thanks to [HTMHell](https://github.com/HTMHell) (amazing handle btw) for
Speaking of commonly requested features, this one has to be in the all-time top 5. Your beautiful, hand-crafted SQL snippets used to be yours and yours alone. Now you can share them with team members and let them bask in your technical prowess.
-<Img src="/images/blog/launch-week-8/day-3/share-query.png" alt="Share SQL Snippets" />
+<Img
+ src="/images/blog/launch-week-8/day-3/share-query.png"
+ alt="Share SQL Snippets"
+ zoomable={false}
+/>
You can create a set of project-wide snippets for doing common tasks, making it faster to collaborate and build. To share a snippet, just take a personal snippet that ~~Supabase AI~~ you wrote and share it with the project. It will show up in a new Project Snippets list that's visible to everyone on the team.
diff --git a/apps/www/components/ZoomableImg/ZoomContent.tsx b/apps/www/components/ZoomableImg/ZoomContent.tsx
index d76a994efd4..8ba8a64ef18 100644
--- a/apps/www/components/ZoomableImg/ZoomContent.tsx
+++ b/apps/www/components/ZoomableImg/ZoomContent.tsx
@@ -8,6 +8,7 @@ any) => {
[&_img]:rounded-md
[&_img]:border
[&_img]:bg-scale-100
+ [&_img]:dark:bg-scale-200
`}
>
{img}
diff --git a/apps/www/styles/index.css b/apps/www/styles/index.css
index 17712e0971c..fff26b1ec50 100644
--- a/apps/www/styles/index.css
+++ b/apps/www/styles/index.css
@@ -792,7 +792,7 @@ launch week
transition-timing-function: cubic-bezier(0.24, 0.25, 0.05, 1) !important;
}
[data-rmiz-modal-overlay='visible'] {
- background-color: var(--colors-scale1) !important;
+ @apply !bg-scale-100 dark:!bg-scale-200;
opacity: 0.8;
}
[data-rmiz-modal-img] {