Overview
The Sunflower Capital website uses a highly customized Tailwind CSS configuration that defines the brand’s visual identity through custom colors, typography scales, and responsive breakpoints.Configuration File
The Tailwind configuration is located attailwind.config.ts in the project root.
Brand Colors
The color palette reflects Sunflower Capital’s natural, earthy aesthetic:The primary background color for the site is
dark-green (#03351A), with offwhite (#FFF9DE) used for text and contrast.Color Palette Reference
| Color Name | Hex Code | Usage |
|---|---|---|
offwhite | #FFF9DE | Primary text, backgrounds |
dark-green | #03351A | Primary background, brand color |
dark-brown | #4F3A26 | Accents, headings |
darkish-brown | #704F38 | Secondary accents |
light-grey | #B9A89A | Subtle text, borders |
offblack | #010101 | Strong contrast text |
Typography
Font Families
Three custom font families are configured:tailwind.config.ts
font-arya- Arya font for headings and display textfont-bitter- Bitter font for body textfont-bitter-italic- Bitter italic variant
Font Sizes
Custom font size scales for titles (t-prefix) and body text (b-prefix):Title Sizes (t-prefix)
Title Sizes (t-prefix)
text-txl, text-tlg, text-tmd, text-tsm.Body Sizes (b-prefix)
Body Sizes (b-prefix)
Line Heights
Responsive Breakpoints
Custom screen breakpoints tailored to the site’s design:tailwind.config.ts
The site includes extensive media queries for aspect ratios in
globals.css to handle ultra-wide displays and portrait orientations.Animations & Transitions
Custom Animations
tailwind.config.ts
animate-spin- 3-second continuous rotationduration-2000- 2-second transition duration
Content Paths
Tailwind scans these paths for class names:Customization Guide
Adding a New Color
tailwind.config.ts
bg-new-color, text-new-color, border-new-color, etc.
Adding a Font Size
text-custom.
Adding a Breakpoint
3xl:text-b2xl, 3xl:hidden, etc.
Related Documentation
Custom Fonts
Learn about Arya and Bitter font loading
Animations
CSS animations and interactive effects