- String Mint:
#75F8CC(RGB: 117, 248, 204) - String Dark:
#33373B(RGB: 51, 55, 59) - String Light:
#C0F4FB(RGB: 192, 244, 251) - White:
#FFFFFF
- String Mint: Primary accent, buttons, highlights, active states
- String Dark: Text, backgrounds, headers
- String Light: Secondary accents, subtle backgrounds
- White: Main backgrounds, cards
// Primary Button
className="bg-string-mint text-string-dark hover:bg-string-mint-light px-4 py-2 rounded-xl font-medium transition-colors"
// Secondary Button
className="bg-white border border-gray-200 text-string-dark hover:bg-gray-50 px-4 py-2 rounded-xl font-medium transition-colors"
// Text Button
className="text-string-mint hover:text-string-mint-light font-medium transition-colors"className="bg-white rounded-xl p-6 shadow-sm border border-gray-100 hover:border-string-mint transition-colors"// Main Header
className="text-3xl font-bold text-string-dark"
// Section Header
className="text-xl font-semibold text-string-dark"
// Card Header
className="text-lg font-medium text-string-dark"- Hover states: Use
hover:border-string-mintfor subtle interactions - Active states: Use
border-string-mint text-string-mintfor selection - Transitions: Always include
transition-colorsortransition-all duration-200
- Container max-width:
max-w-4xlormax-w-7xl - Section spacing:
space-y-6orspace-y-8 - Card padding:
p-6orp-8 - Button padding:
px-4 py-2orpx-6 py-3
- Cards:
rounded-xl - Buttons:
rounded-xl - Small elements:
rounded-lg - Avatars:
rounded-2xl
- Display:
text-3xl font-bold - Heading:
text-xl font-semibold - Subheading:
text-lg font-medium - Body:
text-smortext-base - Caption:
text-xs
Components should support both light and dark themes using the t() helper function:
const t = (light: string, dark: string) => isDark ? dark : light;
// Usage
className={`${t('bg-white', 'bg-string-dark')} ${t('text-string-dark', 'text-white')}`}