aboutsummaryrefslogtreecommitdiff
path: root/app/src/web
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-01-12 22:23:12 -0800
committerAllan Wang <me@allanwang.ca>2021-01-12 22:23:12 -0800
commitc0eeb83cfc8e5021f3a7904d8cc7b33d07cd92ea (patch)
treed106ff08205592f257a4990e0121e7bf7b4a45a2 /app/src/web
parente01e51574613459a036c1d60383bfb229799a407 (diff)
downloadfrost-c0eeb83cfc8e5021f3a7904d8cc7b33d07cd92ea.tar.gz
frost-c0eeb83cfc8e5021f3a7904d8cc7b33d07cd92ea.tar.bz2
frost-c0eeb83cfc8e5021f3a7904d8cc7b33d07cd92ea.zip
Start mapping messenger injections
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