aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-icons
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-06-30 11:21:04 +0200
committerRigel Kent <par@rigelk.eu>2020-07-01 17:03:48 +0200
commitc41c0e28ed444fdb427f9803d2f123ba6f535fb9 (patch)
treec02558445dc13281a78321731061131b67253244 /client/src/app/shared/shared-icons
parent9b01cfc788a6ed525d72620da9f9e607b8d6396e (diff)
downloadPeerTube-c41c0e28ed444fdb427f9803d2f123ba6f535fb9.tar.gz
PeerTube-c41c0e28ed444fdb427f9803d2f123ba6f535fb9.tar.zst
PeerTube-c41c0e28ed444fdb427f9803d2f123ba6f535fb9.zip
switch from softies to feathericons
also organize icons in folders per origin
Diffstat (limited to 'client/src/app/shared/shared-icons')
-rw-r--r--client/src/app/shared/shared-icons/global-icon.component.ts115
1 files changed, 59 insertions, 56 deletions
diff --git a/client/src/app/shared/shared-icons/global-icon.component.ts b/client/src/app/shared/shared-icons/global-icon.component.ts
index 3de926293..75ab9e8f5 100644
--- a/client/src/app/shared/shared-icons/global-icon.component.ts
+++ b/client/src/app/shared/shared-icons/global-icon.component.ts
@@ -2,62 +2,65 @@ import { ChangeDetectionStrategy, Component, ElementRef, Input, OnInit } from '@
2import { HooksService } from '@app/core/plugins/hooks.service' 2import { HooksService } from '@app/core/plugins/hooks.service'
3 3
4const icons = { 4const icons = {
5 'add': require('!!raw-loader?!../../../assets/images/global/add.svg').default, 5 // misc icons
6 'user': require('!!raw-loader?!../../../assets/images/global/user.svg').default, 6 'npm': require('!!raw-loader?!../../../assets/images/misc/npm.svg').default,
7 'sign-out': require('!!raw-loader?!../../../assets/images/global/sign-out.svg').default, 7 'language': require('!!raw-loader?!../../../assets/images/misc/language.svg').default,
8 'syndication': require('!!raw-loader?!../../../assets/images/global/syndication.svg').default, 8 'video-lang': require('!!raw-loader?!../../../assets/images/misc/video-lang.svg').default,
9 'help': require('!!raw-loader?!../../../assets/images/global/help.svg').default, 9 'support': require('!!raw-loader?!../../../assets/images/misc/support.svg').default,
10 'sparkle': require('!!raw-loader?!../../../assets/images/global/sparkle.svg').default, 10 'robot': require('!!raw-loader?!../../../assets/images/misc/miscellaneous_services.svg').default, // material ui
11 'alert': require('!!raw-loader?!../../../assets/images/global/alert.svg').default, 11 'videos': require('!!raw-loader?!../../../assets/images/misc/video_library.svg').default, // material ui
12 'cloud-error': require('!!raw-loader?!../../../assets/images/global/cloud-error.svg').default, 12 'history': require('!!raw-loader?!../../../assets/images/misc/history.svg').default, // material ui
13 'clock': require('!!raw-loader?!../../../assets/images/global/clock.svg').default, 13 'subscriptions': require('!!raw-loader?!../../../assets/images/misc/subscriptions.svg').default, // material ui
14 'user-add': require('!!raw-loader?!../../../assets/images/global/user-add.svg').default, 14 'playlist-add': require('!!raw-loader?!../../../assets/images/misc/playlist-add.svg').default, // material ui
15 'no': require('!!raw-loader?!../../../assets/images/global/no.svg').default, 15
16 'cloud-download': require('!!raw-loader?!../../../assets/images/global/cloud-download.svg').default, 16 // feather icons
17 'undo': require('!!raw-loader?!../../../assets/images/global/undo.svg').default, 17 'flag': require('!!raw-loader?!../../../assets/images/feather/flag.svg').default,
18 'history': require('!!raw-loader?!../../../assets/images/global/history.svg').default, 18 'playlists': require('!!raw-loader?!../../../assets/images/feather/list.svg').default,
19 'circle-tick': require('!!raw-loader?!../../../assets/images/global/circle-tick.svg').default, 19 'syndication': require('!!raw-loader?!../../../assets/images/feather/syndication.svg').default,
20 'cog': require('!!raw-loader?!../../../assets/images/global/cog.svg').default, 20 'help': require('!!raw-loader?!../../../assets/images/feather/help.svg').default,
21 'download': require('!!raw-loader?!../../../assets/images/global/download.svg').default, 21 'alert': require('!!raw-loader?!../../../assets/images/feather/alert.svg').default,
22 'go': require('!!raw-loader?!../../../assets/images/menu/go.svg').default, 22 'globe': require('!!raw-loader?!../../../assets/images/feather/globe.svg').default,
23 'edit': require('!!raw-loader?!../../../assets/images/global/edit.svg').default, 23 'home': require('!!raw-loader?!../../../assets/images/feather/home.svg').default,
24 'forward': require('!!raw-loader?!../../../assets/images/global/forward.svg').default, 24 'recently-added': require('!!raw-loader?!../../../assets/images/feather/recently-added.svg').default,
25 'delete': require('!!raw-loader?!../../../assets/images/global/delete.svg').default, 25 'trending': require('!!raw-loader?!../../../assets/images/feather/trending.svg').default,
26 'server': require('!!raw-loader?!../../../assets/images/global/server.svg').default, 26 'search': require('!!raw-loader?!../../../assets/images/feather/search.svg').default,
27 'cross': require('!!raw-loader?!../../../assets/images/global/cross.svg').default, 27 'upload': require('!!raw-loader?!../../../assets/images/feather/upload.svg').default,
28 'validate': require('!!raw-loader?!../../../assets/images/global/validate.svg').default, 28 'dislike': require('!!raw-loader?!../../../assets/images/feather/dislike.svg').default,
29 'tick': require('!!raw-loader?!../../../assets/images/global/tick.svg').default, 29 'like': require('!!raw-loader?!../../../assets/images/feather/like.svg').default,
30 'repeat': require('!!raw-loader?!../../../assets/images/global/repeat.svg').default, 30 'no': require('!!raw-loader?!../../../assets/images/feather/no.svg').default,
31 'inbox-full': require('!!raw-loader?!../../../assets/images/global/inbox-full.svg').default, 31 'cloud-download': require('!!raw-loader?!../../../assets/images/feather/cloud-download.svg').default,
32 'dislike': require('!!raw-loader?!../../../assets/images/video/dislike.svg').default, 32 'clock': require('!!raw-loader?!../../../assets/images/feather/clock.svg').default,
33 'support': require('!!raw-loader?!../../../assets/images/video/support.svg').default, 33 'cog': require('!!raw-loader?!../../../assets/images/feather/cog.svg').default,
34 'like': require('!!raw-loader?!../../../assets/images/video/like.svg').default, 34 'delete': require('!!raw-loader?!../../../assets/images/feather/delete.svg').default,
35 'more-horizontal': require('!!raw-loader?!../../../assets/images/global/more-horizontal.svg').default, 35 'inbox-full': require('!!raw-loader?!../../../assets/images/feather/inbox-full.svg').default,
36 'more-vertical': require('!!raw-loader?!../../../assets/images/global/more-vertical.svg').default, 36 'sign-out': require('!!raw-loader?!../../../assets/images/feather/log-out.svg').default,
37 'share': require('!!raw-loader?!../../../assets/images/video/share.svg').default, 37 'download': require('!!raw-loader?!../../../assets/images/feather/download.svg').default,
38 'upload': require('!!raw-loader?!../../../assets/images/video/upload.svg').default, 38 'ownership-change': require('!!raw-loader?!../../../assets/images/feather/share.svg').default,
39 'playlist-add': require('!!raw-loader?!../../../assets/images/video/playlist-add.svg').default, 39 'share': require('!!raw-loader?!../../../assets/images/feather/share-2.svg').default,
40 'play': require('!!raw-loader?!../../../assets/images/global/play.svg').default, 40 'channel': require('!!raw-loader?!../../../assets/images/feather/tv.svg').default,
41 'playlists': require('!!raw-loader?!../../../assets/images/global/playlists.svg').default, 41 'user': require('!!raw-loader?!../../../assets/images/feather/user.svg').default,
42 'globe': require('!!raw-loader?!../../../assets/images/menu/globe.svg').default, 42 'users': require('!!raw-loader?!../../../assets/images/feather/users.svg').default,
43 'home': require('!!raw-loader?!../../../assets/images/menu/home.svg').default, 43 'user-add': require('!!raw-loader?!../../../assets/images/feather/user-plus.svg').default,
44 'recently-added': require('!!raw-loader?!../../../assets/images/menu/recently-added.svg').default, 44 'server': require('!!raw-loader?!../../../assets/images/feather/server.svg').default,
45 'trending': require('!!raw-loader?!../../../assets/images/menu/trending.svg').default, 45 'add': require('!!raw-loader?!../../../assets/images/feather/plus-circle.svg').default,
46 'video-lang': require('!!raw-loader?!../../../assets/images/global/video-lang.svg').default, 46 'cloud-error': require('!!raw-loader?!../../../assets/images/feather/cloud-off.svg').default,
47 'videos': require('!!raw-loader?!../../../assets/images/global/videos.svg').default, 47 'undo': require('!!raw-loader?!../../../assets/images/feather/corner-up-left.svg').default,
48 'folder': require('!!raw-loader?!../../../assets/images/global/folder.svg').default, 48 'circle-tick': require('!!raw-loader?!../../../assets/images/feather/check-circle.svg').default,
49 'subscriptions': require('!!raw-loader?!../../../assets/images/menu/subscriptions.svg').default, 49 'more-horizontal': require('!!raw-loader?!../../../assets/images/feather/more-horizontal.svg').default,
50 'language': require('!!raw-loader?!../../../assets/images/menu/language.svg').default, 50 'more-vertical': require('!!raw-loader?!../../../assets/images/feather/more-vertical.svg').default,
51 'unsensitive': require('!!raw-loader?!../../../assets/images/menu/eye.svg').default, 51 'play': require('!!raw-loader?!../../../assets/images/feather/play.svg').default,
52 'sensitive': require('!!raw-loader?!../../../assets/images/menu/eye-closed.svg').default, 52 'p2p': require('!!raw-loader?!../../../assets/images/feather/airplay.svg').default,
53 'p2p': require('!!raw-loader?!../../../assets/images/menu/p2p.svg').default, 53 'fullscreen': require('!!raw-loader?!../../../assets/images/feather/maximize.svg').default,
54 'users': require('!!raw-loader?!../../../assets/images/global/users.svg').default, 54 'exit-fullscreen': require('!!raw-loader?!../../../assets/images/feather/minimize.svg').default,
55 'search': require('!!raw-loader?!../../../assets/images/global/search.svg').default, 55 'film': require('!!raw-loader?!../../../assets/images/feather/film.svg').default,
56 'refresh': require('!!raw-loader?!../../../assets/images/global/refresh.svg').default, 56 'edit': require('!!raw-loader?!../../../assets/images/feather/edit-2.svg').default,
57 'npm': require('!!raw-loader?!../../../assets/images/global/npm.svg').default, 57 'sensitive': require('!!raw-loader?!../../../assets/images/feather/eye.svg').default,
58 'fullscreen': require('!!raw-loader?!../../../assets/images/global/fullscreen.svg').default, 58 'unsensitive': require('!!raw-loader?!../../../assets/images/feather/eye-off.svg').default,
59 'exit-fullscreen': require('!!raw-loader?!../../../assets/images/global/exit-fullscreen.svg').default, 59 'refresh': require('!!raw-loader?!../../../assets/images/feather/refresh-cw.svg').default,
60 'robot': require('!!raw-loader?!../../../assets/images/global/robot.svg').default 60 'go': require('!!raw-loader?!../../../assets/images/feather/arrow-up-right.svg').default,
61 'cross': require('!!raw-loader?!../../../assets/images/feather/x.svg').default,
62 'tick': require('!!raw-loader?!../../../assets/images/feather/check.svg').default,
63 'repeat': require('!!raw-loader?!../../../assets/images/feather/repeat.svg').default
61} 64}
62 65
63export type GlobalIconName = keyof typeof icons 66export type GlobalIconName = keyof typeof icons