@crowdstrike/falcon-shoelace

0.2.3 • Public • Published

Falcon Shoelace Theme

Falcon Shoelace is a stylesheet that includes a light and dark theme for the Shoelace component library.

Installation and Usage

Add the @crowdstrike/falcon-shoelace package:

NPM

npm install @crowdstrike/falcon-shoelace

Import the stylesheet:

@import "@crowdstrike/falcon-shoelace/dist/style.css";

Switching Themes

By default all styles are in light mode. To switch to the dark theme add the class theme-dark to documentElement:

<html class="theme-dark"></html>

to toggle the class with JS:

document.documentElement.classList.toggle('theme-dark')

Included Dependencies

The falcon-shoelace stylesheet includes falcon-styles and it's single dependency modern-normalize.

Readme

Keywords

none

Package Sidebar

Install

npm i @crowdstrike/falcon-shoelace

Weekly Downloads

3

Version

0.2.3

License

MIT

Unpacked Size

30.8 kB

Total Files

5

Last publish

Collaborators

  • kellyselden
  • crowdstrike-publisher