Freely color social icon backgrounds for each theme (#4372)

This commit is contained in:
brian bethencourt 2019-11-07 12:48:55 -05:00 committed by Mac Siri
parent 1907d72d80
commit f0e367996a
2 changed files with 4 additions and 1 deletions

View file

@ -871,7 +871,7 @@ article {
background: transparent;
@include themeable(
background,
theme-secondary-color,
theme-social-icon-color,
transparent
);
}

View file

@ -32,6 +32,7 @@
--theme-container-border: 1px solid #22303f;\
--theme-subtle-border: 1px solid #1f2c3a;\
--theme-social-icon-invert: invert(100);\
--theme-social-icon-color: #cedae2;\
--theme-current-article-background: #1143ca;\
--theme-series-article-background: #314d9c;\
--theme-series-article-hover: #1b2e63;</style>'
@ -97,6 +98,7 @@
--theme-container-box-shadow: none;\
--theme-container-border: 1px solid #ff4983;\
--theme-subtle-border: 1px solid #ffa8c3;\
--theme-social-icon-color: rgba(255, 204, 219, 0);\
--theme-social-icon-invert: invert(0);\
--theme-prime-option-border-color: rgba(255, 255, 255, 0.55)</style>'
} else if(bodyClass.includes('minimal-light-theme')) {
@ -128,6 +130,7 @@
--theme-container-box-shadow: none;\
--theme-container-border: 1px solid #e3e3e5;\
--theme-subtle-border: 1px solid #fcfcfc;\
--theme-social-icon-color: rgba(80, 81, 89, 0);\
--theme-social-icon-invert: invert(0)</style>'
}
if (navigator.userAgent === 'DEV-Native-ios') {