Home
last modified time | relevance | path

Searched refs:withThemeOptions (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_manager/src/theme/
H A DArkThemeScope.ts59 private withThemeOptions: WithThemeOptions;
84 …constructor(ownerComponentId: number, withThemeId: number, withThemeOptions: WithThemeOptions, the…
87 this.withThemeOptions = withThemeOptions;
166 return this.withThemeOptions.colorMode ?? ThemeColorMode.SYSTEM;
175 return this.withThemeOptions.theme ?? {};
193 return this.withThemeOptions;
204 this.withThemeOptions = options;
H A DArkThemeScopeManager.ts147 onScopeEnter(withThemeId: number, withThemeOptions: WithThemeOptions, theme: ThemeInternal) {
150 …themeScope = new ArkThemeScope(this.handledOwnerComponentId, withThemeId, withThemeOptions, theme);
159 scope.updateWithThemeOptions(withThemeOptions, theme);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkTheme.js649 constructor(ownerComponentId, withThemeId, withThemeOptions, theme) { argument
652 this.withThemeOptions = withThemeOptions;
687 …return (_a = this.withThemeOptions.colorMode) !== null && _a !== void 0 ? _a : ThemeColorMode.SYST…
691 return (_a = this.withThemeOptions.theme) !== null && _a !== void 0 ? _a : {};
697 return this.withThemeOptions;
701 this.withThemeOptions = options;
758 onScopeEnter(withThemeId, withThemeOptions, theme) { argument
760 …themeScope = new ArkThemeScope(this.handledOwnerComponentId, withThemeId, withThemeOptions, theme);
766 scope.updateWithThemeOptions(withThemeOptions, theme);