@fontsource/open-sans
Version:
Self-host the Open Sans font in a neatly bundled NPM package.
55 lines (48 loc) • 1.73 kB
CSS
/* open-sans-greek-ext-300-normal*/
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: swap;
font-weight: 300;
src: url('./files/open-sans-greek-ext-300-normal.woff2') format('woff2'), url('./files/open-sans-greek-ext-300-normal.woff') format('woff');
}
/* open-sans-greek-ext-400-normal*/
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: swap;
font-weight: 400;
src: url('./files/open-sans-greek-ext-400-normal.woff2') format('woff2'), url('./files/open-sans-greek-ext-400-normal.woff') format('woff');
}
/* open-sans-greek-ext-500-normal*/
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: swap;
font-weight: 500;
src: url('./files/open-sans-greek-ext-500-normal.woff2') format('woff2'), url('./files/open-sans-greek-ext-500-normal.woff') format('woff');
}
/* open-sans-greek-ext-600-normal*/
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: swap;
font-weight: 600;
src: url('./files/open-sans-greek-ext-600-normal.woff2') format('woff2'), url('./files/open-sans-greek-ext-600-normal.woff') format('woff');
}
/* open-sans-greek-ext-700-normal*/
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: swap;
font-weight: 700;
src: url('./files/open-sans-greek-ext-700-normal.woff2') format('woff2'), url('./files/open-sans-greek-ext-700-normal.woff') format('woff');
}
/* open-sans-greek-ext-800-normal*/
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-display: swap;
font-weight: 800;
src: url('./files/open-sans-greek-ext-800-normal.woff2') format('woff2'), url('./files/open-sans-greek-ext-800-normal.woff') format('woff');
}