-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.fantasticonrc.cjs
40 lines (40 loc) · 1.17 KB
/
.fantasticonrc.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
module.exports = {
inputDir: "./public/assets/images/icons/",
outputDir: "./public/assets/fonts",
fontTypes: ["ttf", "woff", "woff2"],
assetTypes: ["ts", "json", "scss"],
fontsUrl: "/assets/fonts",
formatOptions: {
svg: {
metadata: {
Company: "Griffin Web Studio Limited",
},
},
json: {
indent: 2,
},
ts: {
types: ["enum", "constant", "literalId", "literalKey"],
enumName: "gwsIconsEnum",
constantName: "gwsIcons",
literalIdName: "gwsIconID",
literalKeyName: "gwsIconKey",
},
},
pathOptions: {
ts: "./src/types/icon-types.ts",
json: "./public/assets/fonts/icon.json",
scss: "./src/styles/sass/base/_icons.scss",
},
fontHeight: 600,
descent: 40,
normalize: true,
tag: "",
prefix: "icon",
templates: {
sass: "./src/embed-assets/templates-icons/sass.hbs",
css: "./src/embed-assets/templates-icons/css.hbs",
html: "./src/embed-assets/templates-icons/html.hbs",
scss: "./src/embed-assets/templates-icons/scss.hbs",
},
};