Function: findLegacyThemeColorModeSelector()
findLegacyThemeColorModeSelector(
selector:string):".theme-dark"|".theme-light"|undefined
Defined in: _internal/docusaurus-theme-scope.ts:75
Detect the first legacy class-based color-mode selector token in a selector.
Parametersโ
selectorโ
string
Returnsโ
".theme-dark" | ".theme-light" | undefined