osu-wams / osu_icon_field
Standard Drupal Installation Profile for OSU.
Package info
github.com/osu-wams/osu_icon_field
Language:JavaScript
Type:drupal-custom-module
pkg:composer/osu-wams/osu_icon_field
1.1.3
2024-08-30 22:57 UTC
Requires
None
Requires (Dev)
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Custom Drupal field for osu and fontawesome icons
Compile JS
To compile once \
npm run build
To continuously compile \
npm run watch
Icon Name updates
OSU Icon Names
To Generate a new list of OSU Icons, replace osu-icon-url with the latest url.
npm run generate-icons osu-icon-url
FA Icons
There are two lists of FA icons we need to generate, the normal solid ones and the branded ones. Replace the
<version> with the appropriate version to generate for both.
npm run generate-fa-icons https://cdnjs.cloudflare.com/ajax/libs/font-awesome/<version>/css/fontawesome.min.css
npm run generate-fa-icons https://cdnjs.cloudflare.com/ajax/libs/font-awesome/<version>/css/brands.min.css
Copy the results into the respective arrays in icon-list.js