From 93df95bfc052ce2a9cedb017d589daa1a9c36bf7 Mon Sep 17 00:00:00 2001 From: Paul Copplestone Date: Wed, 2 Dec 2020 14:20:43 +0800 Subject: [PATCH] Adjusts colors --- www/components/AdminAccess/index.tsx | 2 +- www/components/BuiltWithSupabase/index.tsx | 4 +- www/components/Button.tsx | 2 +- www/components/Card.tsx | 34 ++++------- www/components/CaseStudies/benchmark.tsx | 6 +- www/components/CaseStudies/index.tsx | 4 +- www/components/Features/index.tsx | 2 +- www/components/Footer/index.tsx | 9 ++- www/components/Hero.tsx | 8 +-- .../MadeForDevelopers/CodeExamples.tsx | 60 +++++++++---------- www/components/MadeForDevelopers/index.tsx | 4 +- www/components/Nav/FlyOut.tsx | 15 +++-- www/components/Nav/index.tsx | 2 +- www/components/UI/SectionHeader.tsx | 10 ++-- www/data/CodeEditorTheme.js | 30 +++++----- www/tailwind.config.js | 29 ++++++--- 16 files changed, 109 insertions(+), 112 deletions(-) diff --git a/www/components/AdminAccess/index.tsx b/www/components/AdminAccess/index.tsx index 6956ee2748f..0ccb8ad0c98 100644 --- a/www/components/AdminAccess/index.tsx +++ b/www/components/AdminAccess/index.tsx @@ -6,7 +6,7 @@ const AdminAccess = () => { const [tabId, setTabId] = useState('tabTableEditor') return ( -
+
diff --git a/www/components/BuiltWithSupabase/index.tsx b/www/components/BuiltWithSupabase/index.tsx index 3494c668cdb..7f6fde6b1ca 100644 --- a/www/components/BuiltWithSupabase/index.tsx +++ b/www/components/BuiltWithSupabase/index.tsx @@ -4,9 +4,9 @@ import ProjectExamples from "data/ProjectExamples.json" const BuiltExamples = () => { return ( -
+
-
+
diff --git a/www/components/Button.tsx b/www/components/Button.tsx index f075e658678..458ce97d967 100644 --- a/www/components/Button.tsx +++ b/www/components/Button.tsx @@ -19,7 +19,7 @@ const Button = (props: Props) => { const colorClass = type === 'primary' ? 'px-3 py-2 shadow-sm border border-transparent text-white bg-brand-600 hover:bg-brand-700 focus:ring-2 focus:ring-offset-2 focus:ring-brand-500' - : 'text-brand-600 bg-none' + : 'text-brand-700 bg-none' const textClass = type === 'primary' ? 'font-medium left-3 group-hover:left-0' diff --git a/www/components/Card.tsx b/www/components/Card.tsx index 18b59ee0d03..4fe7bc98930 100644 --- a/www/components/Card.tsx +++ b/www/components/Card.tsx @@ -49,46 +49,36 @@ const Card = (props: Props) => { }) return ( - +
- {title} + {title}
-
+
{/* {icons && (
{iconMarkup}
)} */} -

- {type} -

+

{type}

{/* {logoUrl && } */} {title &&

{title}

} -

- {description} -

+

{description}

{type === 'Case Study' && postMeta.name.length > 0 && (
{postMeta.name} - +
-

- {postMeta.name} -

+

{postMeta.name}

@@ -97,7 +87,7 @@ const Card = (props: Props) => {
)} - { ctaText &&
) diff --git a/www/components/CaseStudies/benchmark.tsx b/www/components/CaseStudies/benchmark.tsx index 20a71f3b86b..0fa0c2db4aa 100644 --- a/www/components/CaseStudies/benchmark.tsx +++ b/www/components/CaseStudies/benchmark.tsx @@ -3,13 +3,13 @@ import Button from 'components/Button' const Benchmark = () => { return (
-
+
-

Record breaking speed and reliability

-

+

Record breaking speed and reliability

+

Supabase is already enterprise level and we’re blown away by the speed! Sign up for our public benchmark release and we’ll email it to you

diff --git a/www/components/CaseStudies/index.tsx b/www/components/CaseStudies/index.tsx index d75995400f1..c74f7183377 100644 --- a/www/components/CaseStudies/index.tsx +++ b/www/components/CaseStudies/index.tsx @@ -5,9 +5,9 @@ import CaseStudiesData from "data/CaseStudies.json" const CaseStudies = () => { return ( -
+
-
+
diff --git a/www/components/Features/index.tsx b/www/components/Features/index.tsx index 8c320864bf0..82f6a51f52a 100644 --- a/www/components/Features/index.tsx +++ b/www/components/Features/index.tsx @@ -34,7 +34,7 @@ const Features = () => { }) return ( -
+
{ ) return ( -
-
- {buttons} -
+
{buttons}
) } diff --git a/www/components/MadeForDevelopers/index.tsx b/www/components/MadeForDevelopers/index.tsx index 62a4b60b0e9..6f1cbdcab25 100644 --- a/www/components/MadeForDevelopers/index.tsx +++ b/www/components/MadeForDevelopers/index.tsx @@ -7,7 +7,7 @@ import DeveloperFeatures from 'data/DeveloperFeatures.json' const MadeForDevelopers = () => { return ( -
+
@@ -32,7 +32,7 @@ const MadeForDevelopers = () => { {DeveloperFeatures.map((feature: any, idx: number) => { const blockClass = idx !== DeveloperFeatures.length - 1 - ? 'col-span-12 mb-10 sm:mb-0 sm:col-span-3 sm:border-r-2 sm:border-gray-200 sm:pr-4 md:pr-6 dark:border-dark-200' + ? 'col-span-12 mb-10 sm:mb-0 sm:col-span-3 sm:border-r-2 sm:border-gray-200 sm:pr-4 md:pr-6 dark:border-dark-500' : 'col-span-12 sm:col-span-3' return ( diff --git a/www/components/Nav/FlyOut.tsx b/www/components/Nav/FlyOut.tsx index 84d3a08d0f9..fbeacfc2de5 100644 --- a/www/components/Nav/FlyOut.tsx +++ b/www/components/Nav/FlyOut.tsx @@ -80,7 +80,7 @@ const FlyOut = () => { > Product { }} >
@@ -134,9 +134,12 @@ const FlyOut = () => { Latest news