aboutsummaryrefslogtreecommitdiff
path: root/app/src/web
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/web')
-rw-r--r--app/src/web/scss/messenger/core/_core_bg.scss4
-rw-r--r--app/src/web/scss/messenger/core/_core_vars.scss10
-rw-r--r--app/src/web/scss/messenger/core/core.scss1
3 files changed, 15 insertions, 0 deletions
diff --git a/app/src/web/scss/messenger/core/_core_bg.scss b/app/src/web/scss/messenger/core/_core_bg.scss
index e69de29b..92d3dd85 100644
--- a/app/src/web/scss/messenger/core/_core_bg.scss
+++ b/app/src/web/scss/messenger/core/_core_bg.scss
@@ -0,0 +1,4 @@
+html, body, :root, #root,
+[style*="background-color: #FFFFFF"], [style*="background-color: #E4E6EB"] {
+ background: $bg_transparent !important;
+}
diff --git a/app/src/web/scss/messenger/core/_core_vars.scss b/app/src/web/scss/messenger/core/_core_vars.scss
new file mode 100644
index 00000000..f15c936c
--- /dev/null
+++ b/app/src/web/scss/messenger/core/_core_vars.scss
@@ -0,0 +1,10 @@
+:root, .__fb-light-mode {
+ // Main background; needs to be opaque to hide gradient used for sender card
+ --messenger-card-background: $bg_transparent !important;
+ // Date
+ --placeholder-text: $text !important;
+ // Emoji background
+ --surface-background: $bg_opaque2 !important;
+ --primary-text: $text !important;
+ --web-wash: #f0f !important;
+} \ No newline at end of file
diff --git a/app/src/web/scss/messenger/core/core.scss b/app/src/web/scss/messenger/core/core.scss
index f6a92475..d5cb691a 100644
--- a/app/src/web/scss/messenger/core/core.scss
+++ b/app/src/web/scss/messenger/core/core.scss
@@ -1,5 +1,6 @@
@import "../../core/colors";
@import "../../core/base";
+@import "core_vars";
@import "core_text";
@import "core_bg";
@import "core_border"; \ No newline at end of file