Skip to content

Commit

Permalink
Update icons
Browse files Browse the repository at this point in the history
New icons from @pgilfernandez

* New checkbox icons for hover state
* New easing icons

The easing icons will be enabled at a later date, need to change some code.
  • Loading branch information
rodlie committed Nov 12, 2024
1 parent b271e07 commit d833157
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
24 changes: 16 additions & 8 deletions src/app/friction.qss
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,7 @@ QPushButton:hover,
QToolButton:hover,
QPushButton:checked,
QToolButton:checked,
QAction:checked,
QCheckBox::indicator:unchecked:hover
QAction:checked
{
background-color: %3;
border-color: %4;
Expand Down Expand Up @@ -318,7 +317,6 @@ QToolButton#FlatButton {
border-radius: 2%;
}

QCheckBox::indicator:unchecked:hover,
QPushButton#FlatButton:hover,
QToolButton#FlatButton:hover {
background-color: rgb(19, 19, 21);
Expand Down Expand Up @@ -498,11 +496,6 @@ QWidget#RenderContentWidget {
border: 1px solid %1;
}

QCheckBox::indicator:hover,
QCheckBox::indicator:hover:unchecked {
background-color: %4;
}

QTreeView::indicator:checked,
QCheckBox::indicator:checked {
image: url(:/icons/hicolor/%11x%11/friction/box-checked.png);
Expand All @@ -517,6 +510,21 @@ QCheckBox::indicator:unchecked {
height: %7px;
}


QTreeView::indicator:checked:hover,
QCheckBox::indicator:checked:hover {
image: url(:/icons/hicolor/%11x%11/friction/box-checked-hover.png);
width: %7px;
height: %7px;
}

QTreeView::indicator:unchecked:hover,
QCheckBox::indicator:unchecked:hover {
image: url(:/icons/hicolor/%11x%11/friction/box-unchecked-hover.png);
width: %7px;
height: %7px;
}

QMenu::icon {
padding-left: 6px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/icons
Submodule icons updated 769 files

0 comments on commit d833157

Please sign in to comment.