39 lines
1.2 KiB
TypeScript
39 lines
1.2 KiB
TypeScript
// Module ID: 17051
|
|
// Function ID: 17052
|
|
// Name: guilds_bar/GuildsBarConstants
|
|
// Dependencies: [1103, 586, 2]
|
|
// Exports: isDefaultFolderColor, normalizeFolderColor
|
|
|
|
// Module 17051 (guilds_bar/GuildsBarConstants)
|
|
import ColorUtils from "utils/ColorUtils" /* 1103 */;
|
|
import shims from "shims" /* 586 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const hex2int = ColorUtils.hex2int;
|
|
const hex2intResult = hex2int(shims.unsafe_getResolvedRawColor("BRAND_500", { saturation: 1 }));
|
|
const _window = hex2intResult;
|
|
const result = size.fileFinishedImporting("modules/guilds_bar/GuildsBarConstants.tsx");
|
|
|
|
export const DEFAULT_FOLDER_COLOR = hex2intResult;
|
|
export const normalizeFolderColor = function normalizeFolderColor(arg0) {
|
|
let tmp = null;
|
|
if (null != arg0) {
|
|
tmp = null;
|
|
if (arg0 !== _window) {
|
|
tmp = arg0;
|
|
}
|
|
}
|
|
return tmp;
|
|
};
|
|
export const isDefaultFolderColor = function isDefaultFolderColor(arg0) {
|
|
let tmp = null;
|
|
if (null != arg0) {
|
|
tmp = null;
|
|
if (arg0 !== _window) {
|
|
tmp = arg0;
|
|
}
|
|
}
|
|
return null == tmp;
|
|
};
|
|
export const GuildPeekCardTypes = { WHO: 0, [0]: "WHO", WHAT: 1, [1]: "WHAT" };
|
|
export const CardCategory = { HANGOUT: "hangout", EMBEDDED_ACTIVITY: "embedded-activity", EVENT: "event", GAMING: "gaming" };
|