diff --git a/.gitignore b/.gitignore index 8474f80d..b75dc00b 100755 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ __diff_output__ /playwright-report/ /playwright/.cache/ build/app/html/iframe.html +build/app/public/font \ No newline at end of file diff --git a/build/app/font/ProximaNova-Bold-webfont.woff2 b/build/app/font/ProximaNova-Bold-webfont.woff2 deleted file mode 100644 index d88ee9b0..00000000 Binary files a/build/app/font/ProximaNova-Bold-webfont.woff2 and /dev/null differ diff --git a/build/app/font/ProximaNova-Reg-webfont.woff b/build/app/font/ProximaNova-Reg-webfont.woff deleted file mode 100644 index d9575043..00000000 Binary files a/build/app/font/ProximaNova-Reg-webfont.woff and /dev/null differ diff --git a/build/app/font/ProximaNova-Reg-webfont.woff2 b/build/app/font/ProximaNova-Reg-webfont.woff2 deleted file mode 100644 index 7c75b9ed..00000000 Binary files a/build/app/font/ProximaNova-Reg-webfont.woff2 and /dev/null differ diff --git a/build/app/font/ProximaNova-Sbold-webfont.woff b/build/app/font/ProximaNova-Sbold-webfont.woff deleted file mode 100644 index ab7a3e07..00000000 Binary files a/build/app/font/ProximaNova-Sbold-webfont.woff and /dev/null differ diff --git a/build/app/public/css/popup.css b/build/app/public/css/popup.css index cacb2b76..036da24f 100644 --- a/build/app/public/css/popup.css +++ b/build/app/public/css/popup.css @@ -37,13 +37,13 @@ */ @font-face { font-family: "DDG_ProximaNova"; - src: url("../../font/ProximaNova-Reg-webfont.woff") format("woff"); + src: url("/public/font/ProximaNova-Reg-webfont.woff") format("woff"); font-weight: normal; font-style: normal; } @font-face { font-family: "DDG_ProximaNova"; - src: url("../../font/ProximaNova-Sbold-webfont.woff") format("woff"); + src: url("/public/font/ProximaNova-Sbold-webfont.woff") format("woff"); font-weight: 600; font-style: bold; } diff --git a/package.json b/package.json index a422cc95..f3694cb8 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "test.int.update-screenshots": "npm run test.int -- --update-snapshots", "test.int-debug": "playwright test --headed --debug", "test.clean-tree": "npm run build && sh scripts/check-for-changes.sh", - "verify.local": "npm run lint.fix; npm run prettier.fix; npm run test.unit; npm run build; npm run docs; npm run test.int" + "verify.local": "npm run lint.fix; npm run prettier.fix; npm run test.unit; npm run build; npm run docs; npm run test.int", + "fetch-fonts": "mkdir -p build/app/public/font && curl -o build/app/public/font/ProximaNova-Reg-webfont.woff https://duckduckgo.com/font/ProximaNova-Reg-webfont.woff && curl -o build/app/public/font/ProximaNova-Sbold-webfont.woff https://duckduckgo.com/font/ProximaNova-Sbold-webfont.woff" }, "devDependencies": { "@babel/cli": "^7.19.3", diff --git a/shared/font/ProximaNova-Bold-webfont.woff2 b/shared/font/ProximaNova-Bold-webfont.woff2 deleted file mode 100644 index d88ee9b0..00000000 Binary files a/shared/font/ProximaNova-Bold-webfont.woff2 and /dev/null differ diff --git a/shared/font/ProximaNova-Reg-webfont.woff b/shared/font/ProximaNova-Reg-webfont.woff deleted file mode 100644 index d9575043..00000000 Binary files a/shared/font/ProximaNova-Reg-webfont.woff and /dev/null differ diff --git a/shared/font/ProximaNova-Reg-webfont.woff2 b/shared/font/ProximaNova-Reg-webfont.woff2 deleted file mode 100644 index 7c75b9ed..00000000 Binary files a/shared/font/ProximaNova-Reg-webfont.woff2 and /dev/null differ diff --git a/shared/font/ProximaNova-Sbold-webfont.woff b/shared/font/ProximaNova-Sbold-webfont.woff deleted file mode 100644 index ab7a3e07..00000000 Binary files a/shared/font/ProximaNova-Sbold-webfont.woff and /dev/null differ diff --git a/shared/html/iframe.html b/shared/html/iframe.html deleted file mode 100644 index 1a829fb7..00000000 --- a/shared/html/iframe.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - Debug - - - - - -
-

- - -

-
-
- - - diff --git a/shared/scss/base/_tokens.scss b/shared/scss/base/_tokens.scss index 160b626c..2a8f067b 100644 --- a/shared/scss/base/_tokens.scss +++ b/shared/scss/base/_tokens.scss @@ -3,14 +3,14 @@ */ @font-face { font-family: 'DDG_ProximaNova'; - src: url('../../font/ProximaNova-Reg-webfont.woff') format('woff'); + src: url('/public/font/ProximaNova-Reg-webfont.woff') format('woff'); font-weight: normal; font-style: normal; } @font-face { font-family: 'DDG_ProximaNova'; - src: url('../../font/ProximaNova-Sbold-webfont.woff') format('woff'); + src: url('/public/font/ProximaNova-Sbold-webfont.woff') format('woff'); font-weight: 600; font-style: bold; }