2026-08-11 06:20:06 +00:00
|
|
|
// Module ID: 1364
|
|
|
|
|
// Function ID: 1365
|
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-08-11 06:20:06 +00:00
|
|
|
// Module 1364 (isThemeLight)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
import sum from "sum" /* 505 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const ThemeTypes = sum.ThemeTypes;
|
|
|
|
|
const result = 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;
|
|
|
|
|
};
|