Skip to content

Commit

Permalink
update colors
Browse files Browse the repository at this point in the history
  • Loading branch information
flo071 committed Dec 3, 2018
1 parent a0e330f commit 47a0326
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
78 changes: 39 additions & 39 deletions electrum/gui/kivy/main.kv
Original file line number Diff line number Diff line change
Expand Up @@ -187,34 +187,34 @@
padding: '12dp', 0
canvas.before:
Color:
rgba: 0.192, .498, 0.745, 1
rgba: 0.282, 0, 0.152, 1
BorderImage:
source: 'atlas://electrum/gui/kivy/theming/light/card_bottom'
size: self.size
pos: self.pos


<AddressFilter@GridLayout>
item_height: dp(42)
item_width: dp(60)
foreground_color: .843, .914, .972, 1
cols: 1
canvas.before:
Color:
rgba: 0.192, .498, 0.745, 1
BorderImage:
source: 'atlas://electrum/gui/kivy/theming/light/card_bottom'
size: self.size
pos: self.pos
item_height: dp(42)
item_width: dp(60)
foreground_color: .843, .914, .972, 1
cols: 1
canvas.before:
Color:
rgba: 0.282, 0, 0.152, 1
BorderImage:
source: 'atlas://electrum/gui/kivy/theming/light/card_bottom'
size: self.size
pos: self.pos

<SearchBox@GridLayout>
item_height: dp(42)
foreground_color: .843, .914, .972, 1
cols: 1
padding: '12dp', 0
canvas.before:
Color:
rgba: 0.192, .498, 0.745, 1
item_height: dp(42)
foreground_color: .843, .914, .972, 1
cols: 1
padding: '12dp', 0
canvas.before:
Color:
rgba: 0.282, 0, 0.152, 1
BorderImage:
source: 'atlas://electrum/gui/kivy/theming/light/card_bottom'
size: self.size
Expand Down Expand Up @@ -242,7 +242,7 @@
self.screen.show_menu(args[0]) if self.state == 'down' else self.screen.hide_menu()
canvas.before:
Color:
rgba: (0.192, .498, 0.745, 1) if self.state == 'down' else (0.15, 0.15, 0.17, 1)
rgba: (0.282, 0, 0.152, 1) if self.state == 'down' else (0.15, 0.15, 0.17, 1)
Rectangle:
size: self.size
pos: self.pos
Expand All @@ -267,24 +267,24 @@
pos: self.pos

<AddressButton@Button>:
background_color: 1, .585, .878, 0
halign: 'center'
text_size: (self.width, None)
shorten: True
size_hint: 0.5, None
default_text: ''
text: self.default_text
padding: '5dp', '5dp'
height: '40dp'
text_color: self.foreground_color
disabled_color: 1, 1, 1, 1
foreground_color: 1, 1, 1, 1
canvas.before:
Color:
rgba: (0.9, .498, 0.745, 1) if self.state == 'down' else self.background_color
Rectangle:
size: self.size
pos: self.pos
background_color: 1, .585, .878, 0
halign: 'center'
text_size: (self.width, None)
shorten: True
size_hint: 0.5, None
default_text: ''
text: self.default_text
padding: '5dp', '5dp'
height: '40dp'
text_color: self.foreground_color
disabled_color: 1, 1, 1, 1
foreground_color: 1, 1, 1, 1
canvas.before:
Color:
rgba: (0.9, .498, 0.745, 1) if self.state == 'down' else self.background_color
Rectangle:
size: self.size
pos: self.pos

<KButton@Button>:
size_hint: 1, None
Expand Down Expand Up @@ -349,7 +349,7 @@
height: '60dp'
canvas.before:
Color:
rgba: (0.192, .498, 0.745, 1) if self.state == 'down' else (0.3, 0.3, 0.3, 0)
rgba: (0.282, 0, 0.152, 1) if self.state == 'down' else (0.3, 0.3, 0.3, 0)
Rectangle:
size: self.size
pos: self.pos
Expand Down
2 changes: 1 addition & 1 deletion electrum/gui/kivy/uix/context_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Builder.load_string('''
<MenuItem@Button>
background_normal: ''
background_color: (0.192, .498, 0.745, 1)
background_color: (0.282, 0, 0.152, 1)
height: '48dp'
size_hint: 1, None
Expand Down

0 comments on commit 47a0326

Please sign in to comment.