From ff94050c0af8b36f0c4463ee323f7ab83f329b05 Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Wed, 2 Jun 2021 15:52:25 -0400 Subject: [PATCH] Fixes view once colors --- stylesheets/_modules.scss | 42 +++++++-------------------------------- 1 file changed, 7 insertions(+), 35 deletions(-) diff --git a/stylesheets/_modules.scss b/stylesheets/_modules.scss index e984aaa15b..ac76bff198 100644 --- a/stylesheets/_modules.scss +++ b/stylesheets/_modules.scss @@ -521,14 +521,6 @@ @include color-svg('../images/icons/v2/view-once-24.svg', $color-gray-05); } } -.module-message__tap-to-view__icon--outgoing { - @include light-theme { - background-color: $color-white; - } - @include dark-theme { - background-color: $color-gray-05; - } -} .module-message__tap-to-view__icon--expired { @include light-theme { @include color-svg('../images/icons/v2/viewed-once-24.svg', $color-gray-75); @@ -537,15 +529,13 @@ @include color-svg('../images/icons/v2/viewed-once-24.svg', $color-gray-05); } } +.module-message__tap-to-view__icon--outgoing { + background-color: $color-gray-05; +} .module-message__tap-to-view__text { @include font-body-1-bold; - @include light-theme { - color: $color-gray-90; - } - @include dark-theme { - color: $color-gray-05; - } + color: $color-gray-05; } .module-message__tap-to-view__text--incoming { @include light-theme { @@ -576,12 +566,7 @@ color: $color-white; } .module-message__tap-to-view__text--outgoing-expired { - @include light-theme { - color: $color-gray-90; - } - @include dark-theme { - color: $color-gray-05; - } + color: $color-gray-05; } .module-message__attachment-container { @@ -1137,11 +1122,7 @@ } } .module-message__metadata__date.module-message__metadata__date--outgoing-with-tap-to-view-expired { - color: $color-gray-75; - - @include dark-theme { - color: $color-white-alpha-80; - } + color: $color-white-alpha-80; } .module-message__metadata__date--with-sticker { @@ -1226,11 +1207,6 @@ background-color: $color-gray-60; } } -.module-message__metadata__status-icon--with-tap-to-view-expired { - @include light-theme { - background-color: $color-gray-75; - } -} .module-message__metadata__spinner-container { margin-left: 6px; @@ -1456,11 +1432,7 @@ $timer-icons: '55', '50', '45', '40', '35', '30', '25', '20', '15', '10', '05', } } .module-expire-timer.module-expire-timer--outgoing-with-tap-to-view-expired { - background-color: $color-gray-75; - - @include dark-theme { - background-color: $color-white-alpha-80; - } + background-color: $color-white-alpha-80; } .module-expire-timer--with-sticker { @include light-theme {