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