decord/stable/source/design/utils/shared/themes.tsx
github-actions 528a3dd5ba chore: update source for stable 345.9
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4745.js (118.4 MB)
2026-09-18 20:18:48 +00:00

26 lines
660 B
TypeScript

// Module ID: 4269
// Function ID: 4270
// Name: themes
// Dependencies: [1085, 2]
// Exports: isThemeDark, isThemeLight
// Module 4269 (themes)
import Constants from "Constants" /* 1085 */;
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.DARK !== arg0) {
if (tmp.MIDNIGHT !== arg0) {
if (tmp.DARKER !== arg0) {
return false;
}
}
}
return true;
};