Skip to content

Commit

Permalink
Update relaxed white bg color to a darker shade
Browse files Browse the repository at this point in the history
  • Loading branch information
zkovari committed Oct 3, 2024
1 parent 782834a commit 32cbd33
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion src/main/python/plotlyst/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@

ALT_BACKGROUND_COLOR: str = '#F0E6F4'

RELAXED_WHITE_COLOR: str = '#f8f9fa'
RELAXED_WHITE_COLOR: str = '#F5F6F8'
WHITE_COLOR: str = '#FcFcFc'
BLACK_COLOR: str = '#040406'
RED_COLOR: str = '#ED6868'
Expand Down
12 changes: 6 additions & 6 deletions src/main/python/plotlyst/view/style/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}
QWidget[relaxed-white-bg=true] {
background-color: #f8f9fa;
background-color: #F5F6F8;
}
QWidget[banner-bg=true] {
Expand All @@ -80,7 +80,7 @@
}
QFrame[relaxed-white-bg=true] {
background-color: #f8f9fa;
background-color: #F5F6F8;
}
QFrame[white-bg=true] {
Expand All @@ -94,7 +94,7 @@
QFrame[revision-badge=true] {
border: 3px solid #622675;
background: #f8f9fa;
background: #F5F6F8;
padding: 6px;
border-radius: 12px;
}
Expand All @@ -105,7 +105,7 @@
}
QDialog[relaxed-white-bg] {
background-color: #f8f9fa;
background-color: #F5F6F8;
}
QToolBox::tab[conflict-selector=true] {
Expand All @@ -130,11 +130,11 @@
}
QScrollArea[relaxed-white-bg=true] {
background-color: #f8f9fa;
background-color: #F5F6F8;
}
TaskWidget {
background-color: #f8f9fa;
background-color: #F5F6F8;
border: 1px solid lightGrey;
border-radius: 6px;
}
Expand Down
10 changes: 5 additions & 5 deletions src/main/python/plotlyst/view/style/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
btn_style_deconstructive = """
QPushButton[deconstructive=true]:!disabled {
background: #E11D48;
color: #f8f9fa;
color: #F5F6F8;
font: bold;
}
Expand All @@ -114,7 +114,7 @@
background: #FcFcFc;
}
QPushButton[cancel=true]:!disabled:hover {
background: #f8f9fa;
background: #F5F6F8;
}
"""

Expand Down Expand Up @@ -186,7 +186,7 @@
border: 1px solid #4B0763;
border-radius: 5px;
padding: 3px;
color: #f8f9fa;
color: #F5F6F8;
margin: 2px;
}
"""
Expand All @@ -206,7 +206,7 @@
padding: 2px;
border-radius: 2px;
border: 1px solid lightgrey;
background: #f8f9fa;
background: #F5F6F8;
}
QPushButton[find=true]:pressed {
padding: 2px;
Expand All @@ -228,7 +228,7 @@
QPushButton:hover[importer-sync=true] {
border: 1px outset #410253;
background-color: #f8f9fa;
background-color: #F5F6F8;
}
"""

Expand Down
10 changes: 5 additions & 5 deletions src/main/python/plotlyst/view/style/item_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@
style = '''
QHeaderView::section {
background-color: #f8f9fa; border: 0px; color: black;
background-color: #F5F6F8; border: 0px; color: black;
}
QHeaderView {
background-color: #f8f9fa;
background-color: #F5F6F8;
}
QTableView {
background-color: #f8f9fa;
background-color: #F5F6F8;
alternate-background-color: #F0E6F4;
}
QTableView QTableCornerButton::section {
background-color: #f8f9fa;
background-color: #F5F6F8;
}
QHeaderView::section[main-header] {
Expand Down Expand Up @@ -80,7 +80,7 @@
}
QListView {
background-color: #f8f9fa;
background-color: #F5F6F8;
alternate-background-color: #F0E6F4;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/python/plotlyst/view/style/tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}
QTabBar::tab:selected {
background: #f8f9fa;
background: #F5F6F8;
}
QTabBar::tab:!selected {
Expand Down
12 changes: 6 additions & 6 deletions src/main/python/plotlyst/view/style/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}
QLabel[night-mode=true] {
color: #f8f9fa;
color: #F5F6F8;
}
"""

Expand Down Expand Up @@ -71,7 +71,7 @@
# QTextBrowser styles
text_browser_styles = """
QTextBrowser {
background-color: #f8f9fa;
background-color: #F5F6F8;
}
QTextBrowser[rounded=true] {
Expand All @@ -84,7 +84,7 @@
# QLineEdit styles
line_edit_styles = """
QLineEdit {
background-color: #f8f9fa;
background-color: #F5F6F8;
}
QLineEdit[white-bg=true] {
Expand All @@ -110,7 +110,7 @@
# QTextEdit styles
text_edit_styles = """
QTextEdit {
background-color: #f8f9fa;
background-color: #F5F6F8;
}
QTextEdit[rounded=true] {
Expand All @@ -129,7 +129,7 @@
QTextEdit[night-mode=true] {
background-color: rgba(39, 39, 39, 200);
color: #f8f9fa;
color: #F5F6F8;
}
QTextEdit[transparent=true] {
Expand All @@ -143,7 +143,7 @@
QTextEdit[borderless=true] {
border: 0px;
background-color: #f8f9fa;
background-color: #F5F6F8;
}
"""

Expand Down

0 comments on commit 32cbd33

Please sign in to comment.