From 4718ac55aa000207d5be8e94d36e11b09a719a39 Mon Sep 17 00:00:00 2001 From: Ninnjah <45268461+Ninnjah@users.noreply.github.com> Date: Mon, 14 Dec 2020 00:13:25 +0300 Subject: [PATCH] Add themes --- themes/Dark Theme.qss | 55 ++++++++++++++++++++++++++++++++++++++++++ themes/Light Theme.qss | 54 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 themes/Dark Theme.qss create mode 100644 themes/Light Theme.qss diff --git a/themes/Dark Theme.qss b/themes/Dark Theme.qss new file mode 100644 index 0000000..ee7d9de --- /dev/null +++ b/themes/Dark Theme.qss @@ -0,0 +1,55 @@ + +#background{ + background:rgb(48, 48, 48); +} + +QWidget{ + background: rgb(44, 44, 44); + font: 25 14pt "Calibri Light"; +} + +QPushButton{ + background: rgb(58, 58, 58); + border: none; +} + +QPushButton:hover{ + background: rgb(53, 53, 53); +} + +QListWidget{ + margin: 4px; + border: none; +} + +QListWidget::item[Custom="true"]{ + background: rgb(48, 48, 48); +} + +QListWidget::item:hover{ + background: rgb(53, 53, 53); +} + +QListWidget::item:selected{ + background: rgb(48, 48, 48); + color: black; +} + +QScrollBar:vertical{ + border: 1px transparent rgb(58, 58, 58); + border-radius: 4px; + background: rgb(48, 48, 48); + width: 16px; +} + +QScrollBar::handle:vertical{ + background: rgb(48, 48, 48); +} + +QScrollBar::sub-page:vertical{ + background: rgb(58, 58, 58); +} + +QScrollBar::add-page:vertical{ + background: rgb(58, 58, 58); +} \ No newline at end of file diff --git a/themes/Light Theme.qss b/themes/Light Theme.qss new file mode 100644 index 0000000..45a2c23 --- /dev/null +++ b/themes/Light Theme.qss @@ -0,0 +1,54 @@ +#background{ + background:rgb(248, 248, 248); +} + +QWidget{ + background: white; + font: 25 14pt "Calibri Light"; +} + +QPushButton{ + background: #eee; + border: none; +} + +QPushButton:hover{ + background: #f4f4f4; +} + +QListWidget{ + margin: 4px; + border: none; +} + +QListWidget::item[Custom="true"]{ + background: #eee; +} + +QListWidget::item:hover{ + background: #f4f4f4; +} + +QListWidget::item:selected{ + background: #eee; + color: black; +} + +QScrollBar:vertical{ + border: 1px transparent #eee; + border-radius: 4px; + background: #eaeaea; + width: 16px; +} + +QScrollBar::handle:vertical{ + background: #eee; +} + +QScrollBar::sub-page:vertical{ + background: #f8f8f8; +} + +QScrollBar::add-page:vertical{ + background: #f8f8f8; +} \ No newline at end of file