summaryrefslogtreecommitdiffhomepage
path: root/app/components/BlurAppButtonStyles.android.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-07-18 12:56:12 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-07-18 20:06:22 +0200
commite6dc383704b1c7a6aff8abfad2bd5e2d948138cc (patch)
tree0c2ffe951c376e0a0425119f99709945a92520f6 /app/components/BlurAppButtonStyles.android.js
parent9f0ed3cc4878edac9aa8ae67fae366cb1d0bf588 (diff)
downloadmullvadvpn-e6dc383704b1c7a6aff8abfad2bd5e2d948138cc.tar.xz
mullvadvpn-e6dc383704b1c7a6aff8abfad2bd5e2d948138cc.zip
- Reintegrate components/styled into components
- Drop styled/Button, use RX.Button instead and reset cursor when needed - Scope AppButton and Cell to avoid class clash for Label and SubText - Add missing cursor: default
Diffstat (limited to 'app/components/BlurAppButtonStyles.android.js')
-rw-r--r--app/components/BlurAppButtonStyles.android.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/components/BlurAppButtonStyles.android.js b/app/components/BlurAppButtonStyles.android.js
new file mode 100644
index 0000000000..c39e44cdd5
--- /dev/null
+++ b/app/components/BlurAppButtonStyles.android.js
@@ -0,0 +1,20 @@
+import { colors } from '../../config';
+
+import { createViewStyles } from '../../lib/styles';
+
+export default {
+ ...createViewStyles({
+ transparent: {
+ backgroundColor: colors.white20,
+ },
+ transparentHover: {
+ backgroundColor: colors.white40,
+ },
+ redTransparent: {
+ backgroundColor: colors.red40,
+ },
+ redTransparentHover: {
+ backgroundColor: colors.red45,
+ },
+ }),
+};