123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- import BaseTheme from '../../../base/ui/components/BaseTheme.native';
- export const ANDROID_UNDERLINE_COLOR = 'transparent';
- export const PLACEHOLDER_COLOR = BaseTheme.palette.action02Focus;
- export const THUMB_COLOR = BaseTheme.palette.field02;
-
- const TEXT_SIZE = 14;
-
- /**
- * The styles of the native components of the feature {@code settings}.
- */
- export default {
- /**
- * Standardized style for a field container {@code View}.
- */
- fieldContainer: {
- alignItems: 'center',
- flexDirection: 'row',
- minHeight: 56,
- paddingHorizontal: 8
- },
-
- /**
- * * 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',
- flexDirection: 'row',
- paddingLeft: 8
- },
-
- /**
- * Text of the field labels on the form.
- */
- fieldLabelText: {
- fontSize: TEXT_SIZE
- },
-
- /**
- * Appended style for column layout fields.
- */
- fieldLabelTextColumn: {
- fontSize: 12
- },
-
- /**
- * Field container style for all but last row {@code View}.
- */
- fieldSeparator: {
- borderBottomWidth: 1,
- borderColor: 'rgba(0, 0, 0, 0.1)'
- },
-
- /**
- * Style for the {@code View} containing each
- * field values (the actual field).
- */
- fieldValueContainer: {
- alignItems: 'center',
- flex: 1,
- flexDirection: 'row',
- justifyContent: 'flex-end',
- paddingRight: 8
- },
-
- /**
- * Style for the form section separator titles.
- */
- formSectionTitle: {
- backgroundColor: BaseTheme.palette.section01,
- paddingBottom: 0,
- paddingTop: 0
- },
-
- formSectionTitleActive: {
- color: BaseTheme.palette.section01Active
- },
-
- formSectionTitleInActive: {
- color: BaseTheme.palette.section01Inactive
- },
-
- sectionClose: {
- color: BaseTheme.palette.section01Inactive,
- fontSize: 14
- },
-
- sectionOpen: {
- color: BaseTheme.palette.section01Active,
- fontSize: 14
- },
-
- /**
- * Global {@code Text} color for the components.
- */
- text: {
- color: BaseTheme.palette.field01
- },
-
- /**
- * Text input container style.
- */
- textInputContainer: {
- flex: 1,
- height: 40,
- paddingBottom: 8,
- paddingTop: 2,
- paddingLeft: 16,
- paddingRight: 16
- },
-
- /**
- * Standard text input field style.
- */
- textInputField: {
- color: BaseTheme.palette.field01,
- flex: 1,
- fontSize: TEXT_SIZE,
- textAlign: 'right'
- },
-
- /**
- * Appended style for column layout fields.
- */
- textInputFieldColumn: {
- backgroundColor: 'rgb(245, 245, 245)',
- borderRadius: 8,
- marginVertical: 5,
- paddingVertical: 3,
- textAlign: 'left'
- }
- };
|