2026-09-29 21:26:22 +00:00
|
|
|
// Module ID: 4496
|
|
|
|
|
// Function ID: 4497
|
2026-09-18 20:18:48 +00:00
|
|
|
// Name: themes
|
|
|
|
|
// Dependencies: [1085, 2]
|
|
|
|
|
// Exports: isThemeDark, isThemeLight
|
|
|
|
|
|
2026-09-29 21:26:22 +00:00
|
|
|
// Module 4496 (themes)
|
2026-09-18 20:18:48 +00:00
|
|
|
import Constants from "Constants" /* 1085 */;
|
|
|
|
|
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) {
|
|
|
|
|
if (tmp.ONYX !== arg0) {
|
|
|
|
|
if (tmp.DARK !== arg0) {
|
2026-09-18 20:18:48 +00:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|
};
|