You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

lightning-design-system-linter

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightning-design-system-linter

This Sketch assistant validates document text colors, border colors, fill colors, and text sizes against the Salesforce Lightning Design System [design tokens](https://www.lightningdesignsystem.com/design-tokens/).

1.1.2
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Lightning Design System Linter for Sketch

This Sketch assistant validates document text colors, border colors, fill colors, and text sizes against the Salesforce Lightning Design System design tokens.

About Sketch Assistants

First time using a Sketch Assistant? Read Sketch's help documentation.

Versions

Make sure you are validating against the correct SLDS release. Copy and paste the corresponding linter URL in a browser window to download.

Winter '21 + new color palette:

linter version: 1.1.1
url: sketch://add-assistant?url=https://registry.npmjs.org/lightning-design-system-linter/-/lightning-design-system-linter-1.1.1.tgz

Winter '21 only:

linter version: 1.0.5
url: sketch://add-assistant?url=https://registry.npmjs.org/lightning-design-system-linter/-/lightning-design-system-linter-1.0.5.tgz

Linter Rules

Fill Color

Fill colors should match SLDS background or generic color token values.

Border Color

Border colors should match SLDS border or generic color token values.

Text Color

Text colors should match SLDS text or generic color token values.

Text Size

Text sizes should match SLDS font size token values.

Keywords

sketch

FAQs

Package last updated on 21 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts