Watchlist notification text color (#73304)

## About The Pull Request
Changes the adminnotice text for watchlists to a similar pink used in
the TGUI box for asay.


![image](https://user-images.githubusercontent.com/83487515/217653246-e13b91dd-d510-447a-9460-c0d03865898f.png)

![image](https://user-images.githubusercontent.com/83487515/217653391-562fa69a-a7b9-4057-afd2-0055cdcc7756.png)

## Why It's Good For The Game
Color has better contrast for dark mode users (where it's currently a
pain) without much of a contrast hit for light mode users. For
accessibility, WCAG 2.0 level AA requires a contrast ratio of at least
4.5:1. D100D1 scores 4.53:1 on white and 4.63:1 on black, meeting
standards for both.
## Changelog
🆑 LT3
admin: Changed color for watchlist notifications
/🆑
This commit is contained in:
lessthanthree
2023-02-09 22:18:44 -08:00
committed by GitHub
parent bcbffcc4f4
commit fdaec05ebe
2 changed files with 6 additions and 5 deletions
+5 -5
View File
@@ -668,13 +668,13 @@
var/editor_key = query_get_message_output.item[5]
switch(type)
if("message")
output += "<font color='red' size='3'><b>Admin message left by [span_prefix("[admin_key]")] on [timestamp]</b></font>"
output += "<br><font color='red'>[text] <A href='?_src_=holder;[HrefToken()];messageread=[message_id]'>(Click here to verify you have read this message)</A></font><br>"
output += "<font color='[COLOR_RED]' size='3'><b>Admin message left by [span_prefix("[admin_key]")] on [timestamp]</b></font>"
output += "<br><font color='[COLOR_RED]'>[text] <A href='?_src_=holder;[HrefToken()];messageread=[message_id]'>(Click here to verify you have read this message)</A></font><br>"
if("note")
output += "<font color='red' size='3'><b>Note left by [span_prefix("[admin_key]")] on [timestamp]</b></font>"
output += "<br><font color='red'>[text]</font><br>"
output += "<font color='[COLOR_RED]' size='3'><b>Note left by [span_prefix("[admin_key]")] on [timestamp]</b></font>"
output += "<br><font color='[COLOR_RED]'>[text]</font><br>"
if("watchlist entry")
message_admins("<font color='red'><B>Notice: </B></font><font color='blue'>[key_name_admin(target_ckey)] has been on the watchlist since [timestamp] and has just connected - Reason: [text]</font>")
message_admins("<font color='[COLOR_RED]'><B>Notice: </B></font><font color='[COLOR_ADMIN_PINK]'>[key_name_admin(target_ckey)] has been on the watchlist since [timestamp] and has just connected - Reason: [text]</font>")
send2tgs_adminless_only("Watchlist", "[key_name(target_ckey)] is on the watchlist and has just connected - Reason: [text]")
if("memo")
output += "[span_memo("Memo by <span class='prefix'>[admin_key]")] on [timestamp]"