about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/contrast
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-09-15 09:24:24 +0200
committerThibaut Girka <thib@sitedethib.com>2020-09-28 17:56:16 +0200
commitdadec533ce82aa30c78d58dba8f668fb0558f8bd (patch)
tree60b8f5c62b1d5b1a95ca042d16215e9cfce5cd51 /app/javascript/flavours/glitch/styles/contrast
parent6dde0754257e58adb38b64e5cb5239ea63989b49 (diff)
[Glitch] Fix unreadable placeholder text color in high contrast theme in web UI (#14803)
Port bbcbf12215a5ec69362a769c1bae9c630eda0ed4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles/contrast')
-rw-r--r--app/javascript/flavours/glitch/styles/contrast/diff.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/contrast/diff.scss b/app/javascript/flavours/glitch/styles/contrast/diff.scss
index f78e60597..0f3a6cc6d 100644
--- a/app/javascript/flavours/glitch/styles/contrast/diff.scss
+++ b/app/javascript/flavours/glitch/styles/contrast/diff.scss
@@ -75,3 +75,12 @@
 .public-layout .public-account-header__tabs__tabs .counter.active::after {
   border-bottom: 4px solid $ui-highlight-color;
 }
+
+.composer {
+  .composer--spoiler input,
+  .compose-form__autosuggest-wrapper textarea {
+    &::placeholder {
+      color: $inverted-text-color;
+    }
+  }
+}