From b75dc687ca2e338d5d25e97c74719643100284a2 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 12 Sep 2021 20:29:31 -0700 Subject: [PATCH] Update theme --- app/src/web/package-lock.json | 6 +++--- app/src/web/package.json | 2 +- app/src/web/scss/core/_base.scss | 4 +++- app/src/web/scss/facebook/core/_core_bg.scss | 2 +- app/src/web/scss/facebook/core/_core_border.scss | 2 +- app/src/web/scss/facebook/core/_core_text.scss | 6 +++--- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/app/src/web/package-lock.json b/app/src/web/package-lock.json index 120e84af6..45cb1eeb8 100644 --- a/app/src/web/package-lock.json +++ b/app/src/web/package-lock.json @@ -146,9 +146,9 @@ } }, "sass": { - "version": "1.38.2", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.38.2.tgz", - "integrity": "sha512-Bz1fG6qiyF0FX6m/I+VxtdVKz1Dfmg/e9kfDy2PhWOkq3T384q2KxwIfP0fXpeI+EyyETdOauH+cRHQDFASllA==", + "version": "1.39.2", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.39.2.tgz", + "integrity": "sha512-4/6Vn2RPc+qNwSclUSKvssh7dqK1Ih3FfHBW16I/GfH47b3scbYeOw65UIrYG7PkweFiKbpJjgkf5CV8EMmvzw==", "requires": { "chokidar": ">=3.0.0 <4.0.0" } diff --git a/app/src/web/package.json b/app/src/web/package.json index a196211af..64988a42c 100644 --- a/app/src/web/package.json +++ b/app/src/web/package.json @@ -10,7 +10,7 @@ "dependencies": { "compile": "0.0.2", "run": "^1.4.0", - "sass": "^1.38.2", + "sass": "^1.39.2", "typescript": "^3.9.10" } } diff --git a/app/src/web/scss/core/_base.scss b/app/src/web/scss/core/_base.scss index f6b5c903f..8f233119d 100644 --- a/app/src/web/scss/core/_base.scss +++ b/app/src/web/scss/core/_base.scss @@ -1,3 +1,5 @@ +@use 'sass:math'; + @mixin placeholder { ::placeholder { @content; @@ -80,7 +82,7 @@ $encoded: ""; $slice: 2000; $index: 0; - $loops: ceil(str-length($svg) / $slice); + $loops: ceil(math.div(str-length($svg), $slice)); @for $i from 1 through $loops { $chunk: str-slice($svg, $index, $index + $slice - 1); diff --git a/app/src/web/scss/facebook/core/_core_bg.scss b/app/src/web/scss/facebook/core/_core_bg.scss index c5269ccfc..8e6ed2cec 100644 --- a/app/src/web/scss/facebook/core/_core_bg.scss +++ b/app/src/web/scss/facebook/core/_core_bg.scss @@ -30,7 +30,7 @@ html, body, :root, #root, #header, #MComposer, ._1upc, input, ._2f9r, ._59e9, ._ // card related ._31nf, ._2v9s, ._d4i, article._55wo, ._10c_, ._2jl2, ._6150, ._50mi, ._4-dw, ._4_2z, ._5m_s, ._13fn, ._7kxe, [style*="background-color: #F5F8FF"], -._84lx, ._517h, ._59pe:focus, ._59pe:hover, ._m_1, ._3eqz, ._6m2, ._6q-c { +._84lx, ._517h, ._59pe:focus, ._59pe:hover, ._m_1, ._3eqz, ._6m2, ._6q-c, ._61r- { background: $card !important; } diff --git a/app/src/web/scss/facebook/core/_core_border.scss b/app/src/web/scss/facebook/core/_core_border.scss index 1929e546a..883d4eae2 100644 --- a/app/src/web/scss/facebook/core/_core_border.scss +++ b/app/src/web/scss/facebook/core/_core_border.scss @@ -42,7 +42,7 @@ //friend card border ._d4i, ._f6s, .mentions-suggest-item, .mentions-suggest, .sharerAttachment, .mToken, #addMembersTypeahead .mToken.mTokenWeakReference, .mQuestionsPollResultsBar, -._15q7, ._2q7v, ._4dwt ._16ii, ._3qdi::after, ._6q-c, +._15q7, ._2q7v, ._4dwt ._16ii, ._3qdi::after, ._6q-c, ._61r-, ._2q7w, .acy, ._58ak, ._3t_l, ._4msa, ._3h8i, ._3clk, ._1kt6, ._1ksq, ._1_y5, ._lr0, ._5hgt, ._2cpp, ._50uu, ._50uw, ._31yd, ._1e3d, ._3xz7, ._1xoz, ._4kcb, ._2lut, .jewel .touchable-notification.touched, .touchable-notification .touchable.touched, diff --git a/app/src/web/scss/facebook/core/_core_text.scss b/app/src/web/scss/facebook/core/_core_text.scss index 8ac667588..60fd9c96a 100644 --- a/app/src/web/scss/facebook/core/_core_text.scss +++ b/app/src/web/scss/facebook/core/_core_text.scss @@ -1,6 +1,6 @@ -html, body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, -._1tcc, ._3g9-, ._29z_, ._3xz7, ._ib-, ._3bg5 ._56dq, ._477i, ._2vxk, ._29e6, ._8wr8, -.touched *, ._1_yj, ._1_yl, ._4pj9, ._2bdc, ._3qdh ._3qdn ._3qdk, ._3qdk ._48_q, ._7iah, +html, body, input, ._42rv, ._4qau, ._dwm .descArea, ._eu5, ._wn-, +._1tcc, ._3g9-, ._29z_, ._3xz7, ._ib-, ._3bg5 ._56dq, ._477i, ._2vxk, ._29e6, ._8wr8, ._52lz, +.touched *, ._1_yj, ._1_yl, ._4pj9, ._2bdc, ._3qdh ._3qdn ._3qdk, ._3qdk ._48_q, ._7iah, ._61mn ._61mo, ._z-z, ._z-v, ._1e8d, ._36nl, ._36nm, ._2_11, ._2_rf, ._2ip_, ._403p, .cq, ._usr, #mErrorView .message, ._5xu2, ._3ml8, ._3mla, ._50vk, ._1m2u, ._31y7, ._4kcb, ._1lf6, ._1lf5, ._7-1j, ._4ajz, ._m_1 ._2aha, ._1lf4, ._1hiz, ._xod, ._5ag5, ._zmk, ._3t_h, ._5lm6, ._3clv, ._3zlc, ._36rd, ._6oby, ._6_qk,