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

25 lines
591 B
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 3899
// Function ID: 3900
2026-07-20 16:05:17 +00:00
// Name: isThemeLight
2026-07-29 08:29:29 +00:00
// Dependencies: [505, 2]
2026-07-20 16:05:17 +00:00
// Exports: isThemeDark, isThemeLight
2026-07-29 08:29:29 +00:00
// Module 3899 (isThemeLight)
2026-07-23 10:11:24 +00:00
import { ThemeTypes } from "sum";
const result = require("set").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.DARK !== arg0) {
2026-07-29 08:29:29 +00:00
if (tmp.MIDNIGHT !== arg0) {
if (tmp.DARKER !== arg0) {
2026-07-20 16:05:17 +00:00
return false;
}
}
}
return true;
};