Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Latest commit

 

History

History
56 lines (40 loc) · 2.71 KB

README.md

File metadata and controls

56 lines (40 loc) · 2.71 KB

High level explanation for FDS Icons

  • All of our FDS Icons reflect a set of Icons that CB Insights designers have in their system. We do not accept any other outside icons.
  • These Icons live in closed source Sketch file that can only be accessed by CB Insights employees.

Making requests to add new icons to Abstract

Requesting icons be to FDS (for CB Insights employees)

Most of you will want to request the icons be added to FDS rather than doing it yourselves:

Actually adding Icons to FDS

To regenerate the icons, you must

  1. Be a CB Insights employee and request access to this Abstract Project
  2. Ensure you have Sketch installed.
  3. Ensure the sketchtool binary is in your PATH:
## bash
export SKETCHTOOL_PATH="/Applications/Sketch.app/Contents/Resources/sketchtool/bin"
export PATH=$PATH:SKETCHTOOL_PATH
## fish
set -U /Applications/Sketch.app/Contents/Resources/sketchtool/bin $fish_user_paths
  1. Ensure you have the Abstract Desktop App
  2. In Abstract Desktop app in the sidebar, select FDS --> Master in the sidebar
  3. Click on Files in the main screen
  4. Right click on the UI Platform Icons.sketch file
  5. Click "Export" and save it somewhere easy to remember. You'll need the path to this file in the next step.
  6. Run the following in the root of FDS:
yarn icons:export <path to sketch file>
  1. In general (if everything seems fine) you'll commit all the new files that were generated.
  2. You can view icons in storybook to verify your icons were generated correctly.

Note: Icons follow general SEMVER rules (adding an icon is a minor update, removing an icon is a major update).

Known issues
  • Icons should be contained in exportable artboards
  • Icon artboards should be named with prefix icon/
  • No two icons should be named the same thing. The export script will helpfully throw an error if any duplicates are detected.