36 lines
2.2 KiB
React
36 lines
2.2 KiB
React
/* Metro module 1207; source: unknown; dependencies: [27, 1141] */
|
|
function _fun13415(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#13415, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1334:6, offset: 0x00dea456, size: 137 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = (require(27) /* metro dependency 27 */).Appearance;
|
|
exports.getTheme = getTheme;
|
|
exports.LightTheme = {'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)'};
|
|
exports.DarkTheme = {'accentBackground': 'rgba(88, 74, 192, 1)', 'accentForeground': '#ffffff',
|
|
'foreground': '#ebe6ef', 'background': '#29232f', 'border': 'rgba(235, 230, 239, 0.15)',
|
|
'feedbackIcon': '#ffffff', 'sentryLogo': '#ffffff'};
|
|
}
|
|
|
|
function getTheme() { // fn#13416, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1334:537, offset: 0x00dea4df, size: 198 bytes, params: 1, frame: 21
|
|
const colorScheme = (require(1141) /* metro dependency 1141 */).getColorScheme();
|
|
const r3 = colorScheme !== 'system' ? colorScheme : Appearance.getColorScheme();
|
|
let Object = global.Object;
|
|
let assign = Object.assign;
|
|
const Object2 = global.Object;
|
|
const value4 = Object2.assign({}, env0_3);
|
|
const moduleValue2 = require(1141) /* metro dependency 1141 */;
|
|
const getFeedbackLightTheme = moduleValue2.getFeedbackLightTheme;
|
|
const value5 = Reflect.apply(assign, Object, [value4, Reflect.apply(getFeedbackLightTheme, moduleValue2, [])]);
|
|
Object = global.Object;
|
|
assign = Object.assign;
|
|
const Object3 = global.Object;
|
|
let value = Object3.assign({}, env0_4);
|
|
const moduleValue3 = moduleValue2;
|
|
const getFeedbackDarkTheme = moduleValue3.getFeedbackDarkTheme;
|
|
value = Reflect.apply(assign, Object, [value, Reflect.apply(getFeedbackDarkTheme, moduleValue3, [])]);
|
|
return r3 !== 'dark' ? value5 : value;
|
|
}
|
|
|