2026-10-06 22:12:49 +00:00
|
|
|
// Module ID: 4542
|
|
|
|
|
// Function ID: 4543
|
2026-09-18 20:18:48 +00:00
|
|
|
// Name: themes
|
2026-10-06 22:12:49 +00:00
|
|
|
// Dependencies: [1097, 2]
|
2026-09-18 20:18:48 +00:00
|
|
|
// Exports: isThemeDark, isThemeLight
|
|
|
|
|
|
2026-10-06 22:12:49 +00:00
|
|
|
// Module 4542 (themes)
|
|
|
|
|
import Constants from "Constants" /* 1097 */;
|
2026-09-18 20:18:48 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
|
|
|
|
const ThemeTypes = Constants.ThemeTypes;
|
|
|
|
|
const result = size.fileFinishedImporting("design/utils/shared/themes.tsx");
|
|
|
|
|
|
|
|
|
|
export const isThemeLight = function isThemeLight(arg0) {
|
|
|
|
|
return arg0 === ThemeTypes.LIGHT;
|
|
|
|
|
};
|
|
|
|
|
export const isThemeDark = function isThemeDark(arg0) {
|
2026-09-22 22:11:40 +00:00
|
|
|
if (ThemeTypes.ASH !== arg0) {
|
2026-10-06 22:12:49 +00:00
|
|
|
if (ThemeTypes.ONYX !== arg0) {
|
|
|
|
|
if (ThemeTypes.DARK !== arg0) {
|
2026-09-18 20:18:48 +00:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
};
|