aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/plugins/fontawesome.ts
diff options
context:
space:
mode:
authorZero~Informatique2020-05-10 15:09:05 +0200
committerZero~Informatique2020-05-10 15:09:59 +0200
commitedf3dc50aad464b31e4b1f2a1a3980ca023b9588 (patch)
treee06747d07064948ac91a123118df58b69c7e9284 /viewer/src/plugins/fontawesome.ts
parent34bcf9339c86f145442b9edc799416462bf21fc5 (diff)
downloadldgallery-edf3dc50aad464b31e4b1f2a1a3980ca023b9588.tar.gz
viewer: code simplification;fontawesome import
Diffstat (limited to 'viewer/src/plugins/fontawesome.ts')
-rw-r--r--viewer/src/plugins/fontawesome.ts34
1 files changed, 2 insertions, 32 deletions
diff --git a/viewer/src/plugins/fontawesome.ts b/viewer/src/plugins/fontawesome.ts
index 886d680..25ddd99 100644
--- a/viewer/src/plugins/fontawesome.ts
+++ b/viewer/src/plugins/fontawesome.ts
@@ -21,39 +21,9 @@ import Vue from "vue";
21 21
22import { library, config } from "@fortawesome/fontawesome-svg-core"; 22import { library, config } from "@fortawesome/fontawesome-svg-core";
23import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome"; 23import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
24import { 24import * as faIcons from "./fontawesome-icons";
25 faFolder,
26 faFolderOpen,
27 faEraser,
28 faSearch,
29 faPlus,
30 faMinus,
31 faImage,
32 faHome,
33 faArrowLeft,
34 faLevelUpAlt,
35 faAngleRight,
36 faAngleDoubleLeft,
37 faFile,
38 faFileDownload,
39} from "@fortawesome/free-solid-svg-icons";
40 25
41library.add( 26library.add(faIcons);
42 faFolder,
43 faFolderOpen,
44 faEraser,
45 faSearch,
46 faPlus,
47 faMinus,
48 faImage,
49 faHome,
50 faArrowLeft,
51 faLevelUpAlt,
52 faAngleRight,
53 faAngleDoubleLeft,
54 faFile,
55 faFileDownload,
56);
57 27
58config.autoAddCss = false; 28config.autoAddCss = false;
59import "@fortawesome/fontawesome-svg-core/styles.css"; 29import "@fortawesome/fontawesome-svg-core/styles.css";