The follow code is the markup used in the video to add the Typography settings to the WordPress customizer:

Update Notice in the markup below wrapped the Kirki settings with if ( class_exists( 'Kirki' ) ) { ... }. This makes sure the plugin is installed and the Kirki class exists before trying to run the code.