Skip to content

Commit

Permalink
Move font to /font folderr, let sass generate css instead of fantasticon
Browse files Browse the repository at this point in the history
  • Loading branch information
Studio384 committed Oct 20, 2022
1 parent 496b10c commit b5a65a9
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 1,501 deletions.
20 changes: 10 additions & 10 deletions .fantasticonrc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
"use strict";

const codepoints = require("./dist/valkyrie.json");
const codepoints = require("./font/valkyrie.json");

module.exports = {
inputDir: "./icons",
outputDir: "./dist",
outputDir: "./font",
fontTypes: ["woff", "woff2"],
assetTypes: ["css", "scss", "html", "json"],
assetTypes: ["scss", "html", "json"],
fontsUrl: "./fonts",
name: "Valkyrie",
prefix: "vi",
Expand All @@ -19,13 +19,13 @@ module.exports = {
scss: "./templates/css.hbs",
},
pathOptions: {
eot: "./dist/fonts/Valkyrie.eot",
ttf: "./dist/fonts/Valkyrie.ttf",
woff: "./dist/fonts/Valkyrie.woff",
woff2: "./dist/fonts/Valkyrie.woff2",
css: "./dist/Valkyrie.css",
scss: "./dist/Valkyrie.scss",
eot: "./font/fonts/Valkyrie.eot",
ttf: "./font/fonts/Valkyrie.ttf",
woff: "./font/fonts/Valkyrie.woff",
woff2: "./font/fonts/Valkyrie.woff2",
css: "./font/Valkyrie.css",
scss: "./font/Valkyrie.scss",
html: "./docs/index.html",
json: "./dist/valkyrie.json",
json: "./font/valkyrie.json",
},
};
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/node_modules
/dist/cjs
/dist/esm
/dist
Loading

0 comments on commit b5a65a9

Please sign in to comment.