Skip to content

CrowdStrike/falcon-shoelace

Folders and files

NameName
Last commit message
Last commit date
Jul 19, 2024
Jun 13, 2024
Jul 19, 2024
May 31, 2023
Aug 16, 2023
Aug 16, 2023
Jun 13, 2024
Nov 17, 2023
Jun 13, 2024
Jun 14, 2024
Jun 14, 2024
Jun 14, 2024

Repository files navigation

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.