- Tailored for building Salesforce apps: Using the Lightning Design System markup and CSS framework results in UIs that reflect the Salesforce Lightning look and feel.
- Continuously updated: As long as you’re using the latest version of the Lightning Design System, your pages are always up to date with Salesforce UI changes.
gem install bundler npm install npm start
Having trouble getting these steps to work on your machine? Follow the troubleshooting guide below.
Install gulp globally:
npm install --global gulp
Generate and run the Lightning Design System.
Run the lightning design system.
gulp, as it won't re-generate the whole site before starting the server. Useful when mainly working on styles.
Lint the code base for syntax and stylistic errors.
gulp pages: generate the site’s pages.
gulp styles: compile Sass to CSS.
Delete temporary build and local files.
npm run stats: Useful stats about the project's deliverables.
npm test: run all tests
npm and Node.js
The Salesforce Lightning Design System uses
npm to manage dependencies. Please install Node.js, and try running
npm install again.
If Node.js is already installed, make sure you’re running v6 or up.
Ruby comes pre-installed on macOS. For other systems, check https://www.ruby-lang.org.
gem install bundler fails, run
sudo gem install bundler and try running
npm install again.
- The installed
npmversion must be at least v3.10. You can update your npm with:
npm install npm -g(
sudomay be required).
- Re-install dependencies:
rm -Rf node_modules && npm install
If this did not work, try running
npm cache clean and repeat the above steps.
Contributing to the code base
- Source code is licensed under BSD License Clause 2
- All icons and images are licensed under Creative Commons Attribution-NoDerivatives 4.0
- The font is licensed under our font license
Please open a new GitHub Issue.