Skip to content

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

chore: some little border color changes

Jonathan Summers-Muirdae872c5d61e
diff --git a/www/components/Nav/Product.tsx b/www/components/Nav/Product.tsx
index 6957567ef17..1b5b109c64b 100644
--- a/www/components/Nav/Product.tsx
+++ b/www/components/Nav/Product.tsx
@@ -15,14 +15,10 @@ const Product = () => {
<div className="flex lg:flex-col">
<div className="flex flex-row items-center">
<ProductIcon icon={icon} />
- <div>
- <h5 className="ml-3 mb-0">{name}</h5>
- </div>
+ <h5 className="ml-3 mb-0 text-base text-scale-1200">{name}</h5>
</div>
- <div className="ml-4 md:flex-1 md:flex md:flex-col md:justify-between lg:ml-0 lg:mt-4">
- <p>
- <p className="mt-1 text-sm">{description}</p>
- </p>
+ <div className="ml-4 md:flex-1 md:flex md:flex-col md:justify-between lg:ml-0 mt-3">
+ <p className="text-sm text-scale-1000">{description}</p>
{label && (
<div>
<Badge>{label}</Badge>
@@ -36,7 +32,7 @@ const Product = () => {
<a
key={name}
href={url}
- className="p-3 col-span-6 rounded hover:bg-gray-50 dark:hover:bg-scale-500 transition"
+ className="p-3 col-span-6 rounded hover:bg-scale-300 dark:hover:bg-scale-500 transition"
>
{content}
</a>
@@ -46,8 +42,8 @@ const Product = () => {
return (
<div className="grid grid-cols-12">
- <nav className="col-span-6" aria-labelledby="solutionsHeading">
- <div className="grid grid-cols-12 m-3 gap-3">{iconSections}</div>
+ <nav className="col-span-6" aria-labelledby="product">
+ <div className="grid grid-cols-12 m-3 gap-x-8 gap-y-4 py-4 pr-3">{iconSections}</div>
</nav>
<div className="col-span-6">
<div className="m-3 mx-6">
@@ -61,7 +57,17 @@ const Product = () => {
<li className="flow-root" key={`flyout_case_${idx}`}>
<a
href={caseStudy.url}
- className="p-3 flex rounded-lg hover:bg-gray-100 dark:hover:bg-scale-500 transition ease-in-out duration-150 border dark:border-gray-600 items-center"
+ className="p-3 flex rounded-lg
+
+ transition ease-in-out duration-150
+
+ hover:bg-scale-400
+ dark:hover:bg-scale-500
+
+ border
+ dark:border-scale-400
+
+ items-center"
>
<div className="hidden sm:block flex-shrink-0">
<img
diff --git a/www/components/Nav/index.tsx b/www/components/Nav/index.tsx
index 9789b09320e..c43ba8e0a96 100644
--- a/www/components/Nav/index.tsx
+++ b/www/components/Nav/index.tsx
@@ -184,7 +184,7 @@ const Nav = () => {
<Announcement />
<div className="sticky top-0 z-50">
<div className="absolute w-full h-full bg-scale-200 top-0 opacity-80"></div>
- <nav className="backdrop-blur-sm border-b border-scale-900">
+ <nav className="backdrop-blur-sm border-b border-scale-400">
{/* <div className="lg:container mx-auto relative flex justify-between h-16 lg:px-10 xl:px-0"> */}
<div className="lg:container mx-auto relative flex justify-between h-16 lg:px-16 xl:px-20">
<HamburgerButton toggleFlyOut={() => setOpen(true)} />
diff --git a/www/components/ProductIcon.tsx b/www/components/ProductIcon.tsx
index 2ba6ce62f1a..13b69236812 100644
--- a/www/components/ProductIcon.tsx
+++ b/www/components/ProductIcon.tsx
@@ -4,15 +4,15 @@ interface ProductIcon {
function ProductIcon({ icon }: ProductIcon) {
return (
- <div className="inline-flex items-center justify-center rounded-md bg-gray-800 dark:bg-white text-white h-8 w-8">
+ <div className="inline-flex items-center justify-center rounded-md bg-scale-1200 text-scale-100 h-8 w-8">
<svg
- className="h-4 w-4 stroke-white dark:stroke-black"
+ className="h-5 w-5 stroke-white dark:stroke-black"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
aria-hidden="true"
>
- <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d={icon} />
+ <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5" d={icon} />
</svg>
</div>
)
diff --git a/www/components/UI/FlyOut.tsx b/www/components/UI/FlyOut.tsx
index be07efb0615..449b6c5d696 100644
--- a/www/components/UI/FlyOut.tsx
+++ b/www/components/UI/FlyOut.tsx
@@ -36,13 +36,13 @@ const FlyOut = (props: Props) => {
<>
<div className="absolute inset-x-0 transform shadow-lg ">
<div
- className="border-b dark:border-gray-600 absolute inset-0 flex sm:flex-col lg:flex-row"
+ className="border-b dark:border-scale-500 absolute inset-0 flex sm:flex-col lg:flex-row"
aria-hidden="true"
>
- <div className="bg-white dark:bg-scale-300 border-r dark:border-gray-600 sm:w-full sm:h-1/2 lg:w-1/2 lg:h-full" />
+ <div className="bg-white dark:bg-scale-200 border-r dark:border-scale-400 sm:w-full sm:h-1/2 lg:w-1/2 lg:h-full" />
<div
className={`${
- singleBgColor ? 'bg-white dark:bg-dark-600' : 'bg-gray-50 dark:bg-scale-300'
+ singleBgColor ? 'bg-white dark:bg-scale-200' : 'bg-gray-50 dark:bg-scale-200'
} sm:w-full sm:h-1/2 lg:w-1/2 lg:h-full`}
/>
</div>