@fontsource/ubuntu
Version:
Self-host the Ubuntu font in a neatly bundled NPM package.
35 lines (32 loc) • 1.12 kB
CSS
/* ubuntu-cyrillic-ext-300-normal */
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-display: swap;
font-weight: 300;
src: url(./files/ubuntu-cyrillic-ext-300-normal.woff2) format('woff2'), url(./files/ubuntu-cyrillic-ext-300-normal.woff) format('woff');
}
/* ubuntu-cyrillic-ext-400-normal */
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-display: swap;
font-weight: 400;
src: url(./files/ubuntu-cyrillic-ext-400-normal.woff2) format('woff2'), url(./files/ubuntu-cyrillic-ext-400-normal.woff) format('woff');
}
/* ubuntu-cyrillic-ext-500-normal */
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-display: swap;
font-weight: 500;
src: url(./files/ubuntu-cyrillic-ext-500-normal.woff2) format('woff2'), url(./files/ubuntu-cyrillic-ext-500-normal.woff) format('woff');
}
/* ubuntu-cyrillic-ext-700-normal */
@font-face {
font-family: 'Ubuntu';
font-style: normal;
font-display: swap;
font-weight: 700;
src: url(./files/ubuntu-cyrillic-ext-700-normal.woff2) format('woff2'), url(./files/ubuntu-cyrillic-ext-700-normal.woff) format('woff');
}