mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-11-22 06:52:55 +08:00
Dark theme colour improvement
This commit is contained in:
parent
4ff94156e7
commit
f0cdd9ecf0
@ -280,7 +280,7 @@ namespace CodeWalker
|
|||||||
{
|
{
|
||||||
form.BackColor = theme.ColorPalette.MainWindowActive.Background;
|
form.BackColor = theme.ColorPalette.MainWindowActive.Background;
|
||||||
form.ForeColor = Color.White;
|
form.ForeColor = Color.White;
|
||||||
txtback = Color.FromArgb(40, 40, 40);// form.BackColor;
|
txtback = Color.FromArgb(72, 75, 82);// form.BackColor;
|
||||||
wndback = theme.ColorPalette.MainWindowActive.Background;
|
wndback = theme.ColorPalette.MainWindowActive.Background;
|
||||||
disback = form.BackColor;// Color.FromArgb(32,32,32);
|
disback = form.BackColor;// Color.FromArgb(32,32,32);
|
||||||
disfore = Color.DarkGray;
|
disfore = Color.DarkGray;
|
||||||
@ -297,7 +297,12 @@ namespace CodeWalker
|
|||||||
c.ForeColor = form.ForeColor;
|
c.ForeColor = form.ForeColor;
|
||||||
c.BackColor = wndback;
|
c.BackColor = wndback;
|
||||||
}
|
}
|
||||||
else if ((c is CheckedListBox) || (c is ListBox) || (c is ListView))
|
else if ((c is CheckedListBox) || (c is ListBox))
|
||||||
|
{
|
||||||
|
c.ForeColor = form.ForeColor;
|
||||||
|
c.BackColor = txtback;
|
||||||
|
}
|
||||||
|
else if ((c is ListView))
|
||||||
{
|
{
|
||||||
c.ForeColor = form.ForeColor;
|
c.ForeColor = form.ForeColor;
|
||||||
c.BackColor = wndback;
|
c.BackColor = wndback;
|
||||||
|
Loading…
Reference in New Issue
Block a user