Overview
Dev Showcase uses CSS custom properties (variables) to make theming simple and maintainable. All theme variables are defined inwwwroot/css/base.css and can be easily customized to match your personal brand.
Color Scheme
The portfolio uses a dark theme with customizable accent colors. All colors are defined as CSS custom properties in the:root selector.
Primary Colors
- Primary Background (
--color-bg-primary): Main page background - Secondary Background (
--color-bg-secondary): Sidebar and card backgrounds - Tertiary Background (
--color-bg-tertiary): Panel and button backgrounds
Text Colors
- Primary Text: Headings and important content
- Secondary Text: Body text and descriptions
- Tertiary Text: Subtle labels and metadata
Accent Colors
The red accent color is used throughout the UI for highlights, active states, and call-to-action elements:- Active navigation items
- Hover effects on links and buttons
- Progress bars and charts
- Border highlights on cards
- Download CV button
- Social media icon hovers
Border Colors
Changing Theme Colors
To customize your theme colors, edit the values inwwwroot/css/base.css:
Example: Blue Accent Theme
Example: Light Background Theme
After changing colors, refresh your browser to see the changes. Some browsers may require a hard refresh (Ctrl+Shift+R or Cmd+Shift+R).
Typography Settings
Typography is configured inwwwroot/css/base.css:
Font Family
font-family property:
Heading Sizes
Heading sizes are defined with a consistent hierarchy:- H1: Used in header section (
header-content h1) - H2: Section titles (Skills, Projects, Education)
- H3: Subsection titles and card headers
- H4: Education cards and project details
- H5: Skill categories
Font Weights
Transition Settings
Smooth animations are controlled by transition variables:- Speed: Duration of hover effects and animations (default: 0.3s)
- Easing: Animation timing function for smooth transitions
Adjust Animation Speed
For faster animations:Component-Specific Theming
Sidebar Styling
The sidebar uses theme colors fromwwwroot/css/sidebar.css:
Glow Panel Effects
Interactive panels with animated glow borders (defined inwwwroot/css/panels-glow.css):
--color-accent-red will automatically update the glow color.
Button Styling
Buttons throughout the site use consistent theming:Best Practices
- Test contrast: Ensure text remains readable with your color choices
- Maintain consistency: Use the same accent color throughout
- Check hover states: Test all interactive elements after color changes
- Preview on multiple devices: Colors may appear different on various screens
Next Steps
Content Customization
Learn how to update text, projects, and personal information
Styling Guide
Deep dive into CSS architecture and component styling