Commit 2c29ef6b authored by Carl Schwan's avatar Carl Schwan

Add noto sans downloaded directly from google font

parent 0f18486b
......@@ -11,3 +11,11 @@ $theme-colors: (
@import "includes/breeze";
@import "includes/carousel";
@import "style";
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Noto Sans'), local('NotoSans'), url(noto-sans.ttf) format('truetype');
}
......@@ -6,9 +6,6 @@ import 'bootstrap';
// Import SASS modules
import './../css/bootstrap.scss';
// Import font
import 'typeface-noto-sans-full';
// https://stackoverflow.com/questions/7717527/smooth-scrolling-when-clicking-an-anchor-link/7717572#7717572
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
if (anchor.getAttribute('href') !== '#') {
......
{
"devDependencies": {
"@openfonts/noto-sans-sc_cyrillic": "^1.0.0",
"@symfony/webpack-encore": "^0.27.0",
"bootstrap": "^4.3.1",
"jquery": "^3.4.1",
"node-sass": "^4.12.0",
"popper.js": "^1.15.0",
"sass-loader": "^7.1.0",
"typeface-noto-sans-full": "^1.0.1"
},
"scripts": {
"encore-dev": "encore dev"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment