Skip to content

Commit fe4055e

Browse files
author
Charlie Fenton
committed
Dark Mode: Adjust color of links in Notices tab
1 parent 9043956 commit fe4055e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

clientgui/NoticeListCtrl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ bool CNoticeListCtrl::Create( wxWindow* parent ) {
104104

105105
if (wxGetApp().GetIsDarkMode()){
106106
#if wxUSE_WEBVIEW
107-
m_noticesBody = wxT("<html><style>body{background-color:black;color:white;}</style><head></head><body></body></html>");
107+
m_noticesBody = wxT("<html><style>body{background-color:black;color:white;a:link {color:#0080FF;}}</style><head></head><body></body></html>");
108108
#else
109109
m_noticesBody = wxT("<html><head></head><body bgcolor=black></body></html>");
110110
#endif
@@ -157,7 +157,7 @@ void CNoticeListCtrl::SetItemCount(int newCount) {
157157
m_itemCount = newCount;
158158
if (wxGetApp().GetIsDarkMode()){
159159
#if wxUSE_WEBVIEW
160-
m_noticesBody = wxT("<html><style>body{background-color:black;color:white;}</style><head></head><body><font face=helvetica>");
160+
m_noticesBody = wxT("<html><style>body{background-color:black;color:white;a:link {color:#0080FF;}}</style><head></head><body><font face=helvetica>");
161161
#else
162162
m_noticesBody = wxT("<html><head></head><body bgcolor=black><font face=helvetica color=white bgcolor=black>");
163163
#endif

0 commit comments

Comments
 (0)