@salesforce-ux/slds-color-picker-button
v0.1.4
Published
color-picker-button is a sub-component of the lightning web component color picker
Downloads
10
Readme
Getting Started
About
The color picker button component for the Salesforce Lightning Design system.
Installation
npm i @salesforce-ux/slds-color-picker-button
Usage
Lightning Web Component
Import the CSS
After installation, you need to import the component's CSS into your LWC component module. To do this, use the @import
CSS syntax within the CSS file of your component module.
/* myComponent.css */
@import '@salesforce-ux/slds-button/dist/color-picker-button.compiled.css'
The *.compiled.css
files in the /dist
folder have all the component's dependencies rolled up into one file. If you choose to import your modules explicitly, you should the *.css
files in the /dist
folder.