Skip to content

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

fix: typography color

Jonathan Summers-Muird90f8b01337f
diff --git a/www/components/Carousels/ImageCarousel.tsx b/www/components/Carousels/ImageCarousel.tsx
index aeb6b1c311d..8f6c1481371 100644
--- a/www/components/Carousels/ImageCarousel.tsx
+++ b/www/components/Carousels/ImageCarousel.tsx
@@ -163,7 +163,9 @@ function ImageCarousel(props: ImageCarouselProps) {
<SwiperSlide key={i}>
<div className="bg-white dark:bg-gray-800">
<Typography.Title level={4}>{content.title}</Typography.Title>
- <p className="text-base">{content.text}</p>
+ <Typography.Text>
+ <p className="text-base">{content.text}</p>
+ </Typography.Text>
{content.url && (
<Typography.Text>
<Link href={content.url} as={content.url}>
diff --git a/www/components/FeatureColumn.tsx b/www/components/FeatureColumn.tsx
index c8b02744970..8cb2b5958f7 100644
--- a/www/components/FeatureColumn.tsx
+++ b/www/components/FeatureColumn.tsx
@@ -3,7 +3,9 @@ import { Typography } from '@supabase/ui'
function FeatureColumn({ icon, title, text }: any) {
return (
<>
- <p>{icon}</p>
+ <Typography.Text>
+ <p>{icon}</p>
+ </Typography.Text>
<Typography.Title level={4}>{title}</Typography.Title>
<Typography.Text>
<p>{text}</p>
diff --git a/www/components/Sections/APISection.tsx b/www/components/Sections/APISection.tsx
index f4ce31c3d41..a35f76c0fd8 100644
--- a/www/components/Sections/APISection.tsx
+++ b/www/components/Sections/APISection.tsx
@@ -36,7 +36,7 @@ function APISection(props: Props) {
<div className="grid grid-cols-12 lg:gap-16">
<div className="col-span-12 lg:col-span-5 xl:col-span-5 pb-8">
<Typography.Title level={2}>{props.title}</Typography.Title>
- {props.text}
+ <Typography.Text>{props.text}</Typography.Text>
{props.documentation_link && (
<Link href={props.documentation_link} as={props.documentation_link}>
<a>
diff --git a/www/package-lock.json b/www/package-lock.json
index 2d6a61d076d..7cc1a17da07 100644
--- a/www/package-lock.json
+++ b/www/package-lock.json
@@ -1721,9 +1721,9 @@
}
},
"@supabase/ui": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.21.5.tgz",
- "integrity": "sha512-dB18tkWBWLWOS1VYQPEAECAPqXmp44n2KXGVb6GEC1gYL/RmnQwVFSG01oO4MalIFTnYo47gCBfcSkDcR5o02A==",
+ "version": "0.22.0",
+ "resolved": "https://registry.npmjs.org/@supabase/ui/-/ui-0.22.0.tgz",
+ "integrity": "sha512-lgsmDJkPduq1KVxFgbWz90Fu+OO3I8a1zM5QO5SKP8JYaiwzwaqGmqpEig+O5ZjzbaObOZtoiHmPTHHcvaEpGw==",
"requires": {
"lodash": "^4.17.20",
"prop-types": "^15.7.2",
diff --git a/www/package.json b/www/package.json
index 03e4ce646fa..8e450f7a71d 100644
--- a/www/package.json
+++ b/www/package.json
@@ -16,7 +16,7 @@
"@mdx-js/react": "^1.6.22",
"@next/mdx": "^10.0.7",
"@supabase/supabase-js": "^1.6.0",
- "@supabase/ui": "^0.21.5",
+ "@supabase/ui": "^0.22.0",
"classnames": "2.2.6",
"date-fns": "2.10.0",
"gray-matter": "^4.0.2",
diff --git a/www/pages/auth/Auth.tsx b/www/pages/auth/Auth.tsx
index 0f2afd687da..7b2f4e1f863 100644
--- a/www/pages/auth/Auth.tsx
+++ b/www/pages/auth/Auth.tsx
@@ -140,9 +140,11 @@ function AuthPage() {
</Typography.Text>
</div>
<div className="mb-10 lg:mb-0 col-span-12 lg:col-span-3 lg:col-start-5">
- <p className="mb-4">
- <IconLink />
- </p>
+ <Typography.Text>
+ <p className="mb-4">
+ <IconLink />
+ </p>
+ </Typography.Text>
<Typography.Title level={4}>Fully integrated</Typography.Title>
<Typography.Text>
<p className="text-base lg:text-lg">
@@ -152,9 +154,11 @@ function AuthPage() {
</Typography.Text>
</div>
<div className="col-span-12 lg:col-span-3 lg:col-start-9">
- <p className="mb-4">
- <IconShield />
- </p>
+ <Typography.Text>
+ <p className="mb-4">
+ <IconShield />
+ </p>
+ </Typography.Text>
<Typography.Title level={4}>Own your data</Typography.Title>
<Typography.Text>
<p className="text-base lg:text-lg">
@@ -231,8 +235,8 @@ function AuthPage() {
<Typography.Text>
<p className="text-base lg:text-lg">
Supabase Auth works without any additional servers. Build Authorization rules with
- Postgres' Row Level Security, controlling who can create, edit
- and delete specific rows in your database.
+ Postgres' Row Level Security, controlling who can create, edit and delete specific
+ rows in your database.
</p>
<p>Policies can be written in SQL or using the dashboard online.</p>
</Typography.Text>
@@ -277,8 +281,8 @@ function AuthPage() {
Pre-built auth widgets to get started in minutes.
</p>
<p>
- Supabase provides React libraries which handle common scenarios, including logging in,
- signing up, magic link and forgot password forms.
+ Supabase provides React libraries which handle common scenarios, including logging
+ in, signing up, magic link and forgot password forms.
</p>
</Typography.Text>
<Link
diff --git a/www/pages/database/Database.tsx b/www/pages/database/Database.tsx
index 55b30d81896..112f780cd86 100644
--- a/www/pages/database/Database.tsx
+++ b/www/pages/database/Database.tsx
@@ -111,13 +111,18 @@ function Database() {
<SectionContainer>
<div className="grid grid-cols-12">
<div className="mb-10 lg:mb-0 col-span-12 lg:col-span-3">
- <p className="mb-4">
- <Space>
- <ProductIcon icon={Solutions['database'].icon} />
- <IconX />
- <img src={`${basePath}/images/product/database/postgresql-icon.svg`} width={30} />
- </Space>
- </p>
+ <Typography.Text>
+ <p className="mb-4">
+ <Space>
+ <ProductIcon icon={Solutions['database'].icon} />
+ <IconX />
+ <img
+ src={`${basePath}/images/product/database/postgresql-icon.svg`}
+ width={30}
+ />
+ </Space>
+ </p>
+ </Typography.Text>
<Typography.Title level={4}>Just Postgres</Typography.Title>
<Typography.Text>
<p className="text-base lg:text-lg">
@@ -129,13 +134,15 @@ function Database() {
</Typography.Text>
</div>
<div className="mb-10 lg:mb-0 col-span-12 lg:col-span-3 lg:col-start-5">
- <p className="mb-4">
- <Space>
- <ProductIcon icon={Solutions['database'].icon} />
- <IconX />
- <ProductIcon icon={Solutions['authentication'].icon} />
- </Space>
- </p>
+ <Typography.Text>
+ <p className="mb-4">
+ <Space>
+ <ProductIcon icon={Solutions['database'].icon} />
+ <IconX />
+ <ProductIcon icon={Solutions['authentication'].icon} />
+ </Space>
+ </p>
+ </Typography.Text>
<Typography.Title level={4}>Built-in Auth</Typography.Title>
<Typography.Text>
<p className="text-base lg:text-lg">
@@ -148,9 +155,11 @@ function Database() {
</Typography.Text>
</div>
<div className="col-span-12 lg:col-span-3 lg:col-start-9">
- <p className="mb-4">
- <IconShuffle />
- </p>
+ <Typography.Text>
+ <p className="mb-4">
+ <IconShuffle />
+ </p>
+ </Typography.Text>
<Typography.Title level={4}>Realtime enabled</Typography.Title>
<Typography.Text>
<p className="text-base lg:text-lg">Data-change listeners over websockets.</p>
diff --git a/www/styles/index.css b/www/styles/index.css
index 843bf3a43c2..c0a327b4f7f 100644
--- a/www/styles/index.css
+++ b/www/styles/index.css
@@ -75,7 +75,6 @@ h2 {
}
p {
- @apply text-gray-light dark:text-gray-dark;
margin-bottom: 16px;
}
@@ -200,7 +199,6 @@ table .thead--plans th {
border-collapse: separate;
top: 76px;
z-index: 5;
-
}
/* th {