2026-10-10 08:08:14 +00:00
|
|
|
// Module ID: 4825
|
|
|
|
|
// Function ID: 4826
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: themes
|
2026-10-03 08:58:59 +00:00
|
|
|
// Dependencies: [1096, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: isThemeDark, isThemeLight
|
|
|
|
|
|
2026-10-10 08:08:14 +00:00
|
|
|
// Module 4825 (themes)
|
2026-10-03 08:58:59 +00:00
|
|
|
import Constants from "Constants" /* 1096 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
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) {
|
2026-10-03 08:58:59 +00:00
|
|
|
if (ThemeTypes.ONYX !== arg0) {
|
|
|
|
|
if (ThemeTypes.DARK !== arg0) {
|
2026-07-20 16:05:17 +00:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
};
|