syncThemeToDom function
Applies current theme variables to the DOM when running on web.
Implementation
void syncThemeToDom({String selector = ':root', String prefix = 'lark'}) {
dom.applyThemeVariables(_currentTheme.toCssVariables(prefix: prefix), selector: selector);
}