Skip to content

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

fix: updated font size for better a11y

Arindam Majumder744ddb0f73a8
diff --git a/apps/www/pages/pricing/index.tsx b/apps/www/pages/pricing/index.tsx
index eb71f1ffd83..a6341f09f44 100644
--- a/apps/www/pages/pricing/index.tsx
+++ b/apps/www/pages/pricing/index.tsx
@@ -179,7 +179,7 @@ export default function IndexPage() {
].join(' ')}
>
{plan.name === 'Pro' && (
- <p className="text-xs text-center py-2 text-white">Most Popular</p>
+ <p className="text-[13px] text-center py-2 text-white">Most Popular</p>
)}
<div
key={plan.name}
@@ -202,7 +202,7 @@ export default function IndexPage() {
{plan.name}
</h3>
{plan.nameBadge && (
- <span className="bg-brand-500 text-brand-1100 rounded-md bg-opacity-30 py-0.5 px-2 text-xs">
+ <span className="bg-brand-500 text-brand-1100 rounded-md bg-opacity-30 py-0.5 px-2 text-[13px]">
{plan.nameBadge}
</span>
)}
@@ -227,7 +227,7 @@ export default function IndexPage() {
<div className="flex items-end gap-2">
<div>
{plan.priceLabel && (
- <p className="text-scale-900 ml-1 text-xs font-normal">
+ <p className="text-scale-900 ml-1 text-[13px] font-normal">
{plan.priceLabel}
</p>
)}
@@ -240,14 +240,14 @@ export default function IndexPage() {
>
${plan.priceMonthly}
</p>
- <p className="text-scale-900 mb-1.5 ml-1 text-xs">
+ <p className="text-scale-900 mb-1.5 ml-1 text-[13px]">
{plan.costUnit}
</p>
</div>
{plan.warning && (
<p className="-mt-2">
- <span className="bg-scale-200 text-brand-1100 border shadow-sm rounded-md bg-opacity-30 py-0.5 px-2 text-xs">
+ <span className="bg-scale-200 text-brand-1100 border shadow-sm rounded-md bg-opacity-30 py-0.5 px-2 text-[13px]">
{plan.warning}
</span>
</p>
@@ -264,10 +264,10 @@ export default function IndexPage() {
].join(' ')}
>
{plan.preface && (
- <p className="text-scale-1100 text-xs mt-2 mb-4">{plan.preface}</p>
+ <p className="text-scale-1100 text-[13px] mt-2 mb-4">{plan.preface}</p>
)}
{/* <p className="text-scale-900 text-sm">Included with plan:</p> */}
- <ul role="list" className="text-xs text-scale-1000">
+ <ul role="list" className="text-[13px] text-scale-1000">
{plan.features.map((feature) => (
<li key={feature} className="flex items-center py-2 first:mt-0">
<IconCheck
@@ -284,7 +284,7 @@ export default function IndexPage() {
<div className="flex flex-col gap-6 mt-auto prose">
<div className="space-y-2 mt-12">
{plan.footer && (
- <p className="text-xs whitespace-pre-wrap">{plan.footer}</p>
+ <p className="text-[13px] whitespace-pre-wrap">{plan.footer}</p>
)}
</div>
<a href={plan.href}>
@@ -323,7 +323,7 @@ export default function IndexPage() {
</div>
</div>
<div className="flex flex-col justify-center lg:col-span-2">
- <ul role="list" className="text-xs text-scale-1000 lg:grid lg:grid-cols-2 lg:gap-x-5">
+ <ul role="list" className="text-[13px] text-scale-1000 lg:grid lg:grid-cols-2 lg:gap-x-5">
{planEnterprise.features.map((feature) => (
<li key={feature} className="flex items-center py-2 first:mt-0">
<IconCheck
@@ -378,7 +378,7 @@ export default function IndexPage() {
/>
</div>
<div className="px-8 -mt-1">
- <p className="text-xs text-scale-900">{addon.price}</p>
+ <p className="text-[13px] text-scale-900">{addon.price}</p>
<div className="flex items-center gap-2 mt-2">
<img
src={`${basePath}/images/pricing/${addon.icon}${
@@ -389,7 +389,7 @@ export default function IndexPage() {
/>
<span className="text-sm text-scale-1200">{addon.name}</span>
</div>
- <p className="mt-2 text-scale-900 text-xs min-h-[40px] lg:min-h-[50px] lg:max-w-[290px]">
+ <p className="mt-2 text-scale-900 text-[13px] min-h-[40px] lg:min-h-[50px] lg:max-w-[290px]">
{addon.description}
</p>
<div className="flex items-center justify-between mt-4 mb-4 lg:mb-8">
@@ -402,7 +402,7 @@ export default function IndexPage() {
</Link>
{addon.name === 'Optimized Compute' ? (
<button
- className="text-brand-1000 text-xs hover:underline "
+ className="text-brand-1000 text-[13px] hover:underline "
onClick={() => setShowComputeModal(true)}
>
{addon.rightCtaText}
@@ -435,7 +435,7 @@ export default function IndexPage() {
className="grid lg:grid-cols-2 gap-8 items-center mt-12 lg:mt-8 max-w-6xl mx-auto"
>
<div>
- <span className="bg-brand-500 text-brand-1100 rounded-md bg-opacity-30 inline-block dark:bg-scale-400 dark:text-scale-1100 py-0.5 px-2 text-xs mt-2">
+ <span className="bg-brand-500 text-brand-1100 rounded-md bg-opacity-30 inline-block dark:bg-scale-400 dark:text-scale-1100 py-0.5 px-2 text-[13px] mt-2">
Available for Pro plan
</span>
<h2 className="text-scale-1200 text-4xl mt-4">Cost control with spend caps</h2>
@@ -782,16 +782,16 @@ export default function IndexPage() {
{plan.priceMonthly}
</span>
{['Pro', 'Free'].includes(plan.name) && (
- <p className="p text-xs mt-1">per month</p>
+ <p className="p text-[13px] mt-1">per month</p>
)}
{['Team'].includes(plan.name) && (
- <p className="p text-xs mt-1">per month</p>
+ <p className="p text-[13px] mt-1">per month</p>
)}
</>
{plan.warning && (
<p className="-mt-2">
- <span className="bg-scale-100 text-brand-1100 border shadow-sm rounded-md bg-opacity-30 py-0.5 px-2 text-xs">
+ <span className="bg-scale-100 text-brand-1100 border shadow-sm rounded-md bg-opacity-30 py-0.5 px-2 text-[13px]">
{plan.warning}
</span>
</p>