Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit 03bd44d

Browse files
committed
updated readme with images
1 parent c633a0a commit 03bd44d

File tree

2 files changed

+98
-4
lines changed

2 files changed

+98
-4
lines changed

README.md

Lines changed: 98 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
<a href="https://github.com/salesforce-ux/design-system-ui-kit/archive/master.zip"><img src="https://user-images.githubusercontent.com/1750832/41082861-8013ecba-69e4-11e8-8149-7eaa94825b19.png" alt="Design System UI Kit" /></a>
33
</p>
44
<br />
5-
<br />
6-
<h1 align="center">Lightning Design System UI Kit</h1>
5+
<h1 align="center" style="border-bottom:none;">Lightning Design System UI Kit</h1>
76
<p align="center">
8-
A <a href="https://www.sketchapp.com/">Sketch</a> file of components from <a href="https://www.lightningdesignsystem.com">Lightning Design System</a>.
7+
A Sketch document of <a href="https://www.lightningdesignsystem.com">Lightning Design System</a> components.
98
</p>
10-
<br />
119
<h3 align="center"><a href="https://github.com/salesforce-ux/design-system-ui-kit/archive/master.zip">» Download the latest version now «</a></h3>
1210
<br />
11+
<br />
1312

1413
----
1514

@@ -30,20 +29,81 @@ Download the most recent version of [Sketch](https://www.sketchapp.com/).
3029
**Welcome to the Summer ’18 Sketch Library document**
3130

3231
The Salesforce UX team has made quite a few changes to this document since the last release. We made optimizations so you can more efficiently create Salesforce Lightning interfaces. In the instructions below, we’ll cover the basics and some tips for you to get started with this Sketch Library document. You can still use this document just like you have in previous releases, but the Salesforce UX team believes this file is best used as a Sketch Library. What does that mean and why should you use it that way? We’ll answer those questions below.
32+
<br />
33+
<br />
3334

3435
**Why use this file as a Sketch Library?**
3536

3637
Sketch has released a feature that allowed any Sketch file’s symbols to be accessed and used across all of your Sketch documents. They called this feature Sketch Libraries. You can now have all SLDS components available from Sketch’s symbols menu in any file you open. Another powerful feature is that Sketch Libraries will automatically update your designs when the Library is updated. Your designs will never be out of date if they’re linked to this Sketch Library document.
38+
<br />
39+
<br />
3740

3841
**How to use this document as a Sketch Library in two quick steps**
3942

4043
1. **Save this file to your local computer**. To use this as a Sketch Library, first you’ll need to place this document somewhere permanent. Try saving it to, `Users/[YourName]/Documents/SLDS/` .
4144
2. **“Add as Library” in the Sketch menu**. Next you’ll want to open the SLDS Component Library document and select `File > Add as Library` . Boom! Now you’re all set. All SLDS components are available in your Sketch Symbols menu to use in any Sketch document you work in. You can close SLDS Component Library document.
4245

46+
<table border="0" style="border-collapse:collapse;">
47+
<tr style="border:none;">
48+
<td align="top" style="vertical-align:top;border:none; text-align:center;width:24%;">
49+
<a target="_blank" href="https://user-images.githubusercontent.com/1750832/41114414-3895b92c-6a39-11e8-81b6-cac65b112737.png" title="With the SLDS Component Library file open in Sketch, select 'Add as Library' in the Sketch menu" >
50+
<img src="https://user-images.githubusercontent.com/1750832/41114414-3895b92c-6a39-11e8-81b6-cac65b112737.png" alt="With the SLDS Component Library file open in Sketch, select 'Add as Library' in the Sketch menu" />
51+
</a>
52+
<span style="font-size:12px; color:#706e6b;display:block;padding-top:12px;">
53+
With the SLDS Component Library file open in Sketch, select 'Add as Library' in the Sketch menu
54+
</span>
55+
</td>
56+
<td align="top" style="vertical-align:top;border:none; text-align:center;width:42%;">
57+
<a target="_blank" href="https://user-images.githubusercontent.com/1750832/41114420-3940e2d4-6a39-11e8-8a1c-dde608b0eb5b.png" title="You can see all of your Sketch Libraries in Sketch > Preferences > Libraries">
58+
<img src="https://user-images.githubusercontent.com/1750832/41114420-3940e2d4-6a39-11e8-8a1c-dde608b0eb5b.png" alt="You can see all of your Sketch Libraries in Sketch > Preferences > Libraries" />
59+
</a>
60+
<span style="font-size:12px; color:#706e6b;display:block;padding-top:12px;">
61+
You can see all of your Sketch Libraries in Sketch > Preferences > Libraries
62+
</span>
63+
</td>
64+
<td align="top" style="vertical-align:top;border:none; text-align:center;width:33%;">
65+
<a target="_blank" href="https://user-images.githubusercontent.com/1750832/41114423-3964d928-6a39-11e8-9ec1-4a532778670f.png" title="You'll see the SLDS Sketch Library symbols available under your symbols menu no matter what Sketch document you're working in.">
66+
<img src="https://user-images.githubusercontent.com/1750832/41114423-3964d928-6a39-11e8-9ec1-4a532778670f.png" alt="You'll see the SLDS Sketch Library symbols available under your symbols menu no matter what Sketch document you're working in." />
67+
</a>
68+
<span style="font-size:12px; color:#706e6b;display:block;padding-top:12px;">
69+
You'll see the SLDS Sketch Library symbols available under your symbols menu no matter what Sketch document you're working in.
70+
</span>
71+
</td>
72+
</tr>
73+
</table>
74+
<br />
75+
<br />
76+
4377
**Artboards Everywhere**
4478

4579
Another big change we’ve made with this Sketch Library document is we moved all components to their own artboards. This makes finding the component symbol you want to use a breeze by mapping the lightningdesignsystem.com website’s menu, which you should be familiar with, to match the left hand artboard menu in Sketch.
4680

81+
<table border="0" style="border-collapse:collapse;">
82+
<tr style="border:none;">
83+
<td align="top" style="vertical-align:top;border:none; text-align:center;width:33%;">
84+
<a target="_blank" href="https://user-images.githubusercontent.com/1750832/41114419-392461ae-6a39-11e8-98fa-345a66b7c82b.png" title="Sketch SLDS Component Library Artboards" >
85+
<img src="https://user-images.githubusercontent.com/1750832/41114419-392461ae-6a39-11e8-98fa-345a66b7c82b.png" alt="Sketch SLDS Component Library Artboards" />
86+
</a>
87+
<span style="font-size:12px; color:#706e6b;display:block;padding-top:12px;">
88+
Sketch SLDS Component Library Artboards
89+
</span>
90+
</td>
91+
<td align="top" style="vertical-align:top;border:none; text-align:center;width:24%;">
92+
<a target="_blank" href="https://user-images.githubusercontent.com/1750832/41114418-390674b4-6a39-11e8-807c-aada633f10c5.png" title="lightningdesignsystem.com Website Menu" >
93+
<img src="https://user-images.githubusercontent.com/1750832/41114418-390674b4-6a39-11e8-807c-aada633f10c5.png" alt="lightningdesignsystem.com Website Menu" />
94+
</a>
95+
<span style="font-size:12px; color:#706e6b;display:block;padding-top:12px;">
96+
lightningdesignsystem.com Website Menu
97+
</span>
98+
</td>
99+
<td align="top" style="vertical-align:top;border:none; text-align:center;width:42%;">
100+
&nbsp;
101+
</td>
102+
</tr>
103+
</table>
104+
<br />
105+
<br />
106+
47107
**Nested Symbols Galore**
48108

49109
Sketch Symbols allow you to use and reuse a self-contained design element across a Sketch document. Any changes made to a symbol will update across your whole document. It’s really handy! Nested symbols allow for even more customization, without breaking the symbol from its source, by adding symbols in symbols. Nested symbols are used throughout this Sketch file so that you can customize your designs as much as possible without detaching your Symbol.
@@ -54,11 +114,39 @@ Most nested symbols are denoted in this document’s structure under the folders
54114

55115
To see nested symbols in action, add a symbol from the SLDS Component Library to your Sketch document. In Sketch’s right side panel you’ll see all the symbol overrides or customizations you can make to that symbol without having to detach it and keeping the automatic update feature in tact.
56116

117+
<table border="0" style="border-collapse:collapse;">
118+
<tr style="border:none;">
119+
<td align="top" style="vertical-align:top;border:none; text-align:center;width:24%;">
120+
<a target="_blank" href="https://user-images.githubusercontent.com/1750832/41114415-38c15a64-6a39-11e8-8c71-bd6d1ceaad2a.png" title="The right side overrides section allows for the tab title and state to be customized" >
121+
<img src="https://user-images.githubusercontent.com/1750832/41114415-38c15a64-6a39-11e8-8c71-bd6d1ceaad2a.png" alt="The right side overrides section allows for the tab title and state to be customized" />
122+
</a>
123+
<span style="font-size:12px; color:#706e6b;display:block;padding-top:12px;">
124+
The right side overrides section allows for the tab title and state to be customized
125+
</span>
126+
</td>
127+
<td align="top" style="vertical-align:top;border:none; text-align:center;width:42%;">
128+
<a target="_blank" href="https://user-images.githubusercontent.com/1750832/41114416-38e5b03a-6a39-11e8-8057-f782b77a1280.png" title="The tab symbol uses nested symbols for Hover, Default and Selected tab states" >
129+
<img src="https://user-images.githubusercontent.com/1750832/41114416-38e5b03a-6a39-11e8-8057-f782b77a1280.png" alt="The tab symbol uses nested symbols for Hover, Default and Selected tab states" />
130+
</a>
131+
<span style="font-size:12px; color:#706e6b;display:block;padding-top:12px;">
132+
The tab symbol uses nested symbols for Hover, Default and Selected tab states
133+
</span>
134+
</td>
135+
<td align="top" style="vertical-align:top;border:none; text-align:center;width:33%;">
136+
&nbsp;
137+
</td>
138+
</tr>
139+
</table>
140+
<br />
141+
<br />
142+
57143
**Color Token Symbols**
58144

59145
Salesforce Lightning Design System uses design tokens as named entities that store visual design attributes. This Sketch document uses color symbols to mimic SLDS design tokens with color values. This allows the structure of a symbol to use the equivalent of a design token.
60146

61147
In symbols, like icons, that contain solid color backgrounds, you’ll find the background is a mask which reveals the color symbol as if it was a shape fill. This allows us to easily make file-wide changes to colors when new visual styles are introduced in SLDS. Instead of changing fill colors in hundreds of shapes in this document, we can just update a color symbol or point the shape to another color symbol.
148+
<br />
149+
<br />
62150

63151
## How to use the icon symbols
64152

@@ -69,6 +157,8 @@ In symbols, like icons, that contain solid color backgrounds, you’ll find the
69157
3. **Choose your icon glyph**. In Sketch’s right overrides panel, choose the icon glyph you’d like to use from the dropdown menu.
70158
4. **(Optional) Choose an icon glyph color**. In Sketch’s right overrides panel, choose the icon glyph color you’d like to use from the dropdown menu.
71159
5. **(Optional, for Action, Custom and Standard Icon Types) Choose an icon background color**. In Sketch’s right overrides panel, choose the icon background color you’d like to use from the dropdown menu.
160+
<br />
161+
<br />
72162

73163
## Recommended Sketch Plugins
74164

@@ -81,6 +171,8 @@ https://github.com/DWilliames/paddy-sketch-plugin
81171

82172
Sketch Runner helps you to get around Sketch quicker by giving you an intuitive interface to run commands directly from your keyboard. Runner allows you to skip Sketch navigation, buttons or menus and quickly type the action you want to take like, “insert desktop tab” to add a tab component symbol to your artboard.
83173
[https://sketchrunner.com](https://sketchrunner.com/)
174+
<br />
175+
<br />
84176

85177
## Contribute!
86178

@@ -95,6 +187,8 @@ Here are a few of the kinds of contributions we are looking for:
95187
### Got something to add?
96188

97189
Great! Please take a look at our [contribution guidelines](https://github.com/salesforce-ux/design-system-ui-kit/blob/master/CONTRIBUTING.md) for instructions on how to proceed.
190+
<br />
191+
<br />
98192

99193
## License
100194

SLDS Component Library.sketch

818 KB
Binary file not shown.

0 commit comments

Comments
 (0)