diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-06-01 16:13:10 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-06-05 12:11:55 +0200 |
| commit | ca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087 (patch) | |
| tree | b1f7754eb50896ab3681e35fa4e08be642b940c9 /app/components/SettingsStyles.js | |
| parent | 5852c980980de53e00d76a0bdb4b41bf5c0f5b39 (diff) | |
| download | mullvadvpn-ca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087.tar.xz mullvadvpn-ca2f6fbfcad7b73d4ea63ef46cb1cab943ec9087.zip | |
Add formatted source code
Diffstat (limited to 'app/components/SettingsStyles.js')
| -rw-r--r-- | app/components/SettingsStyles.js | 121 |
1 files changed, 62 insertions, 59 deletions
diff --git a/app/components/SettingsStyles.js b/app/components/SettingsStyles.js index d84673253e..82616f7e4a 100644 --- a/app/components/SettingsStyles.js +++ b/app/components/SettingsStyles.js @@ -1,62 +1,65 @@ import { createViewStyles, createTextStyles } from '../lib/styles'; import { colors } from '../config'; -export default Object.assign(createViewStyles({ - settings: { - backgroundColor: colors.darkBlue, - flex: 1, - }, - settings__container:{ - flexDirection: 'column', - flex: 1 - }, - settings__header:{ - flexGrow: 0, - flexShrink: 0, - flexBasis: 'auto', - paddingTop: 16, - paddingRight: 24, - paddingLeft: 24, - paddingBottom: 16, - }, - settings__content: { - flexDirection: 'column', - flex: 1, - justifyContent: 'space-between', - }, - settings__scrollview: { - flexGrow: 1, - flexShrink: 1, - flexBasis: '100%', - }, - settings__close: { - marginLeft: 12, - marginTop: 24, - cursor: 'default', - }, - settings__close_icon:{ - width: 24, - height: 24, - flex: 0, - opacity: 0.6, - }, - settings__cell_spacer:{ - height: 24, - flex: 0 - }, - settings__footer: { - paddingTop: 16, - paddingBottom: 16, - }, -}), createTextStyles({ - settings__title:{ - fontFamily: 'DINPro', - fontSize: 32, - fontWeight: '900', - lineHeight: 40, - color: colors.white - }, - settings__account_paid_until_label__error:{ - color: colors.red, - }, -})); +export default Object.assign( + createViewStyles({ + settings: { + backgroundColor: colors.darkBlue, + flex: 1, + }, + settings__container: { + flexDirection: 'column', + flex: 1, + }, + settings__header: { + flexGrow: 0, + flexShrink: 0, + flexBasis: 'auto', + paddingTop: 16, + paddingRight: 24, + paddingLeft: 24, + paddingBottom: 16, + }, + settings__content: { + flexDirection: 'column', + flex: 1, + justifyContent: 'space-between', + }, + settings__scrollview: { + flexGrow: 1, + flexShrink: 1, + flexBasis: '100%', + }, + settings__close: { + marginLeft: 12, + marginTop: 24, + cursor: 'default', + }, + settings__close_icon: { + width: 24, + height: 24, + flex: 0, + opacity: 0.6, + }, + settings__cell_spacer: { + height: 24, + flex: 0, + }, + settings__footer: { + paddingTop: 16, + paddingBottom: 16, + }, + }), + createTextStyles({ + settings__title: { + fontFamily: 'DINPro', + fontSize: 32, + fontWeight: '900', + lineHeight: 40, + color: colors.white, + }, + settings__account_paid_until_label__error: { + color: colors.red, + }, + }), +); |
