2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 3841
|
2026-07-27 11:26:19 +00:00
|
|
|
// Function ID: 32027
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: isThemeLight
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [482, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: isThemeDark, isThemeLight
|
|
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 3841 (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) {
|
|
|
|
|
if (ThemeTypes.MIDNIGHT !== arg0) {
|
|
|
|
|
if (ThemeTypes.DARKER !== arg0) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
};
|