Template Customization

Create Custom Themes

Master the art of building cohesive visual themes with coordinated color palettes, typography systems, gradients, and effects. Learn to save and reuse themes across all your video projects for consistent brand identity.

Colors Typography Gradients Branding Presets
01

Theme Structure and Tokens

Understand how themes are organized and learn the design token system that powers consistent styling across templates.

Rule

What is a Theme?

A theme is a coordinated set of visual styles—colors, typography, spacing, and effects—that creates a consistent look across your videos. Themes use design tokens to ensure every element follows the same visual language.

Design Systems Principles
Tip

Theme Anatomy

A complete theme includes several key components that work together to create visual harmony.

  • Color palette: Primary, secondary, accent, and neutral colors
  • Typography: Font families, sizes, and weights
  • Gradients: Background and overlay gradients
  • Spacing: Consistent padding and margins
  • Effects: Shadows, borders, and animations
Rule

Design Tokens

Design tokens are named values that represent visual properties. Instead of using raw values like #6366f1, use semantic names like primary or brandColor. This makes themes easier to maintain and swap.

Design Token Specification
This project

Basic Theme Object

Start with a simple theme structure that organizes your visual properties into logical groups. This object becomes the foundation for all your customizations.

Tip

Semantic Naming

Name tokens by their purpose, not their value. Use textPrimary instead of darkGray, and surfaceElevated instead of lightBlue. This makes themes more flexible and easier to update.

Rule

Token Hierarchy

Organize tokens in layers: primitive tokens (raw values), semantic tokens (purpose-based), and component tokens (specific to UI elements). This hierarchy enables systematic theme changes.

Design Systems Best Practices
02

Color Palette Creation

Build harmonious color palettes with primary, secondary, accent, and neutral colors that work together beautifully.

Rule

Primary Colors

Your primary color is the dominant brand color used for key elements like buttons, links, and highlights. Include light and dark variants for flexibility.

Color Theory for UI Design
This project

Before: Single Color

Using just one color value limits your design options and makes it hard to create visual hierarchy or indicate different states.

This project

After: Color Scale

A complete color scale with light, base, and dark variants enables hover states, backgrounds, and text on colored surfaces while maintaining brand consistency.

Tip

Secondary & Accent Colors

Add supporting colors for variety and emphasis. Secondary colors complement your primary, while accent colors draw attention to specific elements like success states or calls-to-action.

Rule

Neutral Colors

Neutrals provide backgrounds, text colors, and borders. Build a scale from near-white to near-black with 8-10 steps for maximum flexibility in both light and dark themes.

Accessible Color Systems
Tip

Dark Theme Neutrals

For dark themes, use cool-tinted neutrals (slight blue undertone) for backgrounds. This creates depth and feels more natural than pure grays. Example: #0f172a instead of #1a1a1a.

This project

Complete Palette

A production-ready palette includes primary (3 shades), secondary, accent, and neutrals (background, surface, text, textMuted, border). This covers all common UI needs.

Rule

Color Contrast

Ensure sufficient contrast for readability. Large text needs minimum 3:1 contrast ratio, body text needs 4.5:1. Use tools like WebAIM Contrast Checker to verify.

WCAG 2.1 Guidelines
03

Typography Configuration

Define a consistent type system with font families, size scales, and weights that create clear visual hierarchy.

Rule

Font Families

Choose fonts that reflect your brand personality. Most themes need two families: one for headings (often bolder, more distinctive) and one for body text (optimized for readability).

Typography Best Practices
Tip

Font Pairing

Pair fonts with contrasting characteristics. A geometric sans-serif heading with a humanist body font creates visual interest while maintaining readability.

  • Inter + Inter (clean, modern)
  • Space Grotesk + Inter (tech, creative)
  • Playfair Display + Source Sans (elegant)
This project

Before: Arbitrary Sizes

Using random font sizes like 17px, 23px, 41px creates visual chaos. There's no clear hierarchy, and the design feels inconsistent.

This project

After: Type Scale

A harmonious scale like 14, 16, 18, 24, 30, 36, 48, 60, 72 creates clear hierarchy. Each size has a purpose, from captions to hero headlines.

Rule

Type Scale Ratios

Build your scale using a consistent ratio. Common ratios include 1.25 (Major Third), 1.333 (Perfect Fourth), and 1.5 (Perfect Fifth). Multiply your base size by the ratio for each step.

Modular Scale Typography
Tip

Font Weights

Limit weights to 3-4 options: regular (400) for body, medium (500) for emphasis, semibold (600) for subheadings, and bold (700) for headings. Too many weights dilute hierarchy.

