TalwindCSS Update #10
Reference in New Issue
Block a user
Delete Branch "adilallo/TailwindCSSUpdate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Update Design Token System and Font Optimization
Overview
This PR implements a comprehensive design token system using Tailwind CSS v4, optimizes font loading, and ensures consistent typography across all components. The changes establish a single source of truth for design values and resolve font weight conflicts.
Changes
app/tailwind.csswith spacing, colors, typography, shadows, and border radius tokensapp/layout.jsto load all required font weights (400, 500, 600, 700, 800) withdisplay: "swap"for better performancep-8=var(--spacing-scale-032))Key Components Updated
rounded-[var(--spacing-scale-008)])max-w-[var(--spacing-measures-max-width-lg)])How to Test
npm run devand verify all components render correctlynpm run storybookto verify component stories display correctly