aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/plugins')
-rw-r--r--viewer/src/plugins/fontawesome-icons.ts35
-rw-r--r--viewer/src/plugins/fontawesome.ts34
2 files changed, 37 insertions, 32 deletions
diff --git a/viewer/src/plugins/fontawesome-icons.ts b/viewer/src/plugins/fontawesome-icons.ts
new file mode 100644
index 0000000..2f45f2c
--- /dev/null
+++ b/viewer/src/plugins/fontawesome-icons.ts
@@ -0,0 +1,35 @@
1/* ldgallery - A static generator which turns a collection of tagged
2-- pictures into a searchable web gallery.
3--
4-- Copyright (C) 2019-2020 Guillaume FOUET
5--
6-- This program is free software: you can redistribute it and/or modify
7-- it under the terms of the GNU Affero General Public License as
8-- published by the Free Software Foundation, either version 3 of the
9-- License, or (at your option) any later version.
10--
11-- This program is distributed in the hope that it will be useful,
12-- but WITHOUT ANY WARRANTY; without even the implied warranty of
13-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-- GNU Affero General Public License for more details.
15--
16-- You should have received a copy of the GNU Affero General Public License
17-- along with this program. If not, see <https://www.gnu.org/licenses/>.
18*/
19
20export {
21 faFolder,
22 faFolderOpen,
23 faEraser,
24 faSearch,
25 faPlus,
26 faMinus,
27 faImage,
28 faHome,
29 faArrowLeft,
30 faLevelUpAlt,
31 faAngleRight,
32 faAngleDoubleLeft,
33 faFile,
34 faFileDownload,
35} from "@fortawesome/free-solid-svg-icons";
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";