Optimize themes colors. Synchronize dark and light themes. Fixes few bugs with widgets.

This commit is contained in:
Roman Telezhynskyi 2023-08-16 10:39:33 +03:00
parent 71e77118f6
commit 6dae04e3e6
3 changed files with 2659 additions and 2614 deletions

File diff suppressed because it is too large Load Diff

View File

@ -52,6 +52,21 @@ QToolTip
opacity: 200; opacity: 200;
} }
QListWidget
{
background-color: #eff0f1;
}
QListWidget::item
{
color: #272b2f;
}
QListWidget::item:selected
{
background-color: #e0e9f0;
}
QWidget QWidget
{ {
color: #31363b; color: #31363b;
@ -760,6 +775,7 @@ QFrame[frameShape] QAbstractItemView:hover
QToolBar QToolBar
{ {
font-weight: bold; font-weight: bold;
border: 1px;
} }
QToolBar:horizontal QToolBar:horizontal
@ -1076,6 +1092,11 @@ QAbstractSpinBox:hover
border: 0.09em solid rgba(51, 164, 223, 0.5); border: 0.09em solid rgba(51, 164, 223, 0.5);
} }
QAbstractSpinBox:disabled
{
color: #c0c0c0;
}
QAbstractSpinBox:up-button, QAbstractSpinBox:up-button,
QAbstractSpinBox:up-button:hover QAbstractSpinBox:up-button:hover
{ {
@ -1281,6 +1302,11 @@ QLabel
border: 0em solid black; border: 0em solid black;
} }
QLabel:disabled
{
color: #c0c0c0;
}
/* BORDERS */ /* BORDERS */
QTabWidget::pane QTabWidget::pane
{ {
@ -1994,6 +2020,16 @@ QDialog QToolBar QToolButton[hasMenu="false"][popupMode="2"]
padding: 0em; padding: 0em;
} }
QToolButton[text]:disabled
{
color: #8c8c8c;
}
QToolButton[text]:enabled
{
color: #333333;
}
QToolButton[autoRaise="false"] QToolButton[autoRaise="false"]
{ {
background-color: #eff0f1; background-color: #eff0f1;
@ -2020,6 +2056,12 @@ QDialog QToolBar QToolButton[hasMenu="true"][popupMode="2"]
padding-right: 1.2em; padding-right: 1.2em;
} }
/* Target the QAction on the QToolBar */
QToolBar QToolButton[enabled="false"] {
/* Set custom text color for the disabled QAction */
color: #8C8C8C; /* A lighter shade of gray for better contrast */
}
QToolButton:hover QToolButton:hover
{ {
border: 0.04em solid rgba(51, 164, 223, 0.5); border: 0.04em solid rgba(51, 164, 223, 0.5);

View File

@ -1,48 +1,48 @@
{ {
"ToolStyle": { "ToolStyle": {
"PatternColor": [120, 160, 200], "PatternColor": "#d9d9d9",
"DisabledColor": "#dedede", "DisabledColor": "#5a4949",
"ColorAdjustments": { "ColorAdjustments": {
"black": [120, 160, 200] "black": "#d9d9d9"
}, },
"PointColor": [120, 160, 200], "PointColor": "#d9d9d9",
"LabelColor": "#f8f8f8", "LabelColor": "#d9d9d9",
"LabelHoverColor": "lightGreen", "LabelHoverColor": "#ffd900",
"LabelLineColor": [120, 160, 200, 125], "LabelLineColor": "#80ffd900",
"AccuracyRadiusColor": "yellow", "AccuracyRadiusColor": "#ffd900",
"ControlLineColor": [120, 160, 200, 125], "ControlLineColor": "#80ffd900",
"ControlPointColor": "red", "ControlPointColor": "#ffd900",
"VisMainColor": "red", "VisMainColor": "#ffd900",
"VisSupportColor": "magenta", "VisSupportColor": "#b200b2",
"VisSupportColor2": "darkGreen", "VisSupportColor2": "#5aad4b",
"VisSupportColor3": "darkBlue", "VisSupportColor3": "#0057b7",
"VisSupportColor4": "darkRed", "VisSupportColor4": "#d73b31",
"BasePointColor": "red" "BasePointColor": "#ffd900"
}, },
"PatternPieceStyle": { "PatternPieceStyle": {
"PieceColor": [120, 160, 200], "PieceColor": "#83aad1",
"PointColor": [120, 160, 200], "PointColor": "#ffd900",
"NodeLabelColor": "#f8f8f8", "NodeLabelColor": "#d9d9d9",
"NodeLabelHoverColor": "lightGreen", "NodeLabelHoverColor": "#ffd900",
"NodeLabelLineColor": [120, 160, 200, 125], "NodeLabelLineColor": "#80ffd900",
"LabelBackgroundColor": [255, 255, 180, 200], "LabelBackgroundColor": "#80ffd900",
"LabelTextColor": "black", "LabelTextColor": "#d9d9d9",
"LabelModeColor": "white" "LabelModeColor": "white"
}, },
"ManualLayoutStyle": { "ManualLayoutStyle": {
"SheetBorderColor": "#808080", "SheetBorderColor": "#808080",
"SheetMarginColor": [0, 179, 255], "SheetMarginColor": "#00b3ff",
"SheetGridColor": [204, 204, 204], "SheetGridColor": "#cccccc",
"SheetTileGridColor": [255, 0, 0, 127], "SheetTileGridColor": "#80ff0000",
"SheetTileNumberColor": "lightBlue", "SheetTileNumberColor": "#add8e6",
"PieceOkColor": [120, 160, 200], "PieceOkColor": "#78a0c8",
"PieceErrorColor": [255, 150, 150], "PieceErrorColor": "#ff9696",
"PieceHoverColor": [199, 244, 249, 60], "PieceHoverColor": "#80c7f4f9",
"PieceHandleColor": "lightBlue", "PieceHandleColor": "#add8e6",
"PieceHandleHoverColor": "lightGreen", "PieceHandleHoverColor": "#90ee90",
"CarrouselPieceColor": [120, 160, 200], "CarrouselPieceColor": "#78a0c8",
"CarrouselPieceSelectedColor": [255, 160, 160, 60], "CarrouselPieceSelectedColor": "#80ffa0a0",
"CarrouselPieceBackgroundColor": [32, 32, 32], "CarrouselPieceBackgroundColor": "#202020",
"CarrouselPieceForegroundColor": [0, 0, 80] "CarrouselPieceForegroundColor": "#000050"
} }
} }