resolve method
Implementation
LatexThemeColors resolve(bool systemInDarkTheme) {
if (this is _AdaptiveLatexTheme) {
final adaptive = this as _AdaptiveLatexTheme;
return systemInDarkTheme ? adaptive.dark : adaptive.light;
} else if (this is _FixedLatexTheme) {
return (this as _FixedLatexTheme).colors;
}
return LatexTheme.defaultLightColors;
}