From bb58a5f9f7d6ed177347b7658976151e5aede482 Mon Sep 17 00:00:00 2001 From: dannyrb Date: Sun, 19 May 2019 20:13:44 -0400 Subject: [PATCH 1/3] Docs for missing roboto font --- docs/latest/deployment/recipes/embedded-viewer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/latest/deployment/recipes/embedded-viewer.md b/docs/latest/deployment/recipes/embedded-viewer.md index 3e7427f5c..c5a08f2cf 100644 --- a/docs/latest/deployment/recipes/embedded-viewer.md +++ b/docs/latest/deployment/recipes/embedded-viewer.md @@ -17,8 +17,8 @@ include tags. Here's how it works:
  • - - Google Font @ Sanchez + + Google Fonts, Sanchez & Roboto
  • From 05c0e1418c901efee230f687536ddbd91874439a Mon Sep 17 00:00:00 2001 From: dannyrb Date: Sun, 19 May 2019 20:14:39 -0400 Subject: [PATCH 2/3] fix(index.html): Add Roboto Google Font dependency --- public/index.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index 6ad5bce59..f644ad78e 100644 --- a/public/index.html +++ b/public/index.html @@ -26,7 +26,7 @@ - +
    From a45eb42e6bea5fca0e6b74523d70963952ca04b0 Mon Sep 17 00:00:00 2001 From: dannyrb Date: Sun, 19 May 2019 20:15:07 -0400 Subject: [PATCH 3/3] Add note regarding preference for SVG over entire font for logo text --- src/variables.css | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/src/variables.css b/src/variables.css index 0e430b294..bc13b3c0e 100644 --- a/src/variables.css +++ b/src/variables.css @@ -1,30 +1,31 @@ /* Sizes */ :root { - --top-bar-height: 40px; - --top-bar-expanded-height: 160px; - --toolbar-height: 78px; - --toolbar-drawer-height: 62px; - --left-sidebar-menu-width: 307px; - --right-sidebar-menu-width: 323px; - --study-list-padding: 8%; - --study-list-padding-medium-screen: 10px; + --top-bar-height: 40px; + --top-bar-expanded-height: 160px; + --toolbar-height: 78px; + --toolbar-drawer-height: 62px; + --left-sidebar-menu-width: 307px; + --right-sidebar-menu-width: 323px; + --study-list-padding: 8%; + --study-list-padding-medium-screen: 10px; } /* Fonts */ +/* Logo font should be SVG so we don't need to load an entire font */ :root { - --logo-font-family: "Sanchez"; - --logo-font-weight: 300; + --logo-font-family: 'Sanchez'; + --logo-font-weight: 300; /* Sanchez, 300 does not exist */ } /* Transitions */ :root { - --transition-duration: 0.3s; - --transition-effect: ease; - --sidebar-transition: all 0.3s ease; + --transition-duration: 0.3s; + --transition-effect: ease; + --sidebar-transition: all 0.3s ease; } /* Thicknesses */ :root { - --viewport-border-thickness: 1px; - --ui-border-thickness: 1px; + --viewport-border-thickness: 1px; + --ui-border-thickness: 1px; }