Overview
The website uses Next.js with Tailwind CSS for styling. You can customize colors, fonts, and the overall theme by modifying CSS files and layout configurations.Customizing Colors
Background Color
The main background color is set in the root layout. To change it, editsrc/app/layout.tsx:
src/app/layout.tsx
bg-[#0f0f0f] with any hex color:
bg-[#1a1a1a]for a lighter dark backgroundbg-[#000000]for pure blackbg-whitefor a light theme
Text Colors
The website uses several Tailwind color classes throughout: CLI Component (src/components/cli.tsx):
src/app/page.tsx):
Choose your color palette
Decide on primary colors for:
- Main text (currently
text-gray-300) - Secondary text (currently
text-gray-400) - Input commands (currently
text-indigo-300) - Output messages (currently
text-green-300) - Links and accents (currently
text-indigo-300)
Replace color classes
Search for existing color classes in your files and replace them:
- In
src/components/cli.tsxfor terminal colors - In
src/app/page.tsxfor homepage content - Any other custom components you create
Link Underline Colors
Links can have custom underline colors using thedecoration-* classes:
decoration-blue-500decoration-green-500decoration-orange-300decoration-red-500- Or any Tailwind color
Customizing Fonts
GeistMono Font
The website uses the GeistMono variable font. The configuration is insrc/app/layout.tsx:
src/app/layout.tsx
Using a Different Font
Using Google Fonts
You can also use Next.js Google Fonts integration:src/app/layout.tsx
Courier_PrimeSpace_MonoRoboto_MonoJetBrains_MonoFira_Code
Global CSS Customization
Thesrc/app/globals.css file uses Tailwind v4 syntax:
src/app/globals.css
src/app/globals.css
Dark Theme Support
To add automatic dark mode detection:Remove hardcoded background
Change the
<html> class from a fixed color to a responsive one:src/app/layout.tsx
Common Styling Patterns
Hover Effects
The homepage links use hover effects:Responsive Layout
The social links adjust for mobile:Spacing and Layout
p-4- Padding on all sidesmt-16- Top marginmb-4- Bottom margingap-4- Space between flex itemsflex-col- Vertical stacking