diff --git a/src/assets/fonts/Drive-Bold.otf b/src/assets/fonts/Drive-Bold.otf deleted file mode 100644 index b4798ed45f2..00000000000 Binary files a/src/assets/fonts/Drive-Bold.otf and /dev/null differ diff --git a/src/assets/fonts/Drive-Bold.woff b/src/assets/fonts/Drive-Bold.woff new file mode 100644 index 00000000000..0c4a6f5241c Binary files /dev/null and b/src/assets/fonts/Drive-Bold.woff differ diff --git a/src/assets/fonts/Drive-Bold.woff2 b/src/assets/fonts/Drive-Bold.woff2 new file mode 100644 index 00000000000..f312283587d Binary files /dev/null and b/src/assets/fonts/Drive-Bold.woff2 differ diff --git a/src/assets/fonts/Drive-BoldItalic.woff b/src/assets/fonts/Drive-BoldItalic.woff new file mode 100644 index 00000000000..6d1fef1f81d Binary files /dev/null and b/src/assets/fonts/Drive-BoldItalic.woff differ diff --git a/src/assets/fonts/Drive-BoldItalic.woff2 b/src/assets/fonts/Drive-BoldItalic.woff2 new file mode 100644 index 00000000000..8f69a286a52 Binary files /dev/null and b/src/assets/fonts/Drive-BoldItalic.woff2 differ diff --git a/src/assets/fonts/Drive-Book.woff b/src/assets/fonts/Drive-Book.woff new file mode 100644 index 00000000000..fabb7b93dea Binary files /dev/null and b/src/assets/fonts/Drive-Book.woff differ diff --git a/src/assets/fonts/Drive-Book.woff2 b/src/assets/fonts/Drive-Book.woff2 new file mode 100644 index 00000000000..83051f16732 Binary files /dev/null and b/src/assets/fonts/Drive-Book.woff2 differ diff --git a/src/assets/fonts/Drive-BookItalic.woff b/src/assets/fonts/Drive-BookItalic.woff new file mode 100644 index 00000000000..46caf8ae843 Binary files /dev/null and b/src/assets/fonts/Drive-BookItalic.woff differ diff --git a/src/assets/fonts/Drive-BookItalic.woff2 b/src/assets/fonts/Drive-BookItalic.woff2 new file mode 100644 index 00000000000..7d137688f7c Binary files /dev/null and b/src/assets/fonts/Drive-BookItalic.woff2 differ diff --git a/src/assets/fonts/Drive-Extrabold.otf b/src/assets/fonts/Drive-Extrabold.otf deleted file mode 100644 index 4ed4cc51875..00000000000 Binary files a/src/assets/fonts/Drive-Extrabold.otf and /dev/null differ diff --git a/src/assets/fonts/Drive-Extrabold.woff b/src/assets/fonts/Drive-Extrabold.woff new file mode 100644 index 00000000000..c0988e86691 Binary files /dev/null and b/src/assets/fonts/Drive-Extrabold.woff differ diff --git a/src/assets/fonts/Drive-Extrabold.woff2 b/src/assets/fonts/Drive-Extrabold.woff2 new file mode 100644 index 00000000000..6f02b173935 Binary files /dev/null and b/src/assets/fonts/Drive-Extrabold.woff2 differ diff --git a/src/assets/fonts/Drive-ExtraboldItalic.woff b/src/assets/fonts/Drive-ExtraboldItalic.woff new file mode 100644 index 00000000000..c96a12f0f97 Binary files /dev/null and b/src/assets/fonts/Drive-ExtraboldItalic.woff differ diff --git a/src/assets/fonts/Drive-ExtraboldItalic.woff2 b/src/assets/fonts/Drive-ExtraboldItalic.woff2 new file mode 100644 index 00000000000..51def9c40dc Binary files /dev/null and b/src/assets/fonts/Drive-ExtraboldItalic.woff2 differ diff --git a/src/assets/fonts/Drive-Extralight.woff b/src/assets/fonts/Drive-Extralight.woff new file mode 100644 index 00000000000..34fbfcde6ba Binary files /dev/null and b/src/assets/fonts/Drive-Extralight.woff differ diff --git a/src/assets/fonts/Drive-Extralight.woff2 b/src/assets/fonts/Drive-Extralight.woff2 new file mode 100644 index 00000000000..98e73a9c933 Binary files /dev/null and b/src/assets/fonts/Drive-Extralight.woff2 differ diff --git a/src/assets/fonts/Drive-ExtralightItalic.woff b/src/assets/fonts/Drive-ExtralightItalic.woff new file mode 100644 index 00000000000..571d61bd843 Binary files /dev/null and b/src/assets/fonts/Drive-ExtralightItalic.woff differ diff --git a/src/assets/fonts/Drive-ExtralightItalic.woff2 b/src/assets/fonts/Drive-ExtralightItalic.woff2 new file mode 100644 index 00000000000..a2e311c8c06 Binary files /dev/null and b/src/assets/fonts/Drive-ExtralightItalic.woff2 differ diff --git a/src/assets/fonts/Drive-Hairline.woff b/src/assets/fonts/Drive-Hairline.woff new file mode 100644 index 00000000000..009408d9281 Binary files /dev/null and b/src/assets/fonts/Drive-Hairline.woff differ diff --git a/src/assets/fonts/Drive-Hairline.woff2 b/src/assets/fonts/Drive-Hairline.woff2 new file mode 100644 index 00000000000..c267f98098f Binary files /dev/null and b/src/assets/fonts/Drive-Hairline.woff2 differ diff --git a/src/assets/fonts/Drive-HairlineItalic.woff b/src/assets/fonts/Drive-HairlineItalic.woff new file mode 100644 index 00000000000..d4c66e870e0 Binary files /dev/null and b/src/assets/fonts/Drive-HairlineItalic.woff differ diff --git a/src/assets/fonts/Drive-HairlineItalic.woff2 b/src/assets/fonts/Drive-HairlineItalic.woff2 new file mode 100644 index 00000000000..02b1375abfc Binary files /dev/null and b/src/assets/fonts/Drive-HairlineItalic.woff2 differ diff --git a/src/assets/fonts/Drive-Italic.otf b/src/assets/fonts/Drive-Italic.otf deleted file mode 100644 index 0dded054746..00000000000 Binary files a/src/assets/fonts/Drive-Italic.otf and /dev/null differ diff --git a/src/assets/fonts/Drive-Italic.woff b/src/assets/fonts/Drive-Italic.woff new file mode 100644 index 00000000000..35dc0c9f999 Binary files /dev/null and b/src/assets/fonts/Drive-Italic.woff differ diff --git a/src/assets/fonts/Drive-Italic.woff2 b/src/assets/fonts/Drive-Italic.woff2 new file mode 100644 index 00000000000..9db9de8b46d Binary files /dev/null and b/src/assets/fonts/Drive-Italic.woff2 differ diff --git a/src/assets/fonts/Drive-Light.otf b/src/assets/fonts/Drive-Light.otf deleted file mode 100644 index c0ba23aa074..00000000000 Binary files a/src/assets/fonts/Drive-Light.otf and /dev/null differ diff --git a/src/assets/fonts/Drive-Light.woff b/src/assets/fonts/Drive-Light.woff new file mode 100644 index 00000000000..57bbdf2bd1d Binary files /dev/null and b/src/assets/fonts/Drive-Light.woff differ diff --git a/src/assets/fonts/Drive-Light.woff2 b/src/assets/fonts/Drive-Light.woff2 new file mode 100644 index 00000000000..e250f443094 Binary files /dev/null and b/src/assets/fonts/Drive-Light.woff2 differ diff --git a/src/assets/fonts/Drive-LightItalic.woff b/src/assets/fonts/Drive-LightItalic.woff new file mode 100644 index 00000000000..6fc8e2ffba3 Binary files /dev/null and b/src/assets/fonts/Drive-LightItalic.woff differ diff --git a/src/assets/fonts/Drive-LightItalic.woff2 b/src/assets/fonts/Drive-LightItalic.woff2 new file mode 100644 index 00000000000..0310ae77d7d Binary files /dev/null and b/src/assets/fonts/Drive-LightItalic.woff2 differ diff --git a/src/assets/fonts/Drive-Medium.otf b/src/assets/fonts/Drive-Medium.otf deleted file mode 100644 index 0906bffb2de..00000000000 Binary files a/src/assets/fonts/Drive-Medium.otf and /dev/null differ diff --git a/src/assets/fonts/Drive-Medium.woff b/src/assets/fonts/Drive-Medium.woff new file mode 100644 index 00000000000..9e8a4e97de7 Binary files /dev/null and b/src/assets/fonts/Drive-Medium.woff differ diff --git a/src/assets/fonts/Drive-Medium.woff2 b/src/assets/fonts/Drive-Medium.woff2 new file mode 100644 index 00000000000..ee9bd0cea07 Binary files /dev/null and b/src/assets/fonts/Drive-Medium.woff2 differ diff --git a/src/assets/fonts/Drive-MediumItalic.woff b/src/assets/fonts/Drive-MediumItalic.woff new file mode 100644 index 00000000000..69cb119e5bc Binary files /dev/null and b/src/assets/fonts/Drive-MediumItalic.woff differ diff --git a/src/assets/fonts/Drive-MediumItalic.woff2 b/src/assets/fonts/Drive-MediumItalic.woff2 new file mode 100644 index 00000000000..1fcd1de520c Binary files /dev/null and b/src/assets/fonts/Drive-MediumItalic.woff2 differ diff --git a/src/assets/fonts/Drive-Regular.otf b/src/assets/fonts/Drive-Regular.otf deleted file mode 100644 index ae21cdbc1c2..00000000000 Binary files a/src/assets/fonts/Drive-Regular.otf and /dev/null differ diff --git a/src/assets/fonts/Drive-Regular.woff b/src/assets/fonts/Drive-Regular.woff new file mode 100644 index 00000000000..e99858b2c71 Binary files /dev/null and b/src/assets/fonts/Drive-Regular.woff differ diff --git a/src/assets/fonts/Drive-Regular.woff2 b/src/assets/fonts/Drive-Regular.woff2 new file mode 100644 index 00000000000..f1b71e0770c Binary files /dev/null and b/src/assets/fonts/Drive-Regular.woff2 differ diff --git a/src/assets/fonts/Drive-Thin.woff b/src/assets/fonts/Drive-Thin.woff new file mode 100644 index 00000000000..3647948a3f6 Binary files /dev/null and b/src/assets/fonts/Drive-Thin.woff differ diff --git a/src/assets/fonts/Drive-Thin.woff2 b/src/assets/fonts/Drive-Thin.woff2 new file mode 100644 index 00000000000..06639c412ba Binary files /dev/null and b/src/assets/fonts/Drive-Thin.woff2 differ diff --git a/src/assets/fonts/Drive-ThinItalic.woff b/src/assets/fonts/Drive-ThinItalic.woff new file mode 100644 index 00000000000..40705879fcf Binary files /dev/null and b/src/assets/fonts/Drive-ThinItalic.woff differ diff --git a/src/assets/fonts/Drive-ThinItalic.woff2 b/src/assets/fonts/Drive-ThinItalic.woff2 new file mode 100644 index 00000000000..443555042f3 Binary files /dev/null and b/src/assets/fonts/Drive-ThinItalic.woff2 differ diff --git a/src/assets/fonts/DriveProp-Bold.woff b/src/assets/fonts/DriveProp-Bold.woff new file mode 100644 index 00000000000..01709360e72 Binary files /dev/null and b/src/assets/fonts/DriveProp-Bold.woff differ diff --git a/src/assets/fonts/DriveProp-Bold.woff2 b/src/assets/fonts/DriveProp-Bold.woff2 new file mode 100644 index 00000000000..a90c5c0939d Binary files /dev/null and b/src/assets/fonts/DriveProp-Bold.woff2 differ diff --git a/src/assets/fonts/DriveProp-BoldItalic.woff b/src/assets/fonts/DriveProp-BoldItalic.woff new file mode 100644 index 00000000000..4462c86027e Binary files /dev/null and b/src/assets/fonts/DriveProp-BoldItalic.woff differ diff --git a/src/assets/fonts/DriveProp-BoldItalic.woff2 b/src/assets/fonts/DriveProp-BoldItalic.woff2 new file mode 100644 index 00000000000..70129598bb3 Binary files /dev/null and b/src/assets/fonts/DriveProp-BoldItalic.woff2 differ diff --git a/src/assets/fonts/DriveProp-Italic.woff b/src/assets/fonts/DriveProp-Italic.woff new file mode 100644 index 00000000000..3a47b3e9b48 Binary files /dev/null and b/src/assets/fonts/DriveProp-Italic.woff differ diff --git a/src/assets/fonts/DriveProp-Italic.woff2 b/src/assets/fonts/DriveProp-Italic.woff2 new file mode 100644 index 00000000000..b7e482e36b7 Binary files /dev/null and b/src/assets/fonts/DriveProp-Italic.woff2 differ diff --git a/src/assets/fonts/DriveProp-Medium.woff b/src/assets/fonts/DriveProp-Medium.woff new file mode 100644 index 00000000000..4ffaa4873f1 Binary files /dev/null and b/src/assets/fonts/DriveProp-Medium.woff differ diff --git a/src/assets/fonts/DriveProp-Medium.woff2 b/src/assets/fonts/DriveProp-Medium.woff2 new file mode 100644 index 00000000000..d9860667798 Binary files /dev/null and b/src/assets/fonts/DriveProp-Medium.woff2 differ diff --git a/src/assets/fonts/DriveProp-MediumItalic.woff b/src/assets/fonts/DriveProp-MediumItalic.woff new file mode 100644 index 00000000000..6a9a3d0e835 Binary files /dev/null and b/src/assets/fonts/DriveProp-MediumItalic.woff differ diff --git a/src/assets/fonts/DriveProp-MediumItalic.woff2 b/src/assets/fonts/DriveProp-MediumItalic.woff2 new file mode 100644 index 00000000000..8640fd88473 Binary files /dev/null and b/src/assets/fonts/DriveProp-MediumItalic.woff2 differ diff --git a/src/assets/fonts/DriveProp-Regular.woff b/src/assets/fonts/DriveProp-Regular.woff new file mode 100644 index 00000000000..41dadf58b88 Binary files /dev/null and b/src/assets/fonts/DriveProp-Regular.woff differ diff --git a/src/assets/fonts/DriveProp-Regular.woff2 b/src/assets/fonts/DriveProp-Regular.woff2 new file mode 100644 index 00000000000..124026c114b Binary files /dev/null and b/src/assets/fonts/DriveProp-Regular.woff2 differ diff --git a/src/themes/custom/assets/fonts/drive.scss b/src/themes/custom/assets/fonts/drive.scss index e0e141fb823..0be09509720 100644 --- a/src/themes/custom/assets/fonts/drive.scss +++ b/src/themes/custom/assets/fonts/drive.scss @@ -1,22 +1,115 @@ @font-face { font-family: "Drive"; - src: url("/assets/fonts/Drive-Light.otf") format("opentype"); + src: url("/assets/fonts/Drive-Thin.woff2") format("woff2"), + url("/assets/fonts/Drive-Thin.woff") format("woff"); + font-weight: 100; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: "Drive"; + src: url("/assets/fonts/Drive-ThinItalic.woff2") format("woff2"), + url("/assets/fonts/Drive-ThinItalic.woff") format("woff"); + font-weight: 100; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: "Drive"; + src: url("/assets/fonts/Drive-Hairline.woff2") format("woff2"), + url("/assets/fonts/Drive-Hairline.woff") format("woff"); + font-weight: 200; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: "Drive"; + src: url("/assets/fonts/Drive-HairlineItalic.woff2") format("woff2"), + url("/assets/fonts/Drive-HairlineItalic.woff") format("woff"); + font-weight: 200; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: "Drive"; + src: url("/assets/fonts/Drive-Extralight.woff2") format("woff2"), + url("/assets/fonts/Drive-Extralight.woff") format("woff"); + font-weight: 200; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: "Drive"; + src: url("/assets/fonts/Drive-ExtralightItalic.woff2") format("woff2"), + url("/assets/fonts/Drive-ExtralightItalic.woff") format("woff"); + font-weight: 200; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: "Drive"; + src: url("/assets/fonts/Drive-Light.woff2") format("woff2"), + url("/assets/fonts/Drive-Light.woff") format("woff"); + font-weight: 300; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: "Drive"; + src: url("/assets/fonts/Drive-LightItalic.woff2") format("woff2"), + url("/assets/fonts/Drive-LightItalic.woff") format("woff"); font-weight: 300; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: "Drive"; + src: url("/assets/fonts/Drive-Regular.woff2") format("woff2"), + url("/assets/fonts/Drive-Regular.woff") format("woff"); + font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: "Drive"; - src: url("/assets/fonts/Drive-Regular.otf") format("opentype"); + src: url("/assets/fonts/Drive-Italic.woff2") format("woff2"), + url("/assets/fonts/Drive-Italic.woff") format("woff"); font-weight: 400; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: "Drive"; + src: url("/assets/fonts/Drive-Book.woff2") format("woff2"), + url("/assets/fonts/Drive-Book.woff") format("woff"); + font-weight: 500; font-style: normal; font-display: swap; } @font-face { font-family: "Drive"; - src: url("/assets/fonts/Drive-Medium.otf") format("opentype"); + src: url("/assets/fonts/Drive-BookItalic.woff2") format("woff2"), + url("/assets/fonts/Drive-BookItalic.woff") format("woff"); + font-weight: 500; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: "Drive"; + src: url("/assets/fonts/Drive-Medium.woff2") format("woff2"), + url("/assets/fonts/Drive-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; @@ -24,15 +117,17 @@ @font-face { font-family: "Drive"; - src: url("/assets/fonts/Drive-Italic.otf") format("opentype"); - font-weight: 400; + src: url("/assets/fonts/Drive-MediumItalic.woff2") format("woff2"), + url("/assets/fonts/Drive-MediumItalic.woff") format("woff"); + font-weight: 500; font-style: italic; font-display: swap; } @font-face { font-family: "Drive"; - src: url("/assets/fonts/Drive-Bold.otf") format("opentype"); + src: url("/assets/fonts/Drive-Bold.woff2") format("woff2"), + url("/assets/fonts/Drive-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; @@ -40,8 +135,27 @@ @font-face { font-family: "Drive"; - src: url("/assets/fonts/Drive-Extrabold.otf") format("opentype"); + src: url("/assets/fonts/Drive-BoldItalic.woff2") format("woff2"), + url("/assets/fonts/Drive-BoldItalic.woff") format("woff"); + font-weight: 700; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: "Drive"; + src: url("/assets/fonts/Drive-Extrabold.woff2") format("woff2"), + url("/assets/fonts/Drive-Extrabold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; } + +@font-face { + font-family: "Drive"; + src: url("/assets/fonts/Drive-ExtraboldItalic.woff2") format("woff2"), + url("/assets/fonts/Drive-ExtraboldItalic.woff") format("woff"); + font-weight: 800; + font-style: italic; + font-display: swap; +} diff --git a/src/themes/custom/assets/fonts/driveProp.scss b/src/themes/custom/assets/fonts/driveProp.scss new file mode 100644 index 00000000000..3e875870468 --- /dev/null +++ b/src/themes/custom/assets/fonts/driveProp.scss @@ -0,0 +1,53 @@ +@font-face { + font-family: "DriveProp"; + src: url("/assets/fonts/DriveProp-Regular.woff2") format("woff2"), + url("/assets/fonts/DriveProp-Regular.woff") format("woff"); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: "DriveProp"; + src: url("/assets/fonts/DriveProp-Italic.woff2") format("woff2"), + url("/assets/fonts/DriveProp-Italic.woff") format("woff"); + font-weight: 400; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: "DriveProp"; + src: url("/assets/fonts/DriveProp-Medium.woff2") format("woff2"), + url("/assets/fonts/DriveProp-Medium.woff") format("woff"); + font-weight: 500; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: "DriveProp"; + src: url("/assets/fonts/DriveProp-MediumItalic.woff2") format("woff2"), + url("/assets/fonts/DriveProp-MediumItalic.woff") format("woff"); + font-weight: 500; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: "DriveProp"; + src: url("/assets/fonts/DriveProp-Bold.woff2") format("woff2"), + url("/assets/fonts/DriveProp-Bold.woff") format("woff"); + font-weight: 700; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: "DriveProp"; + src: url("/assets/fonts/DriveProp-BoldItalic.woff2") format("woff2"), + url("/assets/fonts/DriveProp-BoldItalic.woff") format("woff"); + font-weight: 700; + font-style: italic; + font-display: swap; +} diff --git a/src/themes/custom/styles/_theme_sass_variable_overrides.scss b/src/themes/custom/styles/_theme_sass_variable_overrides.scss index 47991ad18c4..b205206a093 100644 --- a/src/themes/custom/styles/_theme_sass_variable_overrides.scss +++ b/src/themes/custom/styles/_theme_sass_variable_overrides.scss @@ -4,6 +4,7 @@ // variables) you can do so here. Their CSS counterparts will include the changes you make here @import '../assets/fonts/drive.scss'; +@import '../assets/fonts/driveProp.scss'; $font-family-sans-serif: "Drive", Calibri, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;