diff --git a/share/qtcreator/themes/dark.creatortheme b/share/qtcreator/themes/dark.creatortheme index 6e5e66cc6f38eff775e58a236629daa7f3382e23..bc0e02b0bdd1aba8d6c96f02bdba7e19ea39f5c5 100644 --- a/share/qtcreator/themes/dark.creatortheme +++ b/share/qtcreator/themes/dark.creatortheme @@ -6,7 +6,7 @@ DefaultTextEditorColorScheme=dark.xml [Palette] shadowBackground=ff232323 text=ffe7e7e7 -textDisabled=ffa0a0a0 +textDisabled=ff909090 hoverBackground=ff515151 selectedBackground=ff151515 normalBackground=ff333333 diff --git a/src/libs/utils/icon.cpp b/src/libs/utils/icon.cpp index 83c7a2683c5182dbe1232e7c26476dd8d5f5d89e..e1e641baf730b965a315f277b01292f900387d33 100644 --- a/src/libs/utils/icon.cpp +++ b/src/libs/utils/icon.cpp @@ -184,8 +184,7 @@ QIcon Icon::icon() const const QPixmap combinedMask = Utils::combinedMask(masks, m_style); result.addPixmap(masksToIcon(masks, combinedMask, m_style)); - QColor disabledColor = creatorTheme()->palette().mid().color(); - disabledColor.setAlphaF(0.6); + const QColor disabledColor = creatorTheme()->color(Theme::IconsDisabledColor); result.addPixmap(maskToColorAndAlpha(combinedMask, disabledColor), QIcon::Disabled); return result; }