TextEditor: Unify error/warning icon and textmark colors

In most themes, the color of the warning and error icons differ from the
color of the corresponding textmarks (on the scroll bars). This patch
makes sure that they are the same.

Also the progress bar error color is now the same.

Change-Id: Ibce536bed1a9f43d242c2eddf9f94cc6277b2f64
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Alessandro Portale
2016-10-17 23:53:37 +02:00
parent 3c10e586e7
commit 84d298e085
5 changed files with 44 additions and 37 deletions

View File

@@ -11,7 +11,8 @@ hoverBackground=18ffffff
selectedBackground=66000000 selectedBackground=66000000
normalBackground=ff333333 normalBackground=ff333333
alternateBackground=ff515151 alternateBackground=ff515151
error=ffff0000 error=ffd84044
warning=ffe0b716
textColorLink=ff007af4 textColorLink=ff007af4
textColorLinkVisited=ffa57aff textColorLinkVisited=ffa57aff
backgroundColorDisabled=ff444444 backgroundColorDisabled=ff444444
@@ -56,9 +57,9 @@ IconsBaseColor=ffdcdcdc
IconsDisabledColor=textDisabled IconsDisabledColor=textDisabled
IconsInfoColor=ff3099dc IconsInfoColor=ff3099dc
IconsInfoToolBarColor=ff3099dc IconsInfoToolBarColor=ff3099dc
IconsWarningColor=ffe0b716 IconsWarningColor=warning
IconsWarningToolBarColor=ffe0b716 IconsWarningToolBarColor=ffe0b716
IconsErrorColor=ffd84044 IconsErrorColor=error
IconsErrorToolBarColor=ffd84044 IconsErrorToolBarColor=ffd84044
IconsRunColor=ff7fc341 IconsRunColor=ff7fc341
IconsRunToolBarColor=ff7fc341 IconsRunToolBarColor=ff7fc341
@@ -184,11 +185,11 @@ Bookmarks_TextMarkColor=ff8080ff
TextEditor_SearchResult_ScrollBarColor=ff00c000 TextEditor_SearchResult_ScrollBarColor=ff00c000
TextEditor_CurrentLine_ScrollBarColor=ffffffff TextEditor_CurrentLine_ScrollBarColor=ffffffff
ProjectExplorer_TaskError_TextMarkColor=ffff4040 ProjectExplorer_TaskError_TextMarkColor=error
ProjectExplorer_TaskWarn_TextMarkColor=ffffff40 ProjectExplorer_TaskWarn_TextMarkColor=warning
ClangCodeModel_Error_TextMarkColor=ffff882f ClangCodeModel_Error_TextMarkColor=error
ClangCodeModel_Warning_TextMarkColor=ffceff40 ClangCodeModel_Warning_TextMarkColor=warning
PaletteWindow=normalBackground PaletteWindow=normalBackground
PaletteWindowText=text PaletteWindowText=text

View File

@@ -6,6 +6,8 @@ PreferredStyles=
brightText=ffffffff brightText=ffffffff
darkText=ff000000 darkText=ff000000
textDisabled=88a0a0a0 textDisabled=88a0a0a0
error=ffdf4f4f
warning=ffecbc1c
[Colors] [Colors]
BackgroundColorAlternate=ff3d3d3d BackgroundColorAlternate=ff3d3d3d
@@ -47,9 +49,9 @@ IconsBaseColor=ffdcdcdc
IconsDisabledColor=textDisabled IconsDisabledColor=textDisabled
IconsInfoColor=ff3099dc IconsInfoColor=ff3099dc
IconsInfoToolBarColor=ff71b2db IconsInfoToolBarColor=ff71b2db
IconsWarningColor=ffecbc1c IconsWarningColor=warning
IconsWarningToolBarColor=fff2d76e IconsWarningToolBarColor=fff2d76e
IconsErrorColor=ffdf4f4f IconsErrorColor=error
IconsErrorToolBarColor=ffdb6f71 IconsErrorToolBarColor=ffdb6f71
IconsRunColor=ff6da838 IconsRunColor=ff6da838
IconsRunToolBarColor=ffa4d576 IconsRunToolBarColor=ffa4d576
@@ -97,7 +99,7 @@ PanelsWidgetSeparatorLineColor=ffbfbcb8
PanelTextColorDark=darkText PanelTextColorDark=darkText
PanelTextColorMid=ff909090 PanelTextColorMid=ff909090
PanelTextColorLight=brightText PanelTextColorLight=brightText
ProgressBarColorError=d2ff3c00 ProgressBarColorError=error
ProgressBarColorFinished=ff5aaa3c ProgressBarColorFinished=ff5aaa3c
ProgressBarColorNormal=b4ffffff ProgressBarColorNormal=b4ffffff
ProgressBarTitleColor=ffffffff ProgressBarTitleColor=ffffffff
@@ -175,11 +177,11 @@ Bookmarks_TextMarkColor=ffa0a0ff
TextEditor_SearchResult_ScrollBarColor=ff00c000 TextEditor_SearchResult_ScrollBarColor=ff00c000
TextEditor_CurrentLine_ScrollBarColor=ff404040 TextEditor_CurrentLine_ScrollBarColor=ff404040
ProjectExplorer_TaskError_TextMarkColor=ffff0000 ProjectExplorer_TaskError_TextMarkColor=error
ProjectExplorer_TaskWarn_TextMarkColor=ffffa500 ProjectExplorer_TaskWarn_TextMarkColor=warning
ClangCodeModel_Error_TextMarkColor=ffff882f ClangCodeModel_Error_TextMarkColor=error
ClangCodeModel_Warning_TextMarkColor=ffc6c132 ClangCodeModel_Warning_TextMarkColor=warning
QmlDesigner_BackgroundColor=ff4c4e50 QmlDesigner_BackgroundColor=ff4c4e50
QmlDesigner_HighlightColor=ff46a2da QmlDesigner_HighlightColor=ff46a2da

View File

@@ -15,7 +15,8 @@ hoverBackground=22ffffff
selectedBackground=66000000 selectedBackground=66000000
normalBackground=ff2E2F30 normalBackground=ff2E2F30
alternateBackground=ff353637 alternateBackground=ff353637
error=ffe41e25 error=ffdf4f4f
warning=ffecbc1c
splitter=ff06080A splitter=ff06080A
textColorLink=ff007af4 textColorLink=ff007af4
textColorLinkVisited=ffa57aff textColorLinkVisited=ffa57aff
@@ -61,9 +62,9 @@ IconsBaseColor=toolBarItem
IconsDisabledColor=toolBarItemDisabled IconsDisabledColor=toolBarItemDisabled
IconsInfoColor=ff3099dc IconsInfoColor=ff3099dc
IconsInfoToolBarColor=ff71b2db IconsInfoToolBarColor=ff71b2db
IconsWarningColor=ffecbc1c IconsWarningColor=warning
IconsWarningToolBarColor=fff2d76e IconsWarningToolBarColor=fff2d76e
IconsErrorColor=ffdf4f4f IconsErrorColor=error
IconsErrorToolBarColor=ffdb6f71 IconsErrorToolBarColor=ffdb6f71
IconsRunColor=ff6da838 IconsRunColor=ff6da838
IconsRunToolBarColor=ff93be6c IconsRunToolBarColor=ff93be6c
@@ -111,7 +112,7 @@ PanelsWidgetSeparatorLineColor=0
PanelTextColorDark=text PanelTextColorDark=text
PanelTextColorMid=ffa0a0a0 PanelTextColorMid=ffa0a0a0
PanelTextColorLight=text PanelTextColorLight=text
ProgressBarColorError=ffdb6f71 ProgressBarColorError=error
ProgressBarColorFinished=dda4d576 ProgressBarColorFinished=dda4d576
ProgressBarColorNormal=ff999999 ProgressBarColorNormal=ff999999
ProgressBarTitleColor=fancyBarsBoldTextColor ProgressBarTitleColor=fancyBarsBoldTextColor
@@ -189,11 +190,11 @@ Bookmarks_TextMarkColor=ff8080ff
TextEditor_SearchResult_ScrollBarColor=ff00c000 TextEditor_SearchResult_ScrollBarColor=ff00c000
TextEditor_CurrentLine_ScrollBarColor=ffffffff TextEditor_CurrentLine_ScrollBarColor=ffffffff
ProjectExplorer_TaskError_TextMarkColor=ffff4040 ProjectExplorer_TaskError_TextMarkColor=error
ProjectExplorer_TaskWarn_TextMarkColor=ffffff40 ProjectExplorer_TaskWarn_TextMarkColor=warning
ClangCodeModel_Error_TextMarkColor=ffff882f ClangCodeModel_Error_TextMarkColor=error
ClangCodeModel_Warning_TextMarkColor=ffceff40 ClangCodeModel_Warning_TextMarkColor=warning
QmlDesigner_BackgroundColor=ff4c4e50 QmlDesigner_BackgroundColor=ff4c4e50
QmlDesigner_HighlightColor=ff3f91c4 QmlDesigner_HighlightColor=ff3f91c4

View File

@@ -17,6 +17,8 @@ alternateBackground=ff515151
stop_error=ffec7373 stop_error=ffec7373
run_success=ff52c23b run_success=ff52c23b
splitter=ffbdbebf splitter=ffbdbebf
error=ffdf4f4f
warning=ffecbc1c
[Colors] [Colors]
BackgroundColorAlternate=alternateBackground BackgroundColorAlternate=alternateBackground
@@ -58,9 +60,9 @@ IconsBaseColor=toolBarItem
IconsDisabledColor=toolBarItemDisabled IconsDisabledColor=toolBarItemDisabled
IconsInfoColor=ff3099dc IconsInfoColor=ff3099dc
IconsInfoToolBarColor=ff3099dc IconsInfoToolBarColor=ff3099dc
IconsWarningColor=ffecbc1c IconsWarningColor=warning
IconsWarningToolBarColor=ffecbc1c IconsWarningToolBarColor=ffecbc1c
IconsErrorColor=ffdf4f4f IconsErrorColor=error
IconsErrorToolBarColor=ffdf4f4f IconsErrorToolBarColor=ffdf4f4f
IconsRunColor=run_success IconsRunColor=run_success
IconsRunToolBarColor=run_success IconsRunToolBarColor=run_success
@@ -108,7 +110,7 @@ PanelsWidgetSeparatorLineColor=0
PanelTextColorDark=text PanelTextColorDark=text
PanelTextColorMid=ff666666 PanelTextColorMid=ff666666
PanelTextColorLight=fancyBarsNormalTextColor PanelTextColorLight=fancyBarsNormalTextColor
ProgressBarColorError=stop_error ProgressBarColorError=error
ProgressBarColorFinished=run_success ProgressBarColorFinished=run_success
ProgressBarColorNormal=ff888888 ProgressBarColorNormal=ff888888
ProgressBarTitleColor=fancyBarsBoldTextColor ProgressBarTitleColor=fancyBarsBoldTextColor
@@ -186,11 +188,11 @@ Bookmarks_TextMarkColor=ffa0a0ff
TextEditor_SearchResult_ScrollBarColor=ff00c000 TextEditor_SearchResult_ScrollBarColor=ff00c000
TextEditor_CurrentLine_ScrollBarColor=ff404040 TextEditor_CurrentLine_ScrollBarColor=ff404040
ProjectExplorer_TaskError_TextMarkColor=ffff0000 ProjectExplorer_TaskError_TextMarkColor=error
ProjectExplorer_TaskWarn_TextMarkColor=ffffa500 ProjectExplorer_TaskWarn_TextMarkColor=warning
ClangCodeModel_Error_TextMarkColor=ffff882f ClangCodeModel_Error_TextMarkColor=error
ClangCodeModel_Warning_TextMarkColor=ffc6c132 ClangCodeModel_Warning_TextMarkColor=warning
QmlDesigner_BackgroundColor=fff8f8f8 QmlDesigner_BackgroundColor=fff8f8f8
QmlDesigner_HighlightColor=ff46a2da QmlDesigner_HighlightColor=ff46a2da

View File

@@ -14,7 +14,8 @@ hoverBackground=22ffffff
selectedBackground=66000000 selectedBackground=66000000
normalBackground=ffffffff normalBackground=ffffffff
alternateBackground=ff515151 alternateBackground=ff515151
error=ffe41e25 error=ffdf4f4f
warning=ffecbc1c
splitter=ff313131 splitter=ff313131
[Colors] [Colors]
@@ -57,9 +58,9 @@ IconsBaseColor=toolBarItem
IconsDisabledColor=toolBarItemDisabled IconsDisabledColor=toolBarItemDisabled
IconsInfoColor=ff3099dc IconsInfoColor=ff3099dc
IconsInfoToolBarColor=ff71b2db IconsInfoToolBarColor=ff71b2db
IconsWarningColor=ffecbc1c IconsWarningColor=warning
IconsWarningToolBarColor=fff2d76e IconsWarningToolBarColor=fff2d76e
IconsErrorColor=ffdf4f4f IconsErrorColor=error
IconsErrorToolBarColor=ffdb6f71 IconsErrorToolBarColor=ffdb6f71
IconsRunColor=ff6da838 IconsRunColor=ff6da838
IconsRunToolBarColor=ff93be6c IconsRunToolBarColor=ff93be6c
@@ -107,7 +108,7 @@ PanelsWidgetSeparatorLineColor=0
PanelTextColorDark=text PanelTextColorDark=text
PanelTextColorMid=ff666666 PanelTextColorMid=ff666666
PanelTextColorLight=fancyBarsNormalTextColor PanelTextColorLight=fancyBarsNormalTextColor
ProgressBarColorError=ffdb6f71 ProgressBarColorError=error
ProgressBarColorFinished=dda4d576 ProgressBarColorFinished=dda4d576
ProgressBarColorNormal=ff999999 ProgressBarColorNormal=ff999999
ProgressBarTitleColor=fancyBarsBoldTextColor ProgressBarTitleColor=fancyBarsBoldTextColor
@@ -185,11 +186,11 @@ Bookmarks_TextMarkColor=ffa0a0ff
TextEditor_SearchResult_ScrollBarColor=ff00c000 TextEditor_SearchResult_ScrollBarColor=ff00c000
TextEditor_CurrentLine_ScrollBarColor=ff404040 TextEditor_CurrentLine_ScrollBarColor=ff404040
ProjectExplorer_TaskError_TextMarkColor=ffff0000 ProjectExplorer_TaskError_TextMarkColor=error
ProjectExplorer_TaskWarn_TextMarkColor=ffffa500 ProjectExplorer_TaskWarn_TextMarkColor=warning
ClangCodeModel_Error_TextMarkColor=ffff882f ClangCodeModel_Error_TextMarkColor=error
ClangCodeModel_Warning_TextMarkColor=ffc6c132 ClangCodeModel_Warning_TextMarkColor=warning
QmlDesigner_BackgroundColor=ff4c4e50 QmlDesigner_BackgroundColor=ff4c4e50
QmlDesigner_HighlightColor=ff46a2da QmlDesigner_HighlightColor=ff46a2da