Overview
This portfolio uses a comprehensive Spotify-inspired theme with custom utility classes, global styles, and a dark-first design approach. All customization is done through Tailwind CSS and global CSS files.Global Styles
The main stylesheet is located atsrc/app/globals.css:1:
Spotify Color System
The theme includes extended color utilities beyond the base Tailwind config. These are defined insrc/app/globals.css:9:
Background Colors
- Color Palette
- CSS Implementation
| Utility Class | Hex Color | Usage |
|---|---|---|
bg-spotify-green | #1DB954 | Primary actions, CTAs |
bg-spotify-dark-green | #189a45 | Hover states for green elements |
bg-spotify-black | #121212 | Main background |
bg-spotify-light-dark | #212121 | Cards, elevated surfaces |
bg-spotify-gray | #535353 | Disabled states |
bg-spotify-gray-hover | #323131 | Hover states for gray elements |
bg-spotify-light-gray | #B3B3B3 | Subtle backgrounds |
bg-spotify-white | #FFFFFF | Inverted sections |
Text Colors
Matching text utilities are defined atsrc/app/globals.css:43:
These utilities use Tailwind’s
@apply directive to maintain consistency with Tailwind’s utility-first approach while allowing custom color values.Default Body Styles
The body element has default dark theme styling atsrc/app/globals.css:69:
Custom Scrollbar Styling
The portfolio includes custom scrollbar styles for a polished look atsrc/app/globals.css:73:
- Webkit (Chrome/Safari)
- Firefox
Scrollbar Colors
- Width: 8px (thin scrollbar)
- Track: #1a1a1a (dark background)
- Thumb: #444 (medium gray)
- Thumb Hover: #555 (lighter gray)
Customizing the Theme
To adapt this theme for your own brand:1. Update Core Colors
Edittailwind.config.ts:29 to change the base color palette:
2. Update Utility Classes
Updatesrc/app/globals.css:9 to match your new color names:
3. Update Body Defaults
Change the default background and text colors atsrc/app/globals.css:69:
4. Find and Replace
Use your editor to find and replace all instances of:spotify-green→brand-primaryspotify-black→brand-darkspotify-white→brand-light
Dark Mode Approach
This portfolio uses a dark-first approach rather than Tailwind’s built-in dark mode:- Default styles are designed for dark mode
- No
dark:prefix needed for most utilities - Entire design system is built around dark backgrounds
- Light mode is not currently implemented
Why Dark-First?
- Brand Alignment: Matches Spotify’s dark interface
- Simplicity: No need to maintain two color schemes
- Performance: Smaller CSS bundle without dark mode variants
- Consistency: Ensures all components look cohesive
Color Accessibility
The Spotify color palette maintains good contrast ratios:- Green on Black: #1DB954 on #121212 (AAA rated for large text)
- White on Black: #FFFFFF on #121212 (AAA rated)
- Grey on Black: #B3B3B3 on #121212 (AA rated)
Always test your color combinations with a contrast checker tool to ensure accessibility compliance with WCAG 2.1 guidelines.
Smooth Scrolling
The theme enables smooth scrolling behavior atsrc/app/globals.css:5:
Next Steps
Tailwind Configuration
Explore the complete Tailwind config setup
Animations
Learn about custom animations and transitions