24 lines
591 B
TypeScript
24 lines
591 B
TypeScript
// Module ID: 1364
|
|
// Function ID: 1365
|
|
// Name: isThemeLight
|
|
// Dependencies: [505, 2]
|
|
// Exports: isThemeDark, isThemeLight
|
|
|
|
// Module 1364 (isThemeLight)
|
|
import { ThemeTypes } from "sum";
|
|
|
|
const result = require("set").fileFinishedImporting("design/utils/shared/themes.tsx");
|
|
|
|
export const isThemeLight = function isThemeLight(arg0) {
|
|
return arg0 === ThemeTypes.LIGHT;
|
|
};
|
|
export const isThemeDark = function isThemeDark(arg0) {
|
|
if (ThemeTypes.DARK !== arg0) {
|
|
if (tmp.MIDNIGHT !== arg0) {
|
|
if (tmp.DARKER !== arg0) {
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
return true;
|
|
};
|