Skip to content

Commit

Permalink
use cookieless domain for font cdn (#7)
Browse files Browse the repository at this point in the history
* updates font paths to cookieless domain

* bump version

* increment version properly
  • Loading branch information
PeteSchuster authored May 17, 2018
1 parent e4fc35a commit ab783d6
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 43 deletions.
84 changes: 42 additions & 42 deletions assets/sass/_xfinity_standard_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-thin {
@font-face {
font-family: 'XfinityStandard';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Thin.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Thin.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Thin.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Thin.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Thin.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Thin.ttf') format('truetype');
font-weight: 100;
font-style: normal;
}
Expand All @@ -17,9 +17,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-thin-italic {
@font-face {
font-family: 'XfinityStandard';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-ThinItalic.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-ThinItalic.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-ThinItalic.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-ThinItalic.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-ThinItalic.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-ThinItalic.ttf') format('truetype');
font-weight: 100;
font-style: italic;
}
Expand All @@ -28,9 +28,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-extra-light {
@font-face {
font-family: 'XfinityStandard';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-ExtraLight.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-ExtraLight.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-ExtraLight.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-ExtraLight.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-ExtraLight.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-ExtraLight.ttf') format('truetype');
font-weight: 200;
font-style: normal;
}
Expand All @@ -39,9 +39,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-extra-light-italic {
@font-face {
font-family: 'XfinityStandard';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-ExtraLightItalic.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-ExtraLightItalic.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-ExtraLightItalic.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-ExtraLightItalic.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-ExtraLightItalic.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-ExtraLightItalic.ttf') format('truetype');
font-weight: 200;
font-style: italic;
}
Expand All @@ -50,9 +50,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-light {
@font-face {
font-family: 'XfinityStandard';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Light.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Light.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Light.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Light.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Light.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
}
Expand All @@ -61,9 +61,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-light-italic {
@font-face {
font-family: 'XfinityStandard';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-LightItalic.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-LightItalic.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-LightItalic.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-LightItalic.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-LightItalic.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-LightItalic.ttf') format('truetype');
font-weight: 300;
font-style: italic;
}
Expand All @@ -72,9 +72,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-regular {
@font-face {
font-family: 'XfinityStandard';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Regular.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Regular.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Regular.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Regular.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Regular.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
Expand All @@ -83,9 +83,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-regular-italic {
@font-face {
font-family: 'XfinityStandard';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-RegularItalic.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-RegularItalic.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-RegularItalic.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-RegularItalic.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-RegularItalic.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-RegularItalic.ttf') format('truetype');
font-weight: 400;
font-style: italic;
}
Expand All @@ -94,9 +94,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-medium {
@font-face {
font-family: 'XfinityStandard';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Medium.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Medium.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Medium.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Medium.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Medium.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}
Expand All @@ -105,9 +105,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-medium-italic {
@font-face {
font-family: 'XfinityStandard';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-MediumItalic.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-MediumItalic.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-MediumItalic.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-MediumItalic.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-MediumItalic.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-MediumItalic.ttf') format('truetype');
font-weight: 500;
font-style: italic;
}
Expand All @@ -116,9 +116,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-bold {
@font-face {
font-family: 'XfinityStandard';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Bold.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Bold.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-Bold.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Bold.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Bold.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}
Expand All @@ -127,9 +127,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-bold-italic {
@font-face {
font-family: 'XfinityStandard';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-BoldItalic.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-BoldItalic.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard/XfinityStandard-BoldItalic.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-BoldItalic.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-BoldItalic.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard/XfinityStandard-BoldItalic.ttf') format('truetype');
font-weight: 700;
font-style: italic;
}
Expand All @@ -138,9 +138,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-condensed-medium {
@font-face {
font-family: 'XfinityStandardCondensed';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard_Condensed/XfinityStandardCondensed-Medium.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard_Condensed/XfinityStandardCondensed-Medium.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard_Condensed/XfinityStandardCondensed-Medium.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard_Condensed/XfinityStandardCondensed-Medium.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard_Condensed/XfinityStandardCondensed-Medium.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard_Condensed/XfinityStandardCondensed-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}
Expand All @@ -149,9 +149,9 @@ $xfinity-standard-condensed: 'XfinityStandardCondensed', #{$xfinity-standard-fa
@mixin xfinity-standard-condensed-bold {
@font-face {
font-family: 'XfinityStandardCondensed';
src: url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard_Condensed/XfinityStandardCondensed-Bold.woff2') format('woff2'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard_Condensed/XfinityStandardCondensed-Bold.woff') format('woff'),
url('https://sdx.xfinity.com/fonts/latest/Xfinity_Standard_Condensed/XfinityStandardCondensed-Bold.ttf') format('truetype');
src: url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard_Condensed/XfinityStandardCondensed-Bold.woff2') format('woff2'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard_Condensed/XfinityStandardCondensed-Bold.woff') format('woff'),
url('https://static.cimcontent.net/fonts/latest/Xfinity_Standard_Condensed/XfinityStandardCondensed-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "all-digital",
"version": "2.1.1",
"version": "2.2.0",
"description": "CSS for All Digital",
"repository": {
"type": "git",
Expand Down

0 comments on commit ab783d6

Please sign in to comment.