From 003207b68eba4f52b471bb9654b1a9685002d829 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 9 Jan 2020 21:34:10 +0100 Subject: [PATCH] Dark theme fixes for vue-at Signed-off-by: Joas Schilling --- css/icons.scss | 10 ++++++++++ .../NewMessageForm/AdvancedInput/AdvancedInput.vue | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/css/icons.scss b/css/icons.scss index 198d897a1..20d03346c 100644 --- a/css/icons.scss +++ b/css/icons.scss @@ -76,4 +76,14 @@ .icon-group-forced-white { background-image: url(icon-color-path('group', 'actions', 'fff', 1, true)); } + + .atwho-view { + background: var(--color-main-background); + color: var(--color-main-text); + } + + .atwho-cur { + background: var(--color-primary); + color: var(--color-primary-text); + } } diff --git a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue index dc4ee164f..ecfe4271c 100644 --- a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue +++ b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue @@ -305,10 +305,10 @@ export default { margin: 0; } -//Support for the placehoder text in the div contenteditable +// Support for the placeholder text in the div contenteditable [contenteditable]:empty:before{ content: attr(placeholder); display: block; - color: gray; + color: var(--color-text-maxcontrast); }