WordPress Customizer — a practical guide to WordPress Customizer with clear examples you can reuse in real projects.
WordPress Theme Development Series (30/96). Prefer one article? Read the complete WordPress theme development tutorial.
Short description
Even with FSE growth, many classic themes still rely on Customizer settings for branding options.
Output setting
$color = get_theme_mod('acme_primary_color', '#0f766e');
echo '<style>:root{--acme-primary:' . esc_attr($color) . ';}</style>';