82 lines
1.9 KiB
CSS
82 lines
1.9 KiB
CSS
/*
|
|
Open Sans — Self-hosted @font-face declarations
|
|
Weights used by Soft UI Dashboard: 300 (light), 400 (regular), 600 (semibold), 700 (bold)
|
|
|
|
Font files must be placed at: public/assets/fonts/open-sans/
|
|
See INIT.md Step 2 for how to obtain the font files.
|
|
|
|
File naming expected:
|
|
open-sans-300.woff2
|
|
open-sans-300italic.woff2
|
|
open-sans-400.woff2
|
|
open-sans-400italic.woff2
|
|
open-sans-600.woff2
|
|
open-sans-600italic.woff2
|
|
open-sans-700.woff2
|
|
open-sans-700italic.woff2
|
|
*/
|
|
|
|
@font-face {
|
|
font-family: 'Open Sans';
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
font-display: swap;
|
|
src: url('../fonts/open-sans/open-sans-300.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Open Sans';
|
|
font-style: italic;
|
|
font-weight: 300;
|
|
font-display: swap;
|
|
src: url('../fonts/open-sans/open-sans-300italic.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Open Sans';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url('../fonts/open-sans/open-sans-400.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Open Sans';
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url('../fonts/open-sans/open-sans-400italic.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Open Sans';
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
src: url('../fonts/open-sans/open-sans-600.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Open Sans';
|
|
font-style: italic;
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
src: url('../fonts/open-sans/open-sans-600italic.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Open Sans';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
src: url('../fonts/open-sans/open-sans-700.woff2') format('woff2');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Open Sans';
|
|
font-style: italic;
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
src: url('../fonts/open-sans/open-sans-700italic.woff2') format('woff2');
|
|
}
|