From dae315edf9b0dea98d48739399a27d19c0dcffd2 Mon Sep 17 00:00:00 2001 From: Dave Ryan Date: Fri, 20 Dec 2024 08:48:46 -0700 Subject: [PATCH 1/3] Scope Opens Sans font-family to modal --- src/Installer/components/Modal/stylesheet.scss | 1 + src/Installer/styles/app.scss | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Installer/components/Modal/stylesheet.scss b/src/Installer/components/Modal/stylesheet.scss index f477f89..38b42aa 100644 --- a/src/Installer/components/Modal/stylesheet.scss +++ b/src/Installer/components/Modal/stylesheet.scss @@ -2,6 +2,7 @@ align-items: center; background: rgba(0, 0, 0, 0.5); display: flex; + font-family: "Open Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; height: 100vh; justify-content: center; left: 0; diff --git a/src/Installer/styles/app.scss b/src/Installer/styles/app.scss index b4ab1ec..1c4aee5 100644 --- a/src/Installer/styles/app.scss +++ b/src/Installer/styles/app.scss @@ -8,10 +8,6 @@ box-sizing: border-box; } -body { - font-family: "Open Sans", sans-serif; -} - #nfd-installer { display: none; transition: all 3s ease-in-out; From e48f72c003354292a7f8c0ada4d67d7aaeb9e44d Mon Sep 17 00:00:00 2001 From: Dave Ryan Date: Fri, 20 Dec 2024 08:52:52 -0700 Subject: [PATCH 2/3] Use WordPress Core system font stack fallback --- src/Installer/components/Modal/stylesheet.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Installer/components/Modal/stylesheet.scss b/src/Installer/components/Modal/stylesheet.scss index 38b42aa..eac0df5 100644 --- a/src/Installer/components/Modal/stylesheet.scss +++ b/src/Installer/components/Modal/stylesheet.scss @@ -2,7 +2,7 @@ align-items: center; background: rgba(0, 0, 0, 0.5); display: flex; - font-family: "Open Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-family: "Open Sans", -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; height: 100vh; justify-content: center; left: 0; From 3dd65a21a094fb40871671690bcfcb1bb7c0f827 Mon Sep 17 00:00:00 2001 From: Allen Benny Date: Mon, 23 Dec 2024 09:10:21 +0530 Subject: [PATCH 3/3] Fixed the Linting --- src/Installer/components/Modal/stylesheet.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Installer/components/Modal/stylesheet.scss b/src/Installer/components/Modal/stylesheet.scss index eac0df5..4e13d7c 100644 --- a/src/Installer/components/Modal/stylesheet.scss +++ b/src/Installer/components/Modal/stylesheet.scss @@ -2,7 +2,7 @@ align-items: center; background: rgba(0, 0, 0, 0.5); display: flex; - font-family: "Open Sans", -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; + font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; height: 100vh; justify-content: center; left: 0;