1 | ## CORE Icons ![npm](https://img.shields.io/npm/v/@procore/core-icons.svg) ![npm](https://img.shields.io/npm/dt/@procore/core-icons.svg)
|
2 |
|
3 | A set of SVGs turned into a web compatible `@font-face`.
|
4 |
|
5 | ## Requirements
|
6 |
|
7 | Node 6+
|
8 | NPM or Yarn
|
9 |
|
10 | ## Developing
|
11 |
|
12 | To get started, type the following from the root directory:
|
13 |
|
14 | ```
|
15 | yarn
|
16 | yarn dev
|
17 | ```
|
18 |
|
19 | ## Building
|
20 |
|
21 | ```
|
22 | yarn build
|
23 | ```
|
24 |
|
25 | ## Updating in [IcoMoon](https://icomoon.io/)
|
26 |
|
27 | 1. Name icons according to the following naming convention:
|
28 |
|
29 | ```
|
30 | tool-?[name]-[shape]-[o]-[direction]
|
31 | ```
|
32 |
|
33 | 2. Select the entire font set and select "Generate Font"
|
34 |
|
35 | 3. Download the font archive
|
36 |
|
37 | 4. If icons have not yet been updated in the current prerelease, the `src/selection-old.json` file must be replaced with the `src/selection.json`. Otherwise nothing needs to be done on this step.
|
38 |
|
39 | 5. Extract the downloaded font archive contents into the `src` folder, overwriting the existing files.
|
40 |
|
41 | 6. Check on localhost that the icons appear on the Icons docs
|
42 |
|
43 | ## Contributing
|
44 |
|
45 | Bug reports and pull requests are welcome on GitHub at https://github.com/procore/core. This project is
|
46 | intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the
|
47 | [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
48 |
|
49 | ## License
|
50 |
|
51 | The package is available under the [Procore Developers License](https://developers.procore.com/terms_and_conditions)
|
52 |
|
53 | ## About Procore
|
54 |
|
55 | <img
|
56 | src="https://www.procore.com/images/procore_logo.png"
|
57 | alt="Procore Logo"
|
58 | width="250px"
|
59 | />
|
60 |
|
61 | CORE Icons is maintained by Procore Technologies.
|
62 |
|
63 | Procore - building the software that builds the world.
|
64 |
|
65 | Learn more about the #1 most widely used construction management software at [procore.com](https://www.procore.com/)
|