Rule

Line Height

Set line height based on context. Headings use tight line height (1.1-1.2), body text uses comfortable spacing (1.5-1.6), and small text may need more (1.6-1.8).

Readability Guidelines
Tip

Video Typography

For video, increase font sizes 20-30% compared to web. Viewers watch from a distance, and text appears on screen briefly. Prioritize legibility over density.

This project

Complete Typography System

A production typography config includes heading and body font families, a size scale (xs through 6xl), weight options, and line height values for different contexts.

04

Gradients and Effects

Add depth and visual interest with gradients, shadows, and other effects that enhance your theme without overwhelming it.

Rule

Linear Gradients

Linear gradients transition colors along a straight line. Use them for backgrounds, buttons, and overlays. Specify direction (180deg = top to bottom) and color stops.

CSS Gradient Specification
Tip

Gradient Directions

Choose direction based on content flow. Vertical gradients (180deg) work for full-screen backgrounds. Diagonal gradients (135deg) add energy. Horizontal gradients (90deg) suit wide banners.

This project

Before: Flat Background

A solid color background can feel static and uninteresting, especially for video content that benefits from visual depth and movement.

This project

After: Gradient Background

A subtle gradient from #6366f1 to #4f46e5 adds depth while maintaining brand color. The transition creates visual interest without distraction.

Rule

Radial Gradients

Radial gradients emanate from a center point. Use them for spotlight effects, glows, and vignettes. Control shape (circle/ellipse) and position (center, top right, etc.).

CSS Gradient Specification
Tip

Gradient Overlays

Use gradient overlays to improve text readability over images. A dark gradient from transparent to 80% black ensures text remains legible regardless of the underlying image.

Rule

Multi-Stop Gradients

Create complex gradients with multiple color stops. A sunset gradient might transition through orange, pink, and purple. Keep stops harmonious—use adjacent colors on the color wheel.

Color Theory for Gradients
Tip

Shadow Effects

Shadows add depth and hierarchy. Use subtle shadows for cards and elevated surfaces. For video, increase shadow opacity slightly as screens vary in contrast.

  • Subtle: 0 2px 4px rgba(0,0,0,0.1)
  • Medium: 0 4px 12px rgba(0,0,0,0.15)
  • Strong: 0 8px 24px rgba(0,0,0,0.2)
This project

Glow Effects

Create glows using radial gradients or box shadows with your brand color. A subtle glow around key elements draws attention without harsh edges. Example: 0 0 40px rgba(99,102,241,0.4).

Tip

Animation Timing

Define consistent easing curves for animations. Use ease-out for entrances, ease-in for exits, and ease-in-out for state changes. Store these as theme tokens for consistency.

05

Saving and Reusing Themes

Learn to save your themes as reusable presets and apply them consistently across all your video projects.

Rule

Theme File Structure

Save themes as separate files that can be imported into any project. Use a consistent structure with colors, typography, gradients, and effects sections.

Code Organization Best Practices
Tip

Theme Presets

Create preset themes for different contexts: corporate (professional blues), creative (vibrant gradients), minimal (clean neutrals). Switch between them by changing a single import.

This project

Corporate Theme Preset

A corporate preset uses trustworthy blues, clean typography, and subtle effects. Colors: primary #1e40af, background #ffffff, text #1e293b. Font: Inter for both headings and body.

This project

Creative Theme Preset

A creative preset uses bold colors and dynamic gradients. Colors: primary #f97316, secondary #8b5cf6, dark background #18181b. Font: Space Grotesk for headings.

Tip

Dark/Light Variants

Create both dark and light versions of your theme. Store them in a themes object with dark and light keys. Switch based on context or user preference.

Rule

Theme Application

Apply themes through props or a theme provider. Pass individual values for simple templates, or pass the entire theme object for templates with full theme support.

React Theming Patterns
Tip

CSS Variables Export

Export your theme as CSS custom properties for maximum flexibility. This enables theming of any CSS-based styling and works across different component libraries.

This project

Theme Switching

Implement theme switching by storing the current theme in state. Change the entire look of your video by updating a single variable. Great for A/B testing different brand treatments.

Rule

Version Control

Track theme changes in version control. Document what changed and why. This creates a history of your brand evolution and makes it easy to revert if needed.

Design System Governance
Keep Learning

Related tips

Continue exploring with these related guides and tutorials.

Ready to build your theme?

Start with our template library and apply your custom theme to create videos that perfectly match your brand identity.