Custom Theme Examples
Dynamic UI is built on top of Bootstrap 5.3 and provides extensive customization through SCSS variables and CSS custom properties. Learn how to create custom themes for your application.Color System
Dynamic UI extends Bootstrap’s color palette with additional shades:Base Colors
Color Shades
Dynamic UI provides 25-900 shades for each theme color:Creating a Custom Theme
Runtime Customization with CSS Variables
Use CSS custom properties for runtime theme changes:Component-Level CSS Variables
Each component exposes CSS variables for customization:Input Component Variables
Button Component Variables
Card Component Variables
Typography Customization
Customize font families and sizes:Spacing System
Customize the spacing scale:Border Radius System
Complete Theme Example
Here’s a complete custom theme:Using the Custom Theme
Available SCSS Variables
Dynamic UI exposes hundreds of SCSS variables. Key categories include:- Colors:
$primary,$secondary,$success,$danger, etc. - Typography:
$font-family-base,$font-size-base,$line-height-base - Spacing:
$spacer,$spacersmap - Borders:
$border-width,$border-color,$border-radius - Shadows:
$box-shadow,$box-shadow-sm,$box-shadow-lg - Forms:
$input-*,$form-*,$label-* - Buttons:
$btn-* - Cards:
$card-* - Modals:
$modal-* - Tooltips:
$tooltip-*
/src/style/abstracts/variables/ for the complete list.
Related Documentation
- SCSS Variables Reference - Complete variable list
- CSS Utilities - CSS utility classes
- Theming Guide - Theme configuration
- Bootstrap Customization - Bootstrap theming guide