* Add Report a Problem functionality * update cache pinned SHA version from 4.0.2 to 4.2.0 * Address feedback * Fix tests * Fix some issues and update kotlin coroutines version * Fix delete file for iOS * Bump 1 more version for coroutines * Use rxjava instead of kotlin coroutines to avoid security issue * Move path prefix to avoid test error * Address feedback * Address feedback * Address feedback * Use mailto on iOS * Fix tests related to button changes * Address feedback * Update icon and fix onboarding buttons * Fix test --------- Co-authored-by: Angelos Kyratzakos <angelos.kyratzakos@mattermost.com> Co-authored-by: Mattermost Build <build@mattermost.com>
42 lines
1.2 KiB
TypeScript
42 lines
1.2 KiB
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {changeOpacity, makeStyleSheetFromTheme} from '@utils/theme';
|
|
import {typography} from '@utils/typography';
|
|
|
|
export const getCommonStyleSheet = makeStyleSheetFromTheme((theme) => ({
|
|
bodyText: {
|
|
...typography('Body', 200),
|
|
color: theme.centerChannelColor,
|
|
},
|
|
sectionTitle: {
|
|
...typography('Body', 75, 'SemiBold'),
|
|
color: theme.centerChannelColor,
|
|
opacity: 0.64,
|
|
textTransform: 'uppercase',
|
|
},
|
|
}));
|
|
|
|
export const getCommonFileStyles = makeStyleSheetFromTheme((theme) => ({
|
|
container: {
|
|
backgroundColor: theme.centerChannelBg,
|
|
borderRadius: 4,
|
|
borderWidth: 1,
|
|
borderColor: changeOpacity(theme.centerChannelColor, 0.16),
|
|
padding: 12,
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
gap: 10,
|
|
},
|
|
header: {
|
|
flex: 1,
|
|
},
|
|
name: {
|
|
...typography('Body', 100, 'SemiBold'),
|
|
color: theme.centerChannelColor,
|
|
},
|
|
type: {
|
|
...typography('Body', 75),
|
|
color: changeOpacity(theme.centerChannelColor, 0.64),
|
|
},
|
|
}));
|