From b3971080c25607484c75098c7a88ff4b7b273550 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 12 Sep 2021 20:51:41 -0700 Subject: Add vars for facebook --- app/src/web/scss/facebook/core/_core_vars.scss | 39 ++++++++++++++++++++++++++ app/src/web/scss/facebook/core/core.scss | 1 + 2 files changed, 40 insertions(+) create mode 100644 app/src/web/scss/facebook/core/_core_vars.scss (limited to 'app') diff --git a/app/src/web/scss/facebook/core/_core_vars.scss b/app/src/web/scss/facebook/core/_core_vars.scss new file mode 100644 index 00000000..a618b703 --- /dev/null +++ b/app/src/web/scss/facebook/core/_core_vars.scss @@ -0,0 +1,39 @@ +:root, .__fb-light-mode { + --accent: #{$accent} !important; + --attachment-footer-background: #{$background} !important; + --background-deemphasized: #{$background} !important; + --card-background: #{$card} !important; + --card-background-flat: #{$card} !important; + --comment-background: #{$background} !important; + --comment-footer-background: #{$background} !important; + --darkreader-bg--fds-white: #{$bg_opaque} !important; + --darkreader-text--primary-text: #{$text} !important; + --darkreader-text--secondary-text: #{$text} !important; + --disabled-button-background: #{$divider} !important; + --disabled-button-text: #{$text_disabled} !important; + --disabled-icon: #{$text_disabled} !important; + --disabled-text: #{$text_disabled} !important; + --divider: #{$divider} !important; + --event-date: #{$accent} !important; + --glimmer-spinner-icon: #{$accent} !important; + --hero-banner-background: #{$bg_opaque2} !important; + --highlight-bg: #{$background2} !important; + --media-outer-border: #{$divider} !important; + --messenger-card-background: #{$card} !important; + --messenger-reply-background: #{$card} !important; + --nav-bar-background: #{$bg_opaque} !important; + --new-notification-background: #{$background2} !important; + --placeholder-icon: #{$text} !important; + --placeholder-text: #{$text} !important; + --popover-background: #{$bg_opaque2} !important; + --primary-icon: #{$text} !important; + --primary-text: #{$text} !important; + --primary-button-text: #{$text} !important; + --primary-deemphasized-button-background: #{$divider} !important; + --primary-text-on-media: #{$text} !important; + --scroll-thumb: #{$accent} !important; + --secondary-icon: #{$text} !important; + --secondary-text: #{$text} !important; + --section-header-text: #{$text} !important; + --surface-background: #{$background} !important; +} diff --git a/app/src/web/scss/facebook/core/core.scss b/app/src/web/scss/facebook/core/core.scss index d7e790d1..557f7398 100644 --- a/app/src/web/scss/facebook/core/core.scss +++ b/app/src/web/scss/facebook/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"; -- cgit v1.2.3