Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@crowdstrike/falcon-styles

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crowdstrike/falcon-styles

Styles for Falcon Console

latest
Source
npmnpm
Version
0.4.0
Version published
Weekly downloads
120
757.14%
Maintainers
2
Weekly downloads
 
Created
Source

Falcon Styles

Falcon Styles is a stylesheet with a light and dark theme and was developed primarily to satisfy the requirements of theming the Shoelace component library - see Falcon Shoelace Theme.

That said, the goal of Falcon Styles is to be independent of any one component library and provide css custom-properties (variables) that could be used to style any UI.

Installation and Usage

Add the @crowdstrike/falcon-styles package:

NPM

npm install @crowdstrike/falcon-styles

Import the stylesheet:

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

Switching Themes

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

document.documentElement.classList.toggle('theme-dark')
<html class="theme-dark"></html>

Included Dependencies

The falcon-shoelace stylesheet includes:

  • modern-normalize

FAQs

Package last updated on 17 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts