Logging in to DSM
To create and access libraries from your personal InVision account, enter your InVision credentials in the DSM plugin modal in Sketch.
To access your Enterprise DSM libraries, click the Enterprise sign in link, enter your domain and then enter your credentials.
Importing a library
Rather than rebuilding an existing library, you can import a Craft Library.
To import a library:
- From the Sketch plugin, select the drop down menu at the top left.
- Hover over Import.
- Select your library.
If you’d like to import your library from Brand.ai, you’ll need to contact support.
Using your design library
Adding and applying a color
To add a color to your design library, you’ll first need to make sure to select the layer containing the color within Sketch, otherwise you’ll be prompted to add a global color. The target group must also be selected before clicking the + button on the bottom right of your DSM plugin. Color names, as all other element types, can have the same name.
To apply a color, select the layer that you’d like to change the color of. (Select the layer, rather than the group, otherwise you may find that the color is applied to multiple layers. For example, selecting a group that includes a text layer will also change the text color, so the text will disappear into the background.) Then select the color from your DSM modal.
Adding and applying a text style
To add a text style to your design library, you’ll first need to make sure the text style is defined within Sketch. Select your text style, then you will be offered all of the text styles defined in the page to add to DSM.
To apply a text style, select your target text fields, then select the text style from your library to apply it to your fields.
Adding and placing an icon
To add an icon to your library, select the element and then click the + button within the Icons element collection. Selecting the root Icons group and clicking + will prompt for a new section within the Icons group.
To place an icon from your library, simply drag an icon element to the location that you wish to place it in the design. Note that text and simple symbols appear to be placed quickly, but images and complex symbols may take longer to place.
Adding and placing a component
As per the other elements, in order to add a component, select the root element name, then you will be prompted to create a group and then the element will be added to the new group. You can add a component to any selected group, and any layer, layer group, symbol, or group of symbols/layers/groups can be defined as component. The addition of a symbol is recursive; DSM will add all nested symbols within a symbol that’s added to the library as a component.
To place a component from your library, simply drag a component to the location that you wish to place it in the design. When adding a component, you’ll also notice a green + icon when you drag it across to your design page. If the component is a symbol, then you can set overrides once you have placed the component, and those will apply to only that instance of the component. Overrides are maintained even if the component color, text, or styles in the DSM entry are changed.
Updating icons and components
To update an element, make the changes to the element in your Sketch file, then drag the element back to same location that the original was selected from.
You'll be presented with the option to update the element or create a new element. Updating the element replaces the existing element definition. You can apply the changes to the element to your file by selecting the down arrow icon; this will apply all of the changes that exist in the library.
To delete an item from DSM, go to your DSM plugin modal, right click the item, then click Delete.