From 16a9caa555a2d63b7ff8af0731fbfd3231d6225c Mon Sep 17 00:00:00 2001 From: Jacky Zhao <j.zhao2k19@gmail.com> Date: Mon, 16 Sep 2024 01:05:17 +0000 Subject: [PATCH] perf: eagerly compute explorer nodes to avoid re-render in memoized value --- quartz/styles/variables.scss | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/quartz/styles/variables.scss b/quartz/styles/variables.scss index 6dd5614..e45cc91 100644 --- a/quartz/styles/variables.scss +++ b/quartz/styles/variables.scss @@ -1,6 +1,9 @@ $pageWidth: 750px; $mobileBreakpoint: 600px; -$tabletBreakpoint: 1200px; -$sidePanelWidth: 400px; +$tabletBreakpoint: 1000px; +$sidePanelWidth: 380px; $topSpacing: 6rem; -$fullPageWidth: $pageWidth + 2 * $sidePanelWidth +$fullPageWidth: $pageWidth + 2 * $sidePanelWidth; +$boldWeight: 700; +$semiBoldWeight: 600; +$normalWeight: 400; -- Gitblit v1.10.0