🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@eventstore-ui/theme

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eventstore-ui/theme

Themes and theming utilities for Event Store Design System

latest
npmnpm
Version
1.0.4
Version published
Maintainers
3
Created
Source

@eventstore-ui/theme

Theming for the Event Store design system.

Install

Add to your project

yarn add @eventstore-ui/theme

Usage

In your globalScript file, add an import:

import '@eventstore-ui/theme';

The active theme will be automatically applied as a set of css variables.

background-color: var(--color-background);

By default, an appropriate theme will be chosen from the users system settings, or a theme can be chosen directly:

import { theme } from '@eventstore-ui/theme';

theme.select('high_contrast_dark');

Additionally, @eventstore-ui/layout contains components for selecting a theme.

FAQs

Package last updated on 09 Aug 2024

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