From e402150171d367a142a78b2199b6267b8572882c Mon Sep 17 00:00:00 2001 From: killerbee Date: Mon, 21 Nov 2022 17:30:28 -0800 Subject: [PATCH] Add explanatory comments Color variables now have roles noted. Relevant contrast ratios are now noted. --- app/javascript/styles/meemu-default.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/javascript/styles/meemu-default.scss b/app/javascript/styles/meemu-default.scss index cfe49fc..b184082 100644 --- a/app/javascript/styles/meemu-default.scss +++ b/app/javascript/styles/meemu-default.scss @@ -1,8 +1,21 @@ +/* Main background: CR 15.55 against white text */ $classic-base-color: #261f3f; $ui-base-color: $classic-base-color; + +/* 'grey' text: CR 4.6 against base */ $ui-base-lighter-color: #a87ea8; + +/* Highlight text: CR 9.0 against base, + Reply box: CR 12.16 against black text */ $ui-primary-color: #9bcbed; + +/* Hashtags and @s: CR 7.25 against base, + ! CR 1.24 against reply box + Is it possible to override the reply box color? Re-using a + text color for a background color does not make sense. */ $ui-secondary-color: #d8a2ba; + +/* Winning poll option: CR 5.77 against base */ $ui-highlight-color: #CC7AFF;