zahnster / customized-slds

Simple example of how to override SLDS tokens and compile from sass source

Home Page:https://customized-slds.now.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Customized SLDS Example

This is a simple example of how to include SLDS through npm, in order to override design tokens and compile SLDS from the source Sass files.

This example uses Parcel as a lightweight package manager / bundler.

The example HTML is in index.html, and the Sass setup where you override the design tokens and include the SLDS Source Sass for compilation exists in my-slds.scss.

Checking out and Setting Up

  1. Clone down repository
  2. In a terminal, run npm install to install the project's node dependencies.

Running the Project

  1. npm start will start the project and give you a development URL.

About

Simple example of how to override SLDS tokens and compile from sass source

https://customized-slds.now.sh/

License:MIT License


Languages

Language:CSS 84.1%Language:HTML 15.9%