123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244 |
- import BaseTheme from '../../../base/ui/components/BaseTheme.native';
-
- export const ANDROID_UNDERLINE_COLOR = 'transparent';
- export const PLACEHOLDER_COLOR = BaseTheme.palette.focus01;
-
- /**
- * The styles of the native components of the feature {@code settings}.
- */
- export default {
-
- profileContainerWrapper: {
- margin: BaseTheme.spacing[4]
- },
-
- profileContainer: {
- backgroundColor: BaseTheme.palette.ui02,
- borderRadius: BaseTheme.shape.borderRadius,
- alignItems: 'center',
- flexDirection: 'row',
- justifyContent: 'flex-start',
- padding: BaseTheme.spacing[3]
- },
-
- profileView: {
- flexGrow: 1,
- flexDirection: 'column',
- justifyContent: 'space-between'
- },
-
- applyProfileSettingsButton: {
- marginHorizontal: BaseTheme.spacing[4],
- marginVertical: BaseTheme.spacing[3]
- },
-
- avatarContainer: {
- alignItems: 'center',
- flexDirection: 'row',
- justifyContent: 'center',
- padding: BaseTheme.spacing[3],
- margin: BaseTheme.spacing[4]
- },
-
- gavatarMessageContainer: {
- marginHorizontal: BaseTheme.spacing[4],
- color: BaseTheme.palette.text02,
- marginTop: -BaseTheme.spacing[2],
- ...BaseTheme.typography.bodyShortRegular
- },
-
- displayName: {
- ...BaseTheme.typography.bodyLongRegularLarge,
- color: BaseTheme.palette.text01,
- marginLeft: BaseTheme.spacing[3],
- position: 'relative'
- },
-
- profileViewArrow: {
- position: 'absolute',
- right: BaseTheme.spacing[3]
- },
-
- /**
- * Style for screen container.
- */
- settingsViewContainer: {
- backgroundColor: BaseTheme.palette.ui01,
- flex: 1
- },
-
- /**
- * Standardized style for a field container {@code View}.
- */
- fieldContainer: {
- alignItems: 'center',
- flexDirection: 'row',
- minHeight: BaseTheme.spacing[8],
- paddingHorizontal: BaseTheme.spacing[2],
- justifyContent: 'space-between'
- },
-
- /**
- * * Appended style for column layout fields.
- */
- fieldContainerColumn: {
- alignItems: 'flex-start',
- flexDirection: 'column'
- },
-
- /**
- * Standard container for a {@code View} containing a field label.
- */
- fieldLabelContainer: {
- alignItems: 'center',
- flexShrink: 1,
- flexDirection: 'row',
- paddingLeft: BaseTheme.spacing[3],
- paddingRight: BaseTheme.spacing[1]
- },
-
- /**
- * Text of the field labels on the form.
- */
- fieldLabelText: {
- ...BaseTheme.typography.bodyShortRegularLarge
- },
-
- /**
- * Field container style for all but last row {@code View}.
- */
- fieldSeparator: {
- marginHorizontal: BaseTheme.spacing[4],
- borderBottomWidth: 1,
- borderColor: BaseTheme.palette.ui05,
- marginVertical: BaseTheme.spacing[3]
- },
-
- /**
- * Style for the {@code View} containing each
- * field values (the actual field).
- */
- fieldValueContainer: {
- alignItems: 'center',
- flexDirection: 'row',
- flexShrink: 1,
- justifyContent: 'flex-end',
- paddingRight: BaseTheme.spacing[3]
- },
-
- /**
- * Style for the form section separator titles.
- */
-
- formSectionTitleContent: {
- backgroundColor: BaseTheme.palette.ui02,
- paddingVertical: BaseTheme.spacing[1]
- },
-
- formSectionTitleText: {
- ...BaseTheme.typography.bodyShortBold,
- color: BaseTheme.palette.text02,
- marginHorizontal: BaseTheme.spacing[4],
- marginVertical: BaseTheme.spacing[3]
- },
-
- /**
- * Global {@code Text} color for the components.
- */
- text: {
- color: BaseTheme.palette.text01
- },
-
- /**
- * Text input container style.
- */
- customContainer: {
- marginBottom: BaseTheme.spacing[3],
- marginHorizontal: BaseTheme.spacing[4],
- marginTop: BaseTheme.spacing[2]
- },
-
- languageButtonContainer: {
- borderRadius: BaseTheme.shape.borderRadius,
- overflow: 'hidden'
- },
-
- languageButton: {
- alignItems: 'center',
- display: 'flex',
- flexDirection: 'row',
- height: BaseTheme.spacing[7],
- justifyContent: 'center'
- },
-
- languageOption: {
- display: 'flex',
- flexDirection: 'row',
- alignItems: 'center',
- height: BaseTheme.spacing[6],
- marginHorizontal: BaseTheme.spacing[4],
- borderBottomWidth: 1,
- borderColor: BaseTheme.palette.ui05
- },
-
- selectedLanguage: {
- color: BaseTheme.palette.text03
- },
-
- languageText: {
- ...BaseTheme.typography.bodyShortRegularLarge,
- color: BaseTheme.palette.text01,
- marginHorizontal: BaseTheme.spacing[2]
- },
-
- /**
- * Standard text input field style.
- */
- textInputField: {
- color: BaseTheme.palette.field01,
- flex: 1,
- ...BaseTheme.typography.bodyShortRegularLarge,
- textAlign: 'right'
- },
-
- /**
- * Appended style for column layout fields.
- */
- textInputFieldColumn: {
- backgroundColor: 'rgb(245, 245, 245)',
- borderRadius: 8,
- marginVertical: 5,
- paddingVertical: 3,
- textAlign: 'left'
- },
-
- /**
- * Style for screen container.
- */
- screenContainer: {
- flex: 1
- },
-
- linksSection: {
- display: 'flex',
- flexDirection: 'row',
- flex: 1,
- marginHorizontal: BaseTheme.spacing[3]
- },
-
- linksButton: {
- width: '33%',
- justifyContent: 'center',
- flexDirection: 'row',
- alignItems: 'center',
- ...BaseTheme.typography.bodyShortBoldLarge
- },
-
- logBtn: {
- marginRight: BaseTheme.spacing[3]
- },
-
- backBtn: {
- marginLeft: BaseTheme.spacing[3]
- }
- };
|