forked from qt-creator/qt-creator
Fix readability of TODO entries on dark themes
The TODO plugin provides default values for color-coding backgrounds based on the severity of each item. These colors are rather light, and there is just one default with no theme awareness. It is a bug to use a theme-aware text color on a fixed-color background -- just switch to a dark theme such as flat-dark and observe the unreadability. This patch simply ensures that the default settings have reasonable readability. These defaults are still not theme-aware, but at least they are consistent. Change-Id: Ibf35a241c70e0f1ea001b55f84fd2e1dd1a0a2ea Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -124,7 +124,7 @@ TextColorHighlight=ffff0000
|
||||
TextColorLink=textColorLink
|
||||
TextColorLinkVisited=textColorLinkVisited
|
||||
TextColorNormal=text
|
||||
TodoItemTextColor=text
|
||||
TodoItemTextColor=ff000000
|
||||
ToggleButtonBackgroundColor=shadowBackground
|
||||
ToolBarBackgroundColor=shadowBackground
|
||||
TreeViewArrowColorNormal=hoverBackground
|
||||
|
@@ -122,7 +122,7 @@ TextColorHighlight=ffff0000
|
||||
TextColorLink=ff007af4
|
||||
TextColorLinkVisited=ffa57aff
|
||||
TextColorNormal=text
|
||||
TodoItemTextColor=text
|
||||
TodoItemTextColor=ff000000
|
||||
ToggleButtonBackgroundColor=shadowBackground
|
||||
ToolBarBackgroundColor=shadowBackground
|
||||
TreeViewArrowColorNormal=hoverBackground
|
||||
|
@@ -120,7 +120,7 @@ TextColorHighlight=ffff0000
|
||||
TextColorLink=ff007af4
|
||||
TextColorLinkVisited=ffa57aff
|
||||
TextColorNormal=text
|
||||
TodoItemTextColor=text
|
||||
TodoItemTextColor=ff000000
|
||||
ToggleButtonBackgroundColor=shadowBackground
|
||||
ToolBarBackgroundColor=shadowBackground
|
||||
TreeViewArrowColorNormal=hoverBackground
|
||||
|
Reference in New Issue
Block a user