docs/assets/images/octicons
Vanessa Yuen 3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00
..
README.md Hello git history spelunker! 2020-09-27 14:10:11 +02:00
hamburger.svg Hello git history spelunker! 2020-09-27 14:10:11 +02:00
kebab-horizontal.svg Hello git history spelunker! 2020-09-27 14:10:11 +02:00
kebab-vertical.svg Hello git history spelunker! 2020-09-27 14:10:11 +02:00
project.svg Hello git history spelunker! 2020-09-27 14:10:11 +02:00
search.svg Hello git history spelunker! 2020-09-27 14:10:11 +02:00
x.svg Hello git history spelunker! 2020-09-27 14:10:11 +02:00

README.md

Importing Aftermarket Octicons

Background

Some octicons are missing from the project's current version of the octicons gem. Because this project is being replaced soon and updating octicons would require significant changes, new octicons should be added manually as needed, via the following process:

How to add

  1. Locate the missing octicon .svg in primer/octions and download it to your local app/assets/images/octions folder
  2. Add a line to app/assets/stylesheets/shared/_octicons.scss for the new octicon, like so:
.octicon-<YOUR OCTICON NAME>:before {
  content: url("#{$new-octicons-path}/<YOUR OCTICON FILENAME>.svg")
}

You may now use the new octicon in your content as normal! 🎉