2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 4345
|
|
|
|
|
// Function ID: 4346
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: themes
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [1085, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: isThemeDark, isThemeLight
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 4345 (themes)
|
2026-09-10 05:38:07 +00:00
|
|
|
import Constants from "Constants" /* 1085 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +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) {
|
2026-09-11 10:30:06 +00:00
|
|
|
if (ThemeTypes.ASH !== arg0) {
|
|
|
|
|
if (tmp.ONYX !== arg0) {
|
|
|
|
|
if (tmp.DARK !== arg0) {
|
2026-07-20 16:05:17 +00:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
};
|