Component Library for Glitch Community
This repo contains the following items:
- The Glitch Component Library is a Sketch Library that contains basic UI components from the Glitch Community site.
- Data that enables you to grab common assets (like project avatars and names) to use in your Sketch files.
- The glitch-community sketchpalette, used to load current color set from
global.styl
into Sketch with the sketch-palettes plugin
- Clone this repo.
- In Sketch, add the component-library file as a library under Preferences > Libary > Add Library
- Now in any new Sketch file, when you add a symbol, you can add a symbol from the Component-Library. Most components are nested symbols, so you should be able to edit the contents on the fly without affecting the style.
Note:
Nested dynamic buttons are not supported in Glitch, so for certain items like pop-overs, you should copy the item directly from the component-library
sketch file rather than inserting it as a symbol. Using the Paddy Sketch library, the buttons should resize when you change its label.
- Go to Preferences > Data and click the
Add Data...
button - Select all the files in the
data
folder. - Now when you use items from the component library, you can use
cmd+d
to cycle data automatically, or you can right click on any image or text to replace it with a data object.
- Install the sketch-palettes plugin
- Go to Plugins > Sketch Palettes > Load Palette... and select the
glitch-colors.sketchpalette
file - Load as a global preset to have the palette accessible in all your documents.
Artboards for all of the breakpoints on the Community site
- Buttons
- Cards (Project / Feature/ Collection - profile & homepage)
- Info (User / Team / Project)
- Pop-overs
- Avatars (Users / Teams / Projects / Features)
- Button background colors
- Card colors (private / public)
- Popover containers (action / info)