Files
discord-decomp/sources/components_native/useChannelStylesShared.tsx
T
2026-07-27 16:20:00 +03:00

45 lines
3.0 KiB
TypeScript

/* Metro module 11259; source: components_native/useChannelStylesShared.tsx; dependencies: [4501, 697, 2] */
function _fun86035(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86035, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11445:6, offset: 0x01f851b7, size: 511 bytes, params: 8, frame: 24
var object2;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = require(4501) /* metro dependency 4501: createStyles */;
let createStyles = value.createStyles;
let BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
value = Reflect.apply(createStyles, value, [{container: {flex: 1},
background: {backgroundColor: BACKGROUND_BASE_LOW}}]);
const createStylesModule = require(4501) /* metro dependency 4501: createStyles */;
createStyles = createStylesModule.createStyles;
object2 = {};
object2.flex = {flex: 1};
BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
object2.scene = {flex: 1, backgroundColor: BACKGROUND_BASE_LOW};
object2.callPTTButton = {flexGrow: 0};
object2.header = {shadowColor: 'transparent'};
const object3 = {};
let BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
object3.backgroundColor = BACKGROUND_SURFACE_HIGH;
BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
object3.borderBottomColor = BACKGROUND_SURFACE_HIGH;
object2.forumChannelStyles = object3;
object2.headerLeftContainer = {position: 'relative'};
object2.headerTitleContainer = {'position': 'relative', 'marginLeft': 0, 'marginRight': 0, 'left': 0, 'right': 0,
'flex': 1};
object2.headerRightContainer = {'position': 'relative', 'flexBasis': 'auto', 'flexGrow': 0, 'flexShrink': 0};
const styles = Reflect.apply(createStyles, createStylesModule, [object2]);
const value3 = createStylesModule;
createStyles = value3.createStyles;
object2 = {navbarLeft: {'marginLeft': 4, 'marginRight': 4}};
object2.menuIcon = {marginHorizontal: 2};
BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
object2.mentionBadge = {'bottom': 5, 'right': 0, backgroundColor: BACKGROUND_BASE_LOW};
BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
object2.mentionBadgeAlternate = {'bottom': 5, 'right': 0, backgroundColor: BACKGROUND_SURFACE_HIGH};
const styles2 = Reflect.apply(createStyles, value3, [object2]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('components_native/useChannelStylesShared.tsx');
exports.useChannelStylesShared = value;
exports.useChannelStyles = styles;
exports.useMenuButtonStyles = styles2;
}