decord/alpha/source/modules/guilds_bar/GuildsBarConstants.tsx

40 lines
1.2 KiB
TypeScript
Raw Permalink Normal View History

2026-10-13 12:43:34 +00:00
// Module ID: 17051
// Function ID: 17052
// Name: guilds_bar/GuildsBarConstants
2026-10-03 08:58:59 +00:00
// Dependencies: [1103, 586, 2]
// Exports: isDefaultFolderColor, normalizeFolderColor
2026-07-20 16:05:17 +00:00
2026-10-13 12:43:34 +00:00
// Module 17051 (guilds_bar/GuildsBarConstants)
2026-10-03 08:58:59 +00:00
import ColorUtils from "utils/ColorUtils" /* 1103 */;
import shims from "shims" /* 586 */;
import size from "module_2" /* 2 */;
2026-07-20 16:05:17 +00:00
2026-10-03 08:58:59 +00:00
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");
2026-07-23 10:11:24 +00:00
export const DEFAULT_FOLDER_COLOR = hex2intResult;
export const normalizeFolderColor = function normalizeFolderColor(arg0) {
let tmp = null;
if (null != arg0) {
tmp = null;
2026-10-03 08:58:59 +00:00
if (arg0 !== _window) {
tmp = arg0;
}
}
return tmp;
};
export const isDefaultFolderColor = function isDefaultFolderColor(arg0) {
let tmp = null;
if (null != arg0) {
tmp = null;
2026-10-03 08:58:59 +00:00
if (arg0 !== _window) {
tmp = arg0;
}
}
return null == tmp;
};
2026-07-20 16:05:17 +00:00
export const GuildPeekCardTypes = { WHO: 0, [0]: "WHO", WHAT: 1, [1]: "WHAT" };
export const CardCategory = { HANGOUT: "hangout", EMBEDDED_ACTIVITY: "embedded-activity", EVENT: "event", GAMING: "gaming" };