decord/source/design/utils/shared/themes.tsx

27 lines
653 B
TypeScript
Raw Normal View History

// Module ID: 4345
// Function ID: 4346
// Name: themes
// Dependencies: [1085, 2]
2026-07-20 16:05:17 +00:00
// Exports: isThemeDark, isThemeLight
// Module 4345 (themes)
import Constants from "Constants" /* 1085 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const ThemeTypes = Constants.ThemeTypes;
const result = size.fileFinishedImporting("design/utils/shared/themes.tsx");
2026-07-20 16:05:17 +00:00
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) {
2026-07-20 16:05:17 +00:00
return false;
}
}
}
return true;
};