57 lines
2.2 KiB
SCSS
57 lines
2.2 KiB
SCSS
$font: "Ubuntu", Helvetica, Arial, sans-serif;
|
|
|
|
/*
|
|
* Roots Fonts Setup
|
|
* https://roots.io/sage/docs/fonts-setup/
|
|
*
|
|
* Self-Hosted Google Fonts (Ubuntu Demo)
|
|
* https://gwfh.mranftl.com/fonts/ubuntu?subsets=latin
|
|
*
|
|
* Add the font to your Tailwind config
|
|
* tailwind.config.cjs
|
|
*
|
|
* Configure theme.json to use the font with Bud
|
|
*/
|
|
|
|
/* stylelint-disable */
|
|
|
|
/* ubuntu-regular - latin */
|
|
@font-face {
|
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
|
font-family: 'Ubuntu';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('../fonts/ubuntu-v20-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
|
|
url('../fonts/ubuntu-v20-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
|
}
|
|
|
|
/* ubuntu-italic - latin */
|
|
@font-face {
|
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
|
font-family: 'Ubuntu';
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
src: url('../fonts/ubuntu-v20-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
|
|
url('../fonts/ubuntu-v20-latin-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
|
}
|
|
|
|
/* ubuntu-700 - latin */
|
|
@font-face {
|
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
|
font-family: 'Ubuntu';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: url('../fonts/ubuntu-v20-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
|
|
url('../fonts/ubuntu-v20-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
|
}
|
|
|
|
/* ubuntu-700italic - latin */
|
|
@font-face {
|
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
|
font-family: 'Ubuntu';
|
|
font-style: italic;
|
|
font-weight: 700;
|
|
src: url('../fonts/ubuntu-v20-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
|
|
url('../fonts/ubuntu-v20-latin-700italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
|
|
}
|