decord/source/1199_getTheme.js
2026-08-24 06:08:38 +00:00

32 lines
1.3 KiB
JavaScript

// Module ID: 1199
// Function ID: 1200
// Name: getTheme
// Dependencies: [17, 1133]
// Exports: getTheme
// Module 1199 (getTheme)
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import _getClientIntegration from "_getClientIntegration" /* 1133 */;
const Appearance = get_ActivityIndicator.Appearance;
let obj = { accentBackground: "rgba(88, 74, 192, 1)", accentForeground: "#ffffff", foreground: "#2b2233", background: "#ffffff", border: "rgba(41, 35, 47, 0.13)", feedbackIcon: "rgba(54, 45, 89, 1)", sentryLogo: "rgba(54, 45, 89, 1)" };
obj = { accentBackground: "rgba(88, 74, 192, 1)", accentForeground: "#ffffff", foreground: "#ebe6ef", background: "#29232f", border: "rgba(235, 230, 239, 0.15)", feedbackIcon: "#ffffff", sentryLogo: "#ffffff" };
export const getTheme = function getTheme() {
obj = _getClientIntegration;
let colorScheme = obj.getColorScheme();
if ("system" === colorScheme) {
colorScheme = Appearance.getColorScheme();
}
const merged = Object.assign({}, obj);
let tmpResult = tmp(1133);
let merged1 = Object.assign(merged, tmpResult.getFeedbackLightTheme());
const merged2 = Object.assign({}, obj);
tmpResult = tmp(1133);
if ("dark" === colorScheme) {
merged1 = Object.assign(merged2, tmpResult.getFeedbackDarkTheme());
}
return merged1;
};
export const LightTheme = obj;
export const DarkTheme = obj;