Socket
Socket
Sign inDemoInstall

@crowdstrike/falcon-styles

Package Overview
Dependencies
0
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @crowdstrike/falcon-styles

Styles for Falcon Console


Version published
Maintainers
2
Install size
20.2 kB
Created

Changelog

Source

0.4.0

Minor Changes

Readme

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:

FAQs

Last updated on 17 Nov 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc