From 5fdf805df2dd3a6f95180c10d128ba17ab367f2b Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 22 Apr 2020 18:44:52 +0100 Subject: [PATCH] use scss variables in ErrorView.scss Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- res/css/structures/ErrorView.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/res/css/structures/ErrorView.scss b/res/css/structures/ErrorView.scss index 008799b8a5..0f654df85e 100644 --- a/res/css/structures/ErrorView.scss +++ b/res/css/structures/ErrorView.scss @@ -14,6 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. */ +// import font-size variables manually, ideally this scss would get loaded by the theme which has all variables in context +@import "../../../node_modules/matrix-react-sdk/res/css/_font-sizes.scss"; + .mx_ErrorView { background: #c5e0f7; background: -moz-linear-gradient(top, #c5e0f7 0%, #ffffff 100%); @@ -33,7 +36,7 @@ limitations under the License. .mx_Button { border: 0; border-radius: 4px; - font-size: 18px; + font-size: $font-18px; margin-left: 4px; margin-right: 4px; min-width: 80px; @@ -56,12 +59,12 @@ limitations under the License. justify-content: center; } - font-size: 1.067rem; // 16px + font-size: $font-16px; h1 { - font-size: 2.133rem; // 32px + font-size: $font-32px; } h2 { - font-size: 1.600rem; // 24px + font-size: $font-24px; color: #000; }