decord/beta/source/design/utils/shared/themes.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

26 lines
653 B
TypeScript

// Module ID: 4469
// Function ID: 4470
// Name: themes
// Dependencies: [1089, 2]
// Exports: isThemeDark, isThemeLight
// Module 4469 (themes)
import Constants from "Constants" /* 1089 */;
import size from "module_2" /* 2 */;
const ThemeTypes = Constants.ThemeTypes;
const result = size.fileFinishedImporting("design/utils/shared/themes.tsx");
export const isThemeLight = function isThemeLight(arg0) {
return arg0 === ThemeTypes.LIGHT;
};
export const isThemeDark = function isThemeDark(arg0) {
if (ThemeTypes.ASH !== arg0) {
if (tmp.ONYX !== arg0) {
if (tmp.DARK !== arg0) {
return false;
}
}
}
return true;
};