From e0effffac555c74813d5c467f9f0a5b72e384d60 Mon Sep 17 00:00:00 2001 From: isabela-pf Date: Thu, 1 Jul 2021 15:08:38 -0700 Subject: [PATCH 01/12] Update SpyderPalette ICON_2 and ICON_3 in palette.py --- spyder/utils/palette.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spyder/utils/palette.py b/spyder/utils/palette.py index f6c38d0f125..a041abc407a 100644 --- a/spyder/utils/palette.py +++ b/spyder/utils/palette.py @@ -39,8 +39,8 @@ class SpyderPaletteDark: # Icon colors ICON_1 = Gray.B140 - ICON_2 = Blue.B70 - ICON_3 = Green.B60 + ICON_2 = Blue.B80 + ICON_3 = Green.B80 ICON_4 = Red.B70 ICON_5 = Orange.B70 ICON_6 = Gray.B30 @@ -97,8 +97,8 @@ class SpyderPaletteLight: # Icon colors ICON_1 = Gray.B30 - ICON_2 = Blue.B70 - ICON_3 = Green.B70 + ICON_2 = Blue.B50 + ICON_3 = Green.B30 ICON_4 = Red.B70 ICON_5 = Orange.B70 ICON_6 = Gray.B140 From 77ed7bae8e8f38fcbc5975e3768be608412c754d Mon Sep 17 00:00:00 2001 From: isabela-pf Date: Thu, 1 Jul 2021 15:12:15 -0700 Subject: [PATCH 02/12] Update SpyderPalette ICON_2 and ICON_3 in image files --- spyder/images/dark/debug_cell.svg | 65 ++++++++++++++++++++++-- spyder/images/dark/run_again.svg | 65 ++++++++++++++++++++++-- spyder/images/dark/run_cell.svg | 64 +++++++++++++++++++++-- spyder/images/dark/run_cell_advance.svg | 64 +++++++++++++++++++++-- spyder/images/dark/run_selection.svg | 64 +++++++++++++++++++++-- spyder/images/dark/run_settings.svg | 65 ++++++++++++++++++++++-- spyder/images/light/debug_cell.svg | 65 ++++++++++++++++++++++-- spyder/images/light/run_again.svg | 65 ++++++++++++++++++++++-- spyder/images/light/run_cell.svg | 65 ++++++++++++++++++++++-- spyder/images/light/run_cell_advance.svg | 65 ++++++++++++++++++++++-- spyder/images/light/run_selection.svg | 65 ++++++++++++++++++++++-- spyder/images/light/run_settings.svg | 65 ++++++++++++++++++++++-- 12 files changed, 741 insertions(+), 36 deletions(-) mode change 100755 => 100644 spyder/images/dark/debug_cell.svg mode change 100755 => 100644 spyder/images/dark/run_again.svg mode change 100755 => 100644 spyder/images/dark/run_cell.svg mode change 100755 => 100644 spyder/images/dark/run_cell_advance.svg mode change 100755 => 100644 spyder/images/dark/run_selection.svg mode change 100755 => 100644 spyder/images/dark/run_settings.svg mode change 100755 => 100644 spyder/images/light/debug_cell.svg mode change 100755 => 100644 spyder/images/light/run_again.svg mode change 100755 => 100644 spyder/images/light/run_cell.svg mode change 100755 => 100644 spyder/images/light/run_cell_advance.svg mode change 100755 => 100644 spyder/images/light/run_selection.svg mode change 100755 => 100644 spyder/images/light/run_settings.svg diff --git a/spyder/images/dark/debug_cell.svg b/spyder/images/dark/debug_cell.svg old mode 100755 new mode 100644 index c6e61cf3029..bf2796a363e --- a/spyder/images/dark/debug_cell.svg +++ b/spyder/images/dark/debug_cell.svg @@ -1,4 +1,63 @@ - - - + + + + + + image/svg+xml + + + + + + + + + diff --git a/spyder/images/dark/run_again.svg b/spyder/images/dark/run_again.svg old mode 100755 new mode 100644 index ea8b1ffe9df..1ef6e717d9e --- a/spyder/images/dark/run_again.svg +++ b/spyder/images/dark/run_again.svg @@ -1,4 +1,63 @@ - - - + + + + + + image/svg+xml + + + + + + + + + diff --git a/spyder/images/dark/run_cell.svg b/spyder/images/dark/run_cell.svg old mode 100755 new mode 100644 index 9d7769c9557..f996c9f5465 --- a/spyder/images/dark/run_cell.svg +++ b/spyder/images/dark/run_cell.svg @@ -1,4 +1,62 @@ - - - + + + + + + image/svg+xml + + + + + + + + + diff --git a/spyder/images/dark/run_cell_advance.svg b/spyder/images/dark/run_cell_advance.svg old mode 100755 new mode 100644 index 9e16e0ea94e..36f99724e24 --- a/spyder/images/dark/run_cell_advance.svg +++ b/spyder/images/dark/run_cell_advance.svg @@ -1,4 +1,62 @@ - - - + + + + + + image/svg+xml + + + + + + + + + diff --git a/spyder/images/dark/run_selection.svg b/spyder/images/dark/run_selection.svg old mode 100755 new mode 100644 index b3d790772f9..def723045a0 --- a/spyder/images/dark/run_selection.svg +++ b/spyder/images/dark/run_selection.svg @@ -1,4 +1,62 @@ - - - + + + + + + image/svg+xml + + + + + + + + + diff --git a/spyder/images/dark/run_settings.svg b/spyder/images/dark/run_settings.svg old mode 100755 new mode 100644 index 3637266a79b..5986ba07813 --- a/spyder/images/dark/run_settings.svg +++ b/spyder/images/dark/run_settings.svg @@ -1,4 +1,63 @@ - - - + + + + + + image/svg+xml + + + + + + + + + diff --git a/spyder/images/light/debug_cell.svg b/spyder/images/light/debug_cell.svg old mode 100755 new mode 100644 index f7e8438f238..d08a474fa7f --- a/spyder/images/light/debug_cell.svg +++ b/spyder/images/light/debug_cell.svg @@ -1,4 +1,63 @@ - - - + + + + + + image/svg+xml + + + + + + + + + diff --git a/spyder/images/light/run_again.svg b/spyder/images/light/run_again.svg old mode 100755 new mode 100644 index c8d76bec7a4..0e4d4105903 --- a/spyder/images/light/run_again.svg +++ b/spyder/images/light/run_again.svg @@ -1,4 +1,63 @@ - - - + + + + + + image/svg+xml + + + + + + + + + diff --git a/spyder/images/light/run_cell.svg b/spyder/images/light/run_cell.svg old mode 100755 new mode 100644 index f4c171415c0..a457d54c68a --- a/spyder/images/light/run_cell.svg +++ b/spyder/images/light/run_cell.svg @@ -1,4 +1,63 @@ - - - + + + + + + image/svg+xml + + + + + + + + + diff --git a/spyder/images/light/run_cell_advance.svg b/spyder/images/light/run_cell_advance.svg old mode 100755 new mode 100644 index 97561732b7e..eaea296e3f2 --- a/spyder/images/light/run_cell_advance.svg +++ b/spyder/images/light/run_cell_advance.svg @@ -1,4 +1,63 @@ - - - + + + + + + image/svg+xml + + + + + + + + + diff --git a/spyder/images/light/run_selection.svg b/spyder/images/light/run_selection.svg old mode 100755 new mode 100644 index 4cf3fb86e79..430046c3119 --- a/spyder/images/light/run_selection.svg +++ b/spyder/images/light/run_selection.svg @@ -1,4 +1,63 @@ - - - + + + + + + image/svg+xml + + + + + + + + + diff --git a/spyder/images/light/run_settings.svg b/spyder/images/light/run_settings.svg old mode 100755 new mode 100644 index cb9f4efec7f..5456e5011d7 --- a/spyder/images/light/run_settings.svg +++ b/spyder/images/light/run_settings.svg @@ -1,4 +1,63 @@ - - - + + + + + + image/svg+xml + + + + + + + + + From 1373e8594f02f5f205067ccf8c52beffbdc8a645 Mon Sep 17 00:00:00 2001 From: isabela-pf Date: Fri, 23 Jul 2021 07:13:30 -0700 Subject: [PATCH 03/12] Add constant and argument for disabled toolbar buttons --- spyder/utils/color_system.py | 7 +++++++ spyder/utils/icon_manager.py | 1 + spyder/utils/palette.py | 8 +++++++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/spyder/utils/color_system.py b/spyder/utils/color_system.py index a8f7b6b74ae..9512b2c79b8 100644 --- a/spyder/utils/color_system.py +++ b/spyder/utils/color_system.py @@ -117,3 +117,10 @@ class Logos: B30 = '#414141' B40 = '#fafafa' B50 = '#ee0000' + +class Opacity: + """ + Opacity settings for toolbar button states. + """ + + OPACITY_DISABLED = 165 diff --git a/spyder/utils/icon_manager.py b/spyder/utils/icon_manager.py index db289da2b98..ff063ecb8c6 100644 --- a/spyder/utils/icon_manager.py +++ b/spyder/utils/icon_manager.py @@ -376,6 +376,7 @@ def icon(self, name, scale_factor=None, resample=False): directory=self._resource['directory']) self._resource['loaded'] = True args, kwargs = self._qtaargs[name] + kwargs['color_disabled'] = SpyderPalette.COLOR_DISABLED if scale_factor is not None: kwargs['scale_factor'] = scale_factor return qta.icon(*args, **kwargs) diff --git a/spyder/utils/palette.py b/spyder/utils/palette.py index a041abc407a..3fd29795a51 100644 --- a/spyder/utils/palette.py +++ b/spyder/utils/palette.py @@ -16,7 +16,7 @@ # Local imports from spyder.config.gui import is_dark_interface from spyder.utils.color_system import (Green, Red, Orange, GroupDark, - GroupLight, Logos) + GroupLight, Logos, Opacity) # ============================================================================= # ---- Spyder palettes @@ -78,6 +78,9 @@ class SpyderPaletteDark: SPYDER_LOGO_WEB = Logos.B40 SPYDER_LOGO_SNAKE = Logos.B50 + # Colors for disabled state toolbar buttons + COLOR_DISABLED = ICON_1, OPACITY_DISABLED + class SpyderPaletteLight: """Light palette for Spyder.""" @@ -136,6 +139,9 @@ class SpyderPaletteLight: SPYDER_LOGO_WEB = Logos.B40 SPYDER_LOGO_SNAKE = Logos.B50 + # Colors for disabled state toolbar buttons + COLOR_DISABLED = ICON_1, OPACITY_DISABLED + # ============================================================================= # ---- Exported classes From bcbd8ad4fd15dfeed9594c55a0d3d80e09ca02ed Mon Sep 17 00:00:00 2001 From: isabela-pf Date: Fri, 23 Jul 2021 07:20:32 -0700 Subject: [PATCH 04/12] Add blank line per PEP 8 --- spyder/utils/color_system.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spyder/utils/color_system.py b/spyder/utils/color_system.py index 9512b2c79b8..9c407b7a3bc 100644 --- a/spyder/utils/color_system.py +++ b/spyder/utils/color_system.py @@ -118,6 +118,7 @@ class Logos: B40 = '#fafafa' B50 = '#ee0000' + class Opacity: """ Opacity settings for toolbar button states. From 8cd019f5b58467ee3d0f61368d98082b40c1dcf8 Mon Sep 17 00:00:00 2001 From: isabela-pf Date: Fri, 23 Jul 2021 07:35:17 -0700 Subject: [PATCH 05/12] Remove 'color_disabled' from icon manager --- spyder/utils/icon_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spyder/utils/icon_manager.py b/spyder/utils/icon_manager.py index ff063ecb8c6..3ff72809c3d 100644 --- a/spyder/utils/icon_manager.py +++ b/spyder/utils/icon_manager.py @@ -144,9 +144,9 @@ def __init__(self): 'stop_debug': [('mdi.stop',), {'color': SpyderPalette.ICON_2}], 'run': [('mdi.play',), {'color': SpyderPalette.ICON_3}], 'todo_list': [('mdi.check-bold',), {'color': self.MAIN_FG_COLOR}], - 'wng_list': [('mdi.alert',), {'options': [{'color': SpyderPalette.COLOR_WARN_2, 'color_disabled': QStylePalette.COLOR_TEXT_4}]}], - 'prev_wng': [('mdi.arrow-left',), {'options': [{'color': SpyderPalette.ICON_1, 'color_disabled': QStylePalette.COLOR_TEXT_4}]}], - 'next_wng': [('mdi.arrow-right',), {'options': [{'color': SpyderPalette.ICON_1, 'color_disabled': QStylePalette.COLOR_TEXT_4}]}], + 'wng_list': [('mdi.alert',), {'options': [{'color': SpyderPalette.COLOR_WARN_2}]}], + 'prev_wng': [('mdi.arrow-left',), {'options': [{'color': SpyderPalette.ICON_1}]}], + 'next_wng': [('mdi.arrow-right',), {'options': [{'color': SpyderPalette.ICON_1}]}], 'prev_cursor': [('mdi.hand-pointing-left',), {'color': self.MAIN_FG_COLOR}], 'next_cursor': [('mdi.hand-pointing-right',), {'color': self.MAIN_FG_COLOR}], 'comment': [('mdi.comment-text-outline',), {'color': self.MAIN_FG_COLOR}], From 1bd1c3f17d1004e493873b45105af78e9d0cb3d9 Mon Sep 17 00:00:00 2001 From: isabela-pf Date: Fri, 23 Jul 2021 14:29:12 -0700 Subject: [PATCH 06/12] Add Opacity class to palette.py --- spyder/utils/palette.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spyder/utils/palette.py b/spyder/utils/palette.py index 3fd29795a51..9600837ce5f 100644 --- a/spyder/utils/palette.py +++ b/spyder/utils/palette.py @@ -79,7 +79,7 @@ class SpyderPaletteDark: SPYDER_LOGO_SNAKE = Logos.B50 # Colors for disabled state toolbar buttons - COLOR_DISABLED = ICON_1, OPACITY_DISABLED + COLOR_DISABLED = ICON_1, Opacity.OPACITY_DISABLED class SpyderPaletteLight: From 50912637089d3304de0c3a9aac3bb763a0f8151a Mon Sep 17 00:00:00 2001 From: isabela-pf Date: Fri, 23 Jul 2021 15:50:51 -0700 Subject: [PATCH 07/12] Add Opacity class to palette.py light mode --- spyder/utils/palette.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spyder/utils/palette.py b/spyder/utils/palette.py index 9600837ce5f..265faedf8f8 100644 --- a/spyder/utils/palette.py +++ b/spyder/utils/palette.py @@ -140,7 +140,7 @@ class SpyderPaletteLight: SPYDER_LOGO_SNAKE = Logos.B50 # Colors for disabled state toolbar buttons - COLOR_DISABLED = ICON_1, OPACITY_DISABLED + COLOR_DISABLED = ICON_1, Opacity.OPACITY_DISABLED # ============================================================================= From 420380e1bd9ef4a3083c98c0b6e0206f315068f0 Mon Sep 17 00:00:00 2001 From: isabela-pf Date: Wed, 28 Jul 2021 14:20:32 -0700 Subject: [PATCH 08/12] Revert "Remove 'color_disabled' from icon manager" This reverts commit 8cd019f5b58467ee3d0f61368d98082b40c1dcf8. --- spyder/utils/icon_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spyder/utils/icon_manager.py b/spyder/utils/icon_manager.py index 3ff72809c3d..ff063ecb8c6 100644 --- a/spyder/utils/icon_manager.py +++ b/spyder/utils/icon_manager.py @@ -144,9 +144,9 @@ def __init__(self): 'stop_debug': [('mdi.stop',), {'color': SpyderPalette.ICON_2}], 'run': [('mdi.play',), {'color': SpyderPalette.ICON_3}], 'todo_list': [('mdi.check-bold',), {'color': self.MAIN_FG_COLOR}], - 'wng_list': [('mdi.alert',), {'options': [{'color': SpyderPalette.COLOR_WARN_2}]}], - 'prev_wng': [('mdi.arrow-left',), {'options': [{'color': SpyderPalette.ICON_1}]}], - 'next_wng': [('mdi.arrow-right',), {'options': [{'color': SpyderPalette.ICON_1}]}], + 'wng_list': [('mdi.alert',), {'options': [{'color': SpyderPalette.COLOR_WARN_2, 'color_disabled': QStylePalette.COLOR_TEXT_4}]}], + 'prev_wng': [('mdi.arrow-left',), {'options': [{'color': SpyderPalette.ICON_1, 'color_disabled': QStylePalette.COLOR_TEXT_4}]}], + 'next_wng': [('mdi.arrow-right',), {'options': [{'color': SpyderPalette.ICON_1, 'color_disabled': QStylePalette.COLOR_TEXT_4}]}], 'prev_cursor': [('mdi.hand-pointing-left',), {'color': self.MAIN_FG_COLOR}], 'next_cursor': [('mdi.hand-pointing-right',), {'color': self.MAIN_FG_COLOR}], 'comment': [('mdi.comment-text-outline',), {'color': self.MAIN_FG_COLOR}], From 99a2c0414a78a06050d05dce4768933b6829a846 Mon Sep 17 00:00:00 2001 From: isabela-pf Date: Wed, 28 Jul 2021 14:53:38 -0700 Subject: [PATCH 09/12] Revert all opacity changes --- spyder/utils/color_system.py | 10 +--------- spyder/utils/icon_manager.py | 6 +++--- spyder/utils/palette.py | 9 ++++----- 3 files changed, 8 insertions(+), 17 deletions(-) diff --git a/spyder/utils/color_system.py b/spyder/utils/color_system.py index 9c407b7a3bc..a0d328e79b0 100644 --- a/spyder/utils/color_system.py +++ b/spyder/utils/color_system.py @@ -116,12 +116,4 @@ class Logos: B20 = '#ffd444' B30 = '#414141' B40 = '#fafafa' - B50 = '#ee0000' - - -class Opacity: - """ - Opacity settings for toolbar button states. - """ - - OPACITY_DISABLED = 165 + B50 = '#ee0000' \ No newline at end of file diff --git a/spyder/utils/icon_manager.py b/spyder/utils/icon_manager.py index ff063ecb8c6..3ff72809c3d 100644 --- a/spyder/utils/icon_manager.py +++ b/spyder/utils/icon_manager.py @@ -144,9 +144,9 @@ def __init__(self): 'stop_debug': [('mdi.stop',), {'color': SpyderPalette.ICON_2}], 'run': [('mdi.play',), {'color': SpyderPalette.ICON_3}], 'todo_list': [('mdi.check-bold',), {'color': self.MAIN_FG_COLOR}], - 'wng_list': [('mdi.alert',), {'options': [{'color': SpyderPalette.COLOR_WARN_2, 'color_disabled': QStylePalette.COLOR_TEXT_4}]}], - 'prev_wng': [('mdi.arrow-left',), {'options': [{'color': SpyderPalette.ICON_1, 'color_disabled': QStylePalette.COLOR_TEXT_4}]}], - 'next_wng': [('mdi.arrow-right',), {'options': [{'color': SpyderPalette.ICON_1, 'color_disabled': QStylePalette.COLOR_TEXT_4}]}], + 'wng_list': [('mdi.alert',), {'options': [{'color': SpyderPalette.COLOR_WARN_2}]}], + 'prev_wng': [('mdi.arrow-left',), {'options': [{'color': SpyderPalette.ICON_1}]}], + 'next_wng': [('mdi.arrow-right',), {'options': [{'color': SpyderPalette.ICON_1}]}], 'prev_cursor': [('mdi.hand-pointing-left',), {'color': self.MAIN_FG_COLOR}], 'next_cursor': [('mdi.hand-pointing-right',), {'color': self.MAIN_FG_COLOR}], 'comment': [('mdi.comment-text-outline',), {'color': self.MAIN_FG_COLOR}], diff --git a/spyder/utils/palette.py b/spyder/utils/palette.py index 265faedf8f8..f387eead8ae 100644 --- a/spyder/utils/palette.py +++ b/spyder/utils/palette.py @@ -16,7 +16,7 @@ # Local imports from spyder.config.gui import is_dark_interface from spyder.utils.color_system import (Green, Red, Orange, GroupDark, - GroupLight, Logos, Opacity) + GroupLight, Logos) # ============================================================================= # ---- Spyder palettes @@ -78,9 +78,12 @@ class SpyderPaletteDark: SPYDER_LOGO_WEB = Logos.B40 SPYDER_LOGO_SNAKE = Logos.B50 +<<<<<<< HEAD # Colors for disabled state toolbar buttons COLOR_DISABLED = ICON_1, Opacity.OPACITY_DISABLED +======= +>>>>>>> parent of 1373e8594... Add constant and argument for disabled toolbar buttons class SpyderPaletteLight: """Light palette for Spyder.""" @@ -139,10 +142,6 @@ class SpyderPaletteLight: SPYDER_LOGO_WEB = Logos.B40 SPYDER_LOGO_SNAKE = Logos.B50 - # Colors for disabled state toolbar buttons - COLOR_DISABLED = ICON_1, Opacity.OPACITY_DISABLED - - # ============================================================================= # ---- Exported classes # ============================================================================= From 701de14f380e86c299c68c88f0c7e5aec744869a Mon Sep 17 00:00:00 2001 From: isabela-pf Date: Wed, 28 Jul 2021 21:43:01 -0700 Subject: [PATCH 10/12] Remove COLOR_DISABLED --- spyder/utils/palette.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/spyder/utils/palette.py b/spyder/utils/palette.py index f387eead8ae..0f9557444eb 100644 --- a/spyder/utils/palette.py +++ b/spyder/utils/palette.py @@ -78,13 +78,6 @@ class SpyderPaletteDark: SPYDER_LOGO_WEB = Logos.B40 SPYDER_LOGO_SNAKE = Logos.B50 -<<<<<<< HEAD - # Colors for disabled state toolbar buttons - COLOR_DISABLED = ICON_1, Opacity.OPACITY_DISABLED - -======= ->>>>>>> parent of 1373e8594... Add constant and argument for disabled toolbar buttons - class SpyderPaletteLight: """Light palette for Spyder.""" From 20d6ca384d84bda46db4b82f2dded327aa66f6a7 Mon Sep 17 00:00:00 2001 From: Isabela Presedo-Floyd <50221806+isabela-pf@users.noreply.github.com> Date: Thu, 29 Jul 2021 07:15:57 -0700 Subject: [PATCH 11/12] Update spyder/utils/icon_manager.py Co-authored-by: Carlos Cordoba --- spyder/utils/icon_manager.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spyder/utils/icon_manager.py b/spyder/utils/icon_manager.py index 3ff72809c3d..ff063ecb8c6 100644 --- a/spyder/utils/icon_manager.py +++ b/spyder/utils/icon_manager.py @@ -144,9 +144,9 @@ def __init__(self): 'stop_debug': [('mdi.stop',), {'color': SpyderPalette.ICON_2}], 'run': [('mdi.play',), {'color': SpyderPalette.ICON_3}], 'todo_list': [('mdi.check-bold',), {'color': self.MAIN_FG_COLOR}], - 'wng_list': [('mdi.alert',), {'options': [{'color': SpyderPalette.COLOR_WARN_2}]}], - 'prev_wng': [('mdi.arrow-left',), {'options': [{'color': SpyderPalette.ICON_1}]}], - 'next_wng': [('mdi.arrow-right',), {'options': [{'color': SpyderPalette.ICON_1}]}], + 'wng_list': [('mdi.alert',), {'options': [{'color': SpyderPalette.COLOR_WARN_2, 'color_disabled': QStylePalette.COLOR_TEXT_4}]}], + 'prev_wng': [('mdi.arrow-left',), {'options': [{'color': SpyderPalette.ICON_1, 'color_disabled': QStylePalette.COLOR_TEXT_4}]}], + 'next_wng': [('mdi.arrow-right',), {'options': [{'color': SpyderPalette.ICON_1, 'color_disabled': QStylePalette.COLOR_TEXT_4}]}], 'prev_cursor': [('mdi.hand-pointing-left',), {'color': self.MAIN_FG_COLOR}], 'next_cursor': [('mdi.hand-pointing-right',), {'color': self.MAIN_FG_COLOR}], 'comment': [('mdi.comment-text-outline',), {'color': self.MAIN_FG_COLOR}], From f2d8e64ec474edd2966da8323b0b81b527d38209 Mon Sep 17 00:00:00 2001 From: Isabela Presedo-Floyd <50221806+isabela-pf@users.noreply.github.com> Date: Thu, 29 Jul 2021 07:16:08 -0700 Subject: [PATCH 12/12] Update spyder/utils/icon_manager.py Co-authored-by: Carlos Cordoba --- spyder/utils/icon_manager.py | 1 - 1 file changed, 1 deletion(-) diff --git a/spyder/utils/icon_manager.py b/spyder/utils/icon_manager.py index ff063ecb8c6..db289da2b98 100644 --- a/spyder/utils/icon_manager.py +++ b/spyder/utils/icon_manager.py @@ -376,7 +376,6 @@ def icon(self, name, scale_factor=None, resample=False): directory=self._resource['directory']) self._resource['loaded'] = True args, kwargs = self._qtaargs[name] - kwargs['color_disabled'] = SpyderPalette.COLOR_DISABLED if scale_factor is not None: kwargs['scale_factor'] = scale_factor return qta.icon(*args, **kwargs)