diff --git a/bauh/view/qt/apps_table.py b/bauh/view/qt/apps_table.py index 6ad7d334..f72b91c3 100644 --- a/bauh/view/qt/apps_table.py +++ b/bauh/view/qt/apps_table.py @@ -14,7 +14,7 @@ from bauh.api.abstract.cache import MemoryCache from bauh.api.abstract.model import PackageStatus from bauh.commons.html import strip_html from bauh.view.qt import dialog -from bauh.view.qt.colors import GREEN +from bauh.view.qt.colors import GREEN, BROWN from bauh.view.qt.components import IconButton from bauh.view.qt.view_model import PackageView from bauh.view.util import resource @@ -301,7 +301,7 @@ class AppsTable(QTableWidget): def uninstall(): self._uninstall_app(pkg) - style = 'color: {c}; font-size: 10px; font-weight: bold;'.format(c='#c87137') + style = 'color: {c}; font-size: 10px; font-weight: bold;'.format(c=BROWN) item = self._gen_row_button(self.i18n['uninstall'].capitalize(), style, uninstall) else: item = QLabel() diff --git a/bauh/view/qt/colors.py b/bauh/view/qt/colors.py index d6c65ac1..e7339591 100644 --- a/bauh/view/qt/colors.py +++ b/bauh/view/qt/colors.py @@ -1,2 +1,4 @@ GREEN = '#91a069' ORANGE = '#ECB03E' +BROWN = '#A77339' +RED = '#FF614E' diff --git a/bauh/view/qt/components.py b/bauh/view/qt/components.py index 58f4e355..4c569405 100644 --- a/bauh/view/qt/components.py +++ b/bauh/view/qt/components.py @@ -15,6 +15,7 @@ from bauh.api.abstract.view import SingleSelectComponent, InputOption, MultipleS TextInputComponent, FormComponent, FileChooserComponent, ViewComponent, TabGroupComponent, PanelComponent, \ TwoStateButtonComponent, TextComponent, SpacerComponent from bauh.view.qt import css +from bauh.view.qt.colors import RED from bauh.view.util import resource from bauh.view.util.translation import I18n @@ -607,7 +608,7 @@ class FormQt(QGroupBox): traceback.print_exc() icon = QIcon() - bt = IconButton(icon, i18n=self.i18n['clean'].capitalize(), action=clean_path, background='#cc0000', tooltip=self.i18n['action.run.tooltip']) + bt = IconButton(icon, i18n=self.i18n['clean'].capitalize(), action=clean_path, background=RED, tooltip=self.i18n['action.run.tooltip']) wrapped.layout().addWidget(bt) return label, wrapped diff --git a/bauh/view/resources/img/settings.svg b/bauh/view/resources/img/settings.svg index 0fcb95d5..0ddc4f0e 100644 --- a/bauh/view/resources/img/settings.svg +++ b/bauh/view/resources/img/settings.svg @@ -37,7 +37,7 @@ showgrid="false" showborder="true" inkscape:zoom="29.5" - inkscape:cx="4.0907752" + inkscape:cx="4.1246735" inkscape:cy="4.9615377" inkscape:window-x="0" inkscape:window-y="0" @@ -50,23 +50,23 @@ + style="fill:#aa66d8;fill-opacity:1;stroke:#aa66d8;stroke-width:10.97066879;stroke-opacity:1"> + style="fill:#aa66d8;fill-opacity:1;stroke:#aa66d8;stroke-width:10.97066879;stroke-opacity:1"> + style="fill:#aa66d8;fill-opacity:1;stroke:#aa66d8;stroke-width:10.97066879;stroke-opacity:1"> + style="fill:#aa66d8;fill-opacity:1;stroke:#aa66d8;stroke-width:10.97066879;stroke-opacity:1" /> + style="fill:#aa66d8;fill-opacity:1;stroke:#aa66d8;stroke-width:10.97066879;stroke-opacity:1" />