Skip to content

Commit 28ba724

Browse files
author
Jens van Hellemondt
committed
♻️ removed not (in scaffold) used icons
1 parent 655ec10 commit 28ba724

1 file changed

Lines changed: 4 additions & 135 deletions

File tree

generator/templates/Default/src/plugins/vuetify/FontawesomePro.js

Lines changed: 4 additions & 135 deletions
Original file line numberDiff line numberDiff line change
@@ -4,104 +4,59 @@ import { faTimes } from '@fortawesome/pro-light-svg-icons';
44
import {
55
faArrowsAltV,
66
faBars,
7-
faBell,
8-
faBirthdayCake,
9-
faBriefcase,
10-
faBuilding,
11-
faBusinessTime,
12-
faCalendarAlt,
13-
faCar,
147
faCaretDown,
15-
faChartBar,
168
faCheck,
179
faCheckCircle,
18-
faChevronDown,
19-
faChevronLeft,
20-
faChevronRight,
2110
faCircle,
22-
faClock,
23-
faCog,
2411
faDotCircle,
25-
faEnvelope,
2612
faExclamation,
2713
faExclamationTriangle,
28-
faEye,
29-
faEyeSlash,
30-
faFax,
3114
faFile,
3215
faFileExcel,
3316
faFilePdf,
3417
faFilePowerpoint,
3518
faFileVideo,
3619
faFileWord,
37-
faFilter,
38-
faFolder,
39-
faFolderOpen,
40-
faGenderless,
41-
faGlobeEurope,
42-
faHandshake,
43-
faHome,
44-
faHourglassHalf,
4520
faInfoCircle,
46-
faList,
47-
faMapMarkerAlt,
48-
faMars,
4921
faMinus,
5022
faPaperclip,
5123
faPencilAlt,
52-
faPhone,
5324
faPlus,
54-
faQuestionCircle,
55-
faSearch,
5625
faSortUp,
5726
faSquare,
5827
faStepBackward,
5928
faStepForward,
6029
faSync,
61-
faTrain,
62-
faUpload,
6330
faUser,
6431
faUsers,
65-
faUserUnlock,
66-
faVenus,
6732
} from '@fortawesome/pro-regular-svg-icons';
6833

6934
import {
7035
faCheckSquare,
71-
faEllipsisV,
72-
faHexagon,
73-
faLockAlt,
7436
faMinusSquare,
7537
faStar,
7638
faStarHalf,
77-
faTriangle,
78-
faUnlockAlt,
7939
} from '@fortawesome/pro-solid-svg-icons';
8040

8141
library.add(
8242
faTimes,
43+
faCheck,
44+
faCheckCircle,
8345
faCheckSquare,
8446
faMinusSquare,
8547
faCircle,
8648
faStar,
8749
faStarHalf,
88-
faCheck,
89-
faCheckCircle,
9050
faInfoCircle,
9151
faExclamation,
9252
faExclamationTriangle,
93-
faChevronLeft,
94-
faChevronRight,
9553
faSquare,
9654
faSortUp,
97-
faChevronDown,
9855
faBars,
9956
faCaretDown,
10057
faCaretDown,
10158
faDotCircle,
102-
faCircle,
10359
faPencilAlt,
104-
faStar,
10560
faSync,
10661
faStepBackward,
10762
faStepForward,
@@ -110,50 +65,13 @@ library.add(
11065
faPlus,
11166
faMinus,
11267
faUser,
113-
faCog,
114-
faHome,
115-
faHandshake,
116-
faBusinessTime,
11768
faUsers,
118-
faBriefcase,
119-
faChartBar,
120-
faUpload,
12169
faFile,
12270
faFileVideo,
12371
faFileWord,
12472
faFileExcel,
12573
faFilePowerpoint,
12674
faFilePdf,
127-
faTriangle,
128-
faHexagon,
129-
faBell,
130-
faSearch,
131-
faCar,
132-
faTrain,
133-
faPhone,
134-
faEnvelope,
135-
faFax,
136-
faGlobeEurope,
137-
faMapMarkerAlt,
138-
faCalendarAlt,
139-
faClock,
140-
faList,
141-
faBirthdayCake,
142-
faHourglassHalf,
143-
faQuestionCircle,
144-
faEllipsisV,
145-
faEye,
146-
faEyeSlash,
147-
faFolder,
148-
faFolderOpen,
149-
faGenderless,
150-
faMars,
151-
faVenus,
152-
faFilter,
153-
faUserUnlock,
154-
faBuilding,
155-
faLockAlt,
156-
faUnlockAlt,
15775
);
15876

15977
const icons = {
@@ -193,67 +111,18 @@ const icons = {
193111
minus: ['far', 'minus'],
194112
/*custom icons*/
195113

196-
profile: ['far', 'user'],
197-
settings: ['far', 'cog'],
198-
home: ['far', 'home'],
199-
notifications: ['far', 'bell'],
200-
search: ['far', 'search'],
201-
birthday: ['far', 'birthday-cake'],
202-
invited: ['far', 'hourglass-half'],
203-
unknown: ['far', 'question-circle'],
204-
fabDots: ['fas', 'ellipsis-v'],
114+
user: ['far', 'user'],
115+
users: ['far', 'users'],
205116
visible: ['far', 'eye'],
206117
invisible: ['far', 'eye-slash'],
207-
filter: ['far', 'filter'],
208-
209-
vacancy: ['far', 'handshake'],
210-
shift: ['far', 'business-time'],
211-
candidate: ['far', 'users'],
212-
employer: ['far', 'briefcase'],
213-
report: ['far', 'chart-bar'],
214-
role: ['far', 'user-unlock'],
215-
location: ['far', 'building'],
216-
department: ['far', 'building'],
217-
position: ['far', 'briefcase'],
218-
219-
upload: ['far', 'upload'],
220118
fileUnknown: ['far', 'file'],
221119
fileVideo: ['far', 'file-video'],
222120
fileWord: ['far', 'file-word'],
223121
fileExcel: ['far', 'file-excel'],
224122
filePowerpoint: ['far', 'file-powerpoint'],
225123
filePdf: ['far', 'file-pdf'],
226-
folderOpen: ['far', 'folder-open'],
227-
folderClosed: ['far', 'folder'],
228-
229-
triangle: ['fas', 'triangle'],
230-
hexagon: ['fas', 'hexagon'],
231-
232-
car: ['far', 'car'],
233-
train: ['far', 'train'],
234-
235-
phone: ['far', 'phone'],
236-
email: ['far', 'envelope'],
237-
fax: ['far', 'fax'],
238-
website: ['far', 'globe-europe'],
239-
address: ['far', 'map-marker-alt'],
240-
241-
date: ['far', 'calendar-alt'],
242-
time: ['far', 'clock'],
243-
244-
viewList: ['far', 'list'],
245-
viewCalendar: ['far', 'calendar-alt'],
246-
viewChart: ['far', 'chart-bar'],
247-
248-
genderUnknown: ['far', 'genderless'],
249-
genderMale: ['far', 'mars'],
250-
genderFemale: ['far', 'venus'],
251-
252-
lock: ['fas', 'lock-alt'],
253-
unlock: ['fas', 'unlock-alt'],
254124
};
255125

256-
257126
export default {
258127
values: Object.fromEntries(Object.entries(icons).map(([key, icon]) => [key, {
259128
component: FontAwesomeIcon,

0 commit comments

Comments
 (0)