Include adobe fonts css to the project

pull/1/head
Nikita Tokarchuk 3 years ago
parent a49b8b75e5
commit 320d8b0608
Signed by: mainnika
GPG Key ID: A595FB7E3E56911C
  1. 2
      package.json
  2. 18
      web/font.css
  3. 1
      web/index.js
  4. 10
      webpack.config.js

@ -10,6 +10,8 @@
}, },
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"css-loader": "^6.5.1",
"style-loader": "^3.3.1",
"webpack": "^5.63.0", "webpack": "^5.63.0",
"webpack-cli": "^4.9.1", "webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.4.0" "webpack-dev-server": "^4.4.0"

@ -0,0 +1,18 @@
/*
* The Typekit service used to deliver this font or fonts for use on websites
* is provided by Adobe and is subject to these Terms of Use
* http://www.adobe.com/products/eulas/tou_typekit. For font license
* information, see the list below.
*
* rockwell:
* - http://typekit.com/eulas/00000000000000007735bab8
*
* © 2009-2021 Adobe Systems Incorporated. All Rights Reserved.
*/
/*{"last_published":"2021-11-09 19:51:07 UTC"}*/
@font-face {
font-family:"rockwell";
src:url("https://use.typekit.net/af/ed9b67/00000000000000007735bab8/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/ed9b67/00000000000000007735bab8/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/ed9b67/00000000000000007735bab8/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:400;
}

@ -0,0 +1 @@
import "./font.css"

@ -8,5 +8,15 @@ module.exports = {
path: path.resolve(__dirname, 'out'), path: path.resolve(__dirname, 'out'),
}, },
module: { module: {
rules: [
{
test: /\.(s?css)$/,
use: [{
loader: 'style-loader'
}, {
loader: 'css-loader'
}]
},
],
}, },
}; };

Loading…
Cancel
Save