0.2.3 • Published 8 months ago

@crowdstrike/falcon-shoelace v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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.

0.2.3

8 months ago

0.2.2

8 months ago

0.2.1

8 months ago

0.2.0

8 months ago

0.1.0

8 months ago

0.0.0

8 months ago