-
Notifications
You must be signed in to change notification settings - Fork 26
Setup
Ryan Johnson edited this page May 3, 2018
·
7 revisions
- Clone the
master
branchgit clone [email protected]:rackerlabs/helix-ui.git
- Install a Node version manager
- Install Node
- From the root of the project, run...
-
nodenv:
nodenv install
-
nvm:
nvm install $(cat .node-version)
-
nodenv:
- From the root of the project, run...
- Install
yarn
yarn install
- Follow instructions in Developer Setup
- Install wget
- Install/Update java
- Clone the
art
branchgit clone -b art [email protected]:rackerlabs/helix-ui.git
- Install Sketch version 47 or later
- Install the SVGO Compressor Sketch plugin
NOTE: It seems that version 1.4.1 doesn't work with the latest Sketch. Looking at updates across BohemianCoding github projects and their beta release, they may be adding SVGO functionality into Sketch 50.
- With Sketch open, go to Plugins > SVGO Compressor > About SVGO Compressor
- In the modal that appears, click Edit SVGO Settings....
- This should open the configuration file in a text editor.
- Update "plugins" with the configuration shown below.
- Save and close the configuration.
SVGO "plugins" configuration
{
"plugins": [
{ "name": "cleanupIDs" },
{ "name": "cleanupListOfValues" },
{ "name": "cleanupNumericValues" },
{ "name": "collapseGroups" },
{ "name": "convertColors" },
{ "name": "convertPathData" },
{ "name": "convertShapeToPath" },
{ "name": "convertStyleToAttrs" },
{ "name": "convertTransform" },
{ "name": "mergePaths" },
{ "name": "minifyStyles" },
{ "name": "removeComments" },
{ "name": "removeDesc", "params": { "removeAny": true } },
{ "name": "removeDimensions" },
{ "name": "removeDoctype" },
{ "name": "removeEditorsNSData" },
{ "name": "removeEmptyAttrs" },
{ "name": "removeEmptyContainers" },
{ "name": "removeEmptyText" },
{ "name": "removeHiddenElems" },
{ "name": "removeMetadata" },
{ "name": "removeNonInheritableGroupAttrs" },
{ "name": "removeTitle" },
{ "name": "removeUnknownsAndDefaults" },
{ "name": "removeUnusedNS" },
{ "name": "removeUselessDefs" },
{ "name": "removeUselessStrokeAndFill" },
{ "name": "removeXMLProcInst" },
{ "name": "sortAttrs" }
]
}
Certain browsers use the Mac OS system settings to apply keyboard navigation accessibility. To enable full keyboard navigation, enable the Keyboard setting shown in the image below.