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;
}
QListWidget
{
background-color: #eff0f1;
}
QListWidget::item
{
color: #272b2f;
}
QListWidget::item:selected
{
background-color: #e0e9f0;
}
QWidget
{
color: #31363b;
@ -760,6 +775,7 @@ QFrame[frameShape] QAbstractItemView:hover
QToolBar
{
font-weight: bold;
border: 1px;
}
QToolBar:horizontal
@ -1076,6 +1092,11 @@ QAbstractSpinBox:hover
border: 0.09em solid rgba(51, 164, 223, 0.5);
}
QAbstractSpinBox:disabled
{
color: #c0c0c0;
}
QAbstractSpinBox:up-button,
QAbstractSpinBox:up-button:hover
{
@ -1281,6 +1302,11 @@ QLabel
border: 0em solid black;
}
QLabel:disabled
{
color: #c0c0c0;
}
/* BORDERS */
QTabWidget::pane
{
@ -1994,6 +2020,16 @@ QDialog QToolBar QToolButton[hasMenu="false"][popupMode="2"]
padding: 0em;
}
QToolButton[text]:disabled
{
color: #8c8c8c;
}
QToolButton[text]:enabled
{
color: #333333;
}
QToolButton[autoRaise="false"]
{
background-color: #eff0f1;
@ -2020,6 +2056,12 @@ QDialog QToolBar QToolButton[hasMenu="true"][popupMode="2"]
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
{
border: 0.04em solid rgba(51, 164, 223, 0.5);

View File

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