From 67c35f32d6456adc8c35797dd9df58d0abda18c3 Mon Sep 17 00:00:00 2001 From: Taylor Seamans Date: Fri, 28 Oct 2022 13:00:39 -0700 Subject: [PATCH 1/3] Use Brand Central font versions --- src/js/themes/hpe.js | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/js/themes/hpe.js b/src/js/themes/hpe.js index 8075018..63a2306 100644 --- a/src/js/themes/hpe.js +++ b/src/js/themes/hpe.js @@ -106,31 +106,26 @@ export const hpe = deepFreeze({ face: ` @font-face { font-family: "Metric"; - src: url("https://d3hq6blov2iije.cloudfront.net/fonts/HPEXS-Metric-Fonts/MetricHPEXS-Regular.woff2") format('woff2'), - url("https://d3hq6blov2iije.cloudfront.net/fonts/HPEXS-Metric-Fonts/MetricHPEXS-Regular.woff") format('woff'); + src: url("https://hpefonts.s3.amazonaws.com/web/MetricHPE-Web-Regular.woff") format('woff'); } @font-face { font-family: "Metric"; - src: url("https://d3hq6blov2iije.cloudfront.net/fonts/HPEXS-Metric-Fonts/MetricHPEXS-Bold.woff2") format('woff2'), - url("https://d3hq6blov2iije.cloudfront.net/fonts/HPEXS-Metric-Fonts/MetricHPEXS-Bold.woff") format('woff'); + src: url("https://hpefonts.s3.amazonaws.com/web/MetricHPE-Web-Bold.woff") format('woff'); font-weight: 700; } @font-face { font-family: "Metric"; - src: url("https://d3hq6blov2iije.cloudfront.net/fonts/HPEXS-Metric-Fonts/MetricHPEXSSemibold-Regular.woff2") format('woff2'), - url("https://d3hq6blov2iije.cloudfront.net/fonts/HPEXS-Metric-Fonts/MetricHPEXSSemibold-Regular.woff") format('woff'); + src: url("https://hpefonts.s3.amazonaws.com/web/MetricHPESemibold.woff") format('woff'); font-weight: 600; } @font-face { font-family: "Metric"; - src: url("https://d3hq6blov2iije.cloudfront.net/fonts/HPEXS-Metric-Fonts/MetricHPEXSMedium-Regular.woff2") format('woff2'), - url("https://d3hq6blov2iije.cloudfront.net/fonts/HPEXS-Metric-Fonts/MetricHPEXSMedium-Regular.woff") format('woff'); + src: url("https://hpefonts.s3.amazonaws.com/web/MetricHPE-Web-Medium.woff") format('woff'); font-weight: 500; } @font-face { font-family: "Metric"; - src: url("https://d3hq6blov2iije.cloudfront.net/fonts/HPEXS-Metric-Fonts/MetricHPEXSLight-Regular.woff2") format('woff2'), - url("https://d3hq6blov2iije.cloudfront.net/fonts/HPEXS-Metric-Fonts/MetricHPEXSLight-Regular.woff") format('woff'); + src: url("https://hpefonts.s3.amazonaws.com/web/MetricHPE-Web-Light.woff") format('woff'); font-weight: 100; }`, }, From 70b30e2e7e9056acf463e9d6554da7c699b91a07 Mon Sep 17 00:00:00 2001 From: Taylor Seamans Date: Wed, 23 Nov 2022 14:07:32 -0800 Subject: [PATCH 2/3] Point to hpe CDN --- src/js/themes/hpe.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/js/themes/hpe.js b/src/js/themes/hpe.js index 63a2306..7a18f17 100644 --- a/src/js/themes/hpe.js +++ b/src/js/themes/hpe.js @@ -106,26 +106,28 @@ export const hpe = deepFreeze({ face: ` @font-face { font-family: "Metric"; - src: url("https://hpefonts.s3.amazonaws.com/web/MetricHPE-Web-Regular.woff") format('woff'); + src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe/MetricHPE-Web-Regular.woff") format('woff'); } @font-face { font-family: "Metric"; - src: url("https://hpefonts.s3.amazonaws.com/web/MetricHPE-Web-Bold.woff") format('woff'); + src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe/MetricHPE-Web-Bold.woff") format('woff'); font-weight: 700; } @font-face { font-family: "Metric"; - src: url("https://hpefonts.s3.amazonaws.com/web/MetricHPESemibold.woff") format('woff'); + src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe/MetricHPE-Web-Semibold.woff") format('woff'); font-weight: 600; } + // connecting with Artur's team to have the web version added to the CDN @font-face { font-family: "Metric"; - src: url("https://hpefonts.s3.amazonaws.com/web/MetricHPE-Web-Medium.woff") format('woff'); + src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe/Metric-Medium.woff2") format('woff2'), + url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe/Metric-Medium.woff") format('woff'); font-weight: 500; } @font-face { font-family: "Metric"; - src: url("https://hpefonts.s3.amazonaws.com/web/MetricHPE-Web-Light.woff") format('woff'); + src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe/MetricHPE-Web-Light.woff") format('woff'); font-weight: 100; }`, }, From f50ae1c5afaa0918988df4e78af36022ec148abd Mon Sep 17 00:00:00 2001 From: Taylor Seamans Date: Fri, 27 Jan 2023 15:40:18 -0800 Subject: [PATCH 3/3] Use hpe.com font links --- src/js/themes/hpe.js | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/src/js/themes/hpe.js b/src/js/themes/hpe.js index 7a18f17..1ddcea9 100644 --- a/src/js/themes/hpe.js +++ b/src/js/themes/hpe.js @@ -106,28 +106,37 @@ export const hpe = deepFreeze({ face: ` @font-face { font-family: "Metric"; - src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe/MetricHPE-Web-Regular.woff") format('woff'); + src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe-web/MetricHPE-Web-Regular.woff2") format('woff2'), + url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe-web/MetricHPE-Web-Regular.woff") format('woff'); } @font-face { font-family: "Metric"; - src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe/MetricHPE-Web-Bold.woff") format('woff'); + src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe-web/MetricHPE-Web-Regular.woff2") format('woff2'), + url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe-web/MetricHPE-Web-Regular.woff") format('woff'); + font-weight: 400; + } + @font-face { + font-family: "Metric"; + src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe-web/MetricHPE-Web-Bold.woff2") format('woff2'), + url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe-web/MetricHPE-Web-Bold.woff") format('woff'); font-weight: 700; } @font-face { font-family: "Metric"; - src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe/MetricHPE-Web-Semibold.woff") format('woff'); + src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe-web/MetricHPE-Web-Semibold.woff2") format('woff2'), + url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe-web/MetricHPE-Web-Semibold.woff") format('woff'); font-weight: 600; } - // connecting with Artur's team to have the web version added to the CDN @font-face { font-family: "Metric"; - src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe/Metric-Medium.woff2") format('woff2'), - url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe/Metric-Medium.woff") format('woff'); + src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe-web/MetricHPE-Web-Medium.woff2") format('woff2'), + url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe-web/MetricHPE-Web-Medium.woff") format('woff'); font-weight: 500; } @font-face { font-family: "Metric"; - src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe/MetricHPE-Web-Light.woff") format('woff'); + src: url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe-web/MetricHPE-Web-Light.woff2") format('woff2'), + url("https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe-web/MetricHPE-Web-Light.woff") format('woff'); font-weight: 100; }`, },