decord/source/design/utils/shared/themes.tsx
2026-08-06 08:05:19 +00:00

24 lines
591 B
TypeScript

// Module ID: 3994
// Function ID: 3995
// Name: isThemeLight
// Dependencies: [505, 2]
// Exports: isThemeDark, isThemeLight
// Module 3994 (isThemeLight)
import { ThemeTypes } from "sum";
const result = require("set").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;
};