1.7.1 • Published 6 years ago

openshift-logos-icon v1.7.1

Weekly downloads
1,753
License
Apache-2.0
Repository
github
Last release
6 years ago

OpenShift Logos Icon Font

To view a list of all the glyphs in the font along with their codes/ligatures visit:

https://rawgit.com/openshift/openshift-logos-icon/master/demo.html

Contributing

Getting Started

Development dependencies are managed using NPM; therefore, NPM is required.

npm install

Modifying Font Files

The font files are generated using IcoMoon.

Go to Manage Projects

image

Import the project selection.json and Load it:

image

To add new icons to the set, click on the right-hand kabob menu and select “Import To Set”.

image

Move the newly added icon(s) to the end of the list (by default, icomoon adds them to the beginning). This prevents the re-indexing of all icons, thus reducing the diff in selection.json.

Ensure the new icons you added are selected.

Generate the font files by clicking on the “Generate Font” button at the bottom of the page:

image

In that same location, click on the “Download” button. This will download a zip file. Expand the zip file and copy the following (overwriting your existing files):

  • demo-files
  • demo.html
  • fonts
  • selection.json

Update less/variables.less and less/openshift-logos-icon.less with your new icons.

Run a build.

Building

Builds are done via Grunt.

grunt

Releasing

To release a new version version, edit bower.json and package.json accordingly.

Update the version listed in bower.json by editing the file and changing the line:

"version": "<new_version>"

Update the version listed in package.json by editing the file and changing the line:

"version": "<new_version>"

Commit the version bump:

git commit -a -m "Version bump to <new_version>"

Tag and push upstream (assuming you have commit access):

git tag <new_version>
git push && git push --tags

The Bower package manager determines available versions and installs based upon git tags, so the new version will now be automatically available via Bower.

To publish a new version to npm, execute:

npm publish
1.7.1

6 years ago

1.7.0

6 years ago

1.6.0

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago