From d6a8dfeaa126f278649377eeb54bb0d10a1a82e4 Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Wed, 4 Mar 2026 14:17:37 +0700 Subject: [PATCH] fix: Add typography guidance comment - Recommend .text-base (16px) as minimum readable size - Advise against .text-xs (12px) and .text-sm (14px) for body content - No automatic replacements - guidance only for future development --- src/styles/globals.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/styles/globals.css b/src/styles/globals.css index 0524442a1..3b2e43c24 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -90,3 +90,10 @@ font-size: 1.25rem !important; /* 20px on extra large screens */ } } + +/* + * Typography Best Practices: + * - Use .text-base (16px) as minimum for readable text + * - Avoid .text-xs (12px) and .text-sm (14px) for body content + * - For less emphasis, use color (text-secondary-600) not smaller size + */