Skip to content

Commit

Permalink
Switch from unpkg to jsdelivr. Unpkg has been unreliable
Browse files Browse the repository at this point in the history
  • Loading branch information
mayo committed Sep 18, 2024
1 parent 5a54820 commit fca054f
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions sass/media/css/_plex.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
font-family: 'IBM Plex Sans Condensed';
font-style: normal;
font-weight: 600;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Sans-Condensed/fonts/complete/woff2/IBMPlexSansCondensed-SemiBold.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Sans-Condensed/fonts/complete/woff2/IBMPlexSansCondensed-SemiBold.woff2') format('woff2');
}

/* serif */
Expand All @@ -18,47 +18,47 @@
// font-family: 'IBM Plex Serif';
// font-style: normal;
// font-weight: 400;
// src: url('//unpkg.com/@ibm/plex/IBM-Plex-Serif/fonts/complete/woff2/IBMPlexSerif-Regular.woff2') format('woff2');
// src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Serif/fonts/complete/woff2/IBMPlexSerif-Regular.woff2') format('woff2');
// }

// @font-face {
// font-display: swap;
// font-family: 'IBM Plex Serif';
// font-style: italic;
// font-weight: 400;
// src: url('//unpkg.com/@ibm/plex/IBM-Plex-Serif/fonts/complete/woff2/IBMPlexSerif-RegularItalic.woff2') format('woff2');
// src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Serif/fonts/complete/woff2/IBMPlexSerif-RegularItalic.woff2') format('woff2');
// }

@font-face {
font-display: swap;
font-family: 'IBM Plex Serif';
font-style: normal;
font-weight: 450;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Serif/fonts/complete/woff2/IBMPlexSerif-Text.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Serif/fonts/complete/woff2/IBMPlexSerif-Text.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Serif';
font-style: italic;
font-weight: 450;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Serif/fonts/complete/woff2/IBMPlexSerif-TextItalic.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Serif/fonts/complete/woff2/IBMPlexSerif-TextItalic.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Serif';
font-style: normal;
font-weight: 700;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Serif/fonts/complete/woff2/IBMPlexSerif-Bold.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Serif/fonts/complete/woff2/IBMPlexSerif-Bold.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Serif';
font-style: italic;
font-weight: 700;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Serif/fonts/complete/woff2/IBMPlexSerif-BoldItalic.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Serif/fonts/complete/woff2/IBMPlexSerif-BoldItalic.woff2') format('woff2');
}

/* sans */
Expand All @@ -68,71 +68,71 @@
font-family: 'IBM Plex Sans';
font-style: normal;
font-weight: 300;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-Light.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-Light.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Sans';
font-style: normal;
font-weight: 400;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-Regular.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-Regular.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Sans';
font-style: italic;
font-weight: 400;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-Italic.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-Italic.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Sans';
font-style: normal;
font-weight: 450;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-Text.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-Text.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Sans';
font-style: italic;
font-weight: 450;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-TextItalic.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-TextItalic.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Sans';
font-style: normal;
font-weight: 600;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-SemiBold.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-SemiBold.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Sans';
font-style: italic;
font-weight: 600;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-SemiBoldItalic.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-SemiBoldItalic.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Sans';
font-style: normal;
font-weight: 700;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-Bold.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-Bold.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Sans';
font-style: italic;
font-weight: 700;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-BoldItalic.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Sans/fonts/complete/woff2/IBMPlexSans-BoldItalic.woff2') format('woff2');
}

/* mono */
Expand All @@ -142,31 +142,31 @@
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 400;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Mono/fonts/complete/woff2/IBMPlexMono-Regular.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Mono/fonts/complete/woff2/IBMPlexMono-Regular.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 400;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Mono/fonts/complete/woff2/IBMPlexMono-Italic.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Mono/fonts/complete/woff2/IBMPlexMono-Italic.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 700;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Mono/fonts/complete/woff2/IBMPlexMono-Bold.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Mono/fonts/complete/woff2/IBMPlexMono-Bold.woff2') format('woff2');
}

@font-face {
font-display: swap;
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 700;
src: url('//unpkg.com/@ibm/plex/IBM-Plex-Mono/fonts/complete/woff2/IBMPlexMono-BoldItalic.woff2') format('woff2');
src: url('//cdn.jsdelivr.net/gh/ibm/plex/IBM-Plex-Mono/fonts/complete/woff2/IBMPlexMono-BoldItalic.woff2') format('woff2');
}

/*
Expand Down

0 comments on commit fca054f

Please sign in to comment.