-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0eaba85
commit 226bc86
Showing
2 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
// Just import the subset of icons that we use in resources/views/icons/ | ||
/* Just import the subset of icons that we use in: | ||
- resources/views/icons | ||
- resources/views/theme/script.js.phtml | ||
- resources/views/layouts/body/navbar-toggler-secondary.phtml */ | ||
import { dom, library } from '@fortawesome/fontawesome-svg-core'; | ||
import { | ||
// For resources/views/icons/* | ||
// Regular icons | ||
faCalendarDays, faUserCircle | ||
} from '@fortawesome/free-regular-svg-icons'; | ||
import { | ||
// For resources/views/icons/ (faTimes solid version is in webtrees core)* | ||
faSquarePlus, faBell, faUser | ||
// Solid icons (faTimes solid is part of webtrees core) | ||
faSquarePlus, faBell, faUser, faEllipsisVertical | ||
} from '@fortawesome/free-solid-svg-icons'; | ||
|
||
library.add( | ||
// For resources/views/icons/* | ||
faCalendarDays, faUserCircle | ||
); | ||
library.add( | ||
// For resources/views/icons/* | ||
faSquarePlus, faBell, faUser | ||
faSquarePlus, faBell, faUser, faEllipsisVertical | ||
); | ||
dom.watch(); |