summaryrefslogtreecommitdiffhomepage
path: root/app/components/LayoutStyles.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-04-16 12:01:39 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-04-16 12:01:39 +0200
commitc92ea97d9180fe05ab1adb35a4af0bcb19b12ec9 (patch)
treeddd20a989d7c5b0fc9cae12724970d69976f889c /app/components/LayoutStyles.js
parentc9f2ec62790a62e674b1252a6a18dec451d17bf3 (diff)
parent898dd74e5ac86dac2638dc26975b22a9fb0392d4 (diff)
downloadmullvadvpn-c92ea97d9180fe05ab1adb35a4af0bcb19b12ec9.tar.xz
mullvadvpn-c92ea97d9180fe05ab1adb35a4af0bcb19b12ec9.zip
Merge branch 'rn-compatibility'
Diffstat (limited to 'app/components/LayoutStyles.js')
-rw-r--r--app/components/LayoutStyles.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/components/LayoutStyles.js b/app/components/LayoutStyles.js
new file mode 100644
index 0000000000..ab32d45e7b
--- /dev/null
+++ b/app/components/LayoutStyles.js
@@ -0,0 +1,20 @@
+// @flow
+import { createViewStyles } from '../lib/styles';
+import { colors } from '../config';
+
+export default {
+ ...createViewStyles({
+ layout: {
+ flexDirection: 'column',
+ flex: 1,
+ },
+ header: {
+ flex: 0,
+ },
+ container: {
+ flex: 1,
+ backgroundColor: colors.blue,
+ overflow: 'hidden',
+ }
+ }),
+};