Files
discord-decomp/sources/components_native/useChannelStylesShared.tsx
T
2026-07-28 01:06:53 +03:00

46 lines
3.1 KiB
TypeScript

/* Metro module 11259; source: components_native/useChannelStylesShared.tsx; dependencies: [4501, 697, 2] */
import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as CreateStylesModule from '../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
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
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = CreateStylesModule;
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}}]);
createStyles = CreateStylesModule.createStyles;
object = {};
object.flex = {flex: 1};
BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
object.scene = {flex: 1, backgroundColor: BACKGROUND_BASE_LOW};
object.callPTTButton = {flexGrow: 0};
object.header = {shadowColor: 'transparent'};
const object4 = {};
let BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
object4.backgroundColor = BACKGROUND_SURFACE_HIGH;
BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
object4.borderBottomColor = BACKGROUND_SURFACE_HIGH;
object.forumChannelStyles = object4;
object.headerLeftContainer = {position: 'relative'};
object.headerTitleContainer = {'position': 'relative', 'marginLeft': 0, 'marginRight': 0, 'left': 0, 'right': 0,
'flex': 1};
object.headerRightContainer = {'position': 'relative', 'flexBasis': 'auto', 'flexGrow': 0, 'flexShrink': 0};
const styles = Reflect.apply(createStyles, CreateStylesModule, [object]);
createStyles = CreateStylesModule.createStyles;
object = {navbarLeft: {'marginLeft': 4, 'marginRight': 4}};
object.menuIcon = {marginHorizontal: 2};
BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
object.mentionBadge = {'bottom': 5, 'right': 0, backgroundColor: BACKGROUND_BASE_LOW};
BACKGROUND_SURFACE_HIGH = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_SURFACE_HIGH;
object.mentionBadgeAlternate = {'bottom': 5, 'right': 0, backgroundColor: BACKGROUND_SURFACE_HIGH};
const styles2 = Reflect.apply(createStyles, CreateStylesModule, [object]);
(FileImportTrackerModule).fileFinishedImporting('components_native/useChannelStylesShared.tsx');
exports.useChannelStylesShared = value;
exports.useChannelStyles = styles;
exports.useMenuButtonStyles = styles2;
}
global.__d(_fun86035, 11259, [4501, 697, 2]) /* metro module 11259, dependencies: [4501, 697, 2] */;