mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
Added lighter theme
This commit is contained in:
parent
56b85914cf
commit
53a5adde5d
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ class ElectrumGui:
|
||||||
# change the behaviour of rsrc(...)
|
# change the behaviour of rsrc(...)
|
||||||
self.old_path = QDir.currentPath()
|
self.old_path = QDir.currentPath()
|
||||||
cd_data_dir()
|
cd_data_dir()
|
||||||
with open(rsrc("style.css")) as style_file:
|
with open(rsrc("lighter.css")) as style_file:
|
||||||
self.app.setStyleSheet(style_file.read())
|
self.app.setStyleSheet(style_file.read())
|
||||||
|
|
||||||
def main(self, url):
|
def main(self, url):
|
||||||
|
@ -344,7 +344,7 @@ class BalanceLabel(QLabel):
|
||||||
def set_balance_text(self, btc_balance, quote_text):
|
def set_balance_text(self, btc_balance, quote_text):
|
||||||
if self.state == self.SHOW_CONNECTING:
|
if self.state == self.SHOW_CONNECTING:
|
||||||
self.state = self.SHOW_BALANCE
|
self.state = self.SHOW_BALANCE
|
||||||
self.balance_text = "<span style='font-size: 16pt'>%s</span> <span style='font-size: 10pt'>BTC</span> <span style='font-size: 10pt'>%s</span>" % (btc_balance, quote_text)
|
self.balance_text = "<span style='font-size: 18pt'>%s</span> <span style='font-size: 10pt'>BTC</span> <span style='font-size: 10pt'>%s</span>" % (btc_balance, quote_text)
|
||||||
if self.state == self.SHOW_BALANCE:
|
if self.state == self.SHOW_BALANCE:
|
||||||
self.setText(self.balance_text)
|
self.setText(self.balance_text)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue