Commit 56e684fc authored by Jan Kundrát's avatar Jan Kundrát

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's avatarAlessandro Portale <alessandro.portale@qt.io>
parent a4e213b7
...@@ -124,7 +124,7 @@ TextColorHighlight=ffff0000 ...@@ -124,7 +124,7 @@ TextColorHighlight=ffff0000
TextColorLink=textColorLink TextColorLink=textColorLink
TextColorLinkVisited=textColorLinkVisited TextColorLinkVisited=textColorLinkVisited
TextColorNormal=text TextColorNormal=text
TodoItemTextColor=text TodoItemTextColor=ff000000
ToggleButtonBackgroundColor=shadowBackground ToggleButtonBackgroundColor=shadowBackground
ToolBarBackgroundColor=shadowBackground ToolBarBackgroundColor=shadowBackground
TreeViewArrowColorNormal=hoverBackground TreeViewArrowColorNormal=hoverBackground
......
...@@ -122,7 +122,7 @@ TextColorHighlight=ffff0000 ...@@ -122,7 +122,7 @@ TextColorHighlight=ffff0000
TextColorLink=ff007af4 TextColorLink=ff007af4
TextColorLinkVisited=ffa57aff TextColorLinkVisited=ffa57aff
TextColorNormal=text TextColorNormal=text
TodoItemTextColor=text TodoItemTextColor=ff000000
ToggleButtonBackgroundColor=shadowBackground ToggleButtonBackgroundColor=shadowBackground
ToolBarBackgroundColor=shadowBackground ToolBarBackgroundColor=shadowBackground
TreeViewArrowColorNormal=hoverBackground TreeViewArrowColorNormal=hoverBackground
......
...@@ -120,7 +120,7 @@ TextColorHighlight=ffff0000 ...@@ -120,7 +120,7 @@ TextColorHighlight=ffff0000
TextColorLink=ff007af4 TextColorLink=ff007af4
TextColorLinkVisited=ffa57aff TextColorLinkVisited=ffa57aff
TextColorNormal=text TextColorNormal=text
TodoItemTextColor=text TodoItemTextColor=ff000000
ToggleButtonBackgroundColor=shadowBackground ToggleButtonBackgroundColor=shadowBackground
ToolBarBackgroundColor=shadowBackground ToolBarBackgroundColor=shadowBackground
TreeViewArrowColorNormal=hoverBackground TreeViewArrowColorNormal=hoverBackground
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment