Skip to content

osu-wams/osu_icon_field

Repository files navigation

OSU Icon Field

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