You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@virtahealth/substrate-styles

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@virtahealth/substrate-styles

Substrate Styles

unpublished
latest
npmnpm
Version
0.2.4
Version published
Maintainers
1
Created
Source

Substrate Styles

Cross-platform styling properties and UI theme generation.

Visual Primitives

Visual primitives are constants that define fundamental visual language attributes like color, spacing, typography and size. These can be composed to create a theme.

👀 View primitives ➞

Themes

Themes are the mapping of visual primitives to UI components like text, buttons, inputs, etc. A theme provides all the visual properties necessary to style new and existing UI components. Multiple alternate themes can be created, unified by shared primitives.

👀 View themes ➞

Universal Format

All Substrate primitives and styles are encoded in YAML, transformed into multiple formats and syntaxes with Theo, and exported for consumption by any Virta app or website.

When built, styles are emitted to ./dist in these formats:

  • ES6 Modules
  • CSS Modules
  • JSON
  • TypeScript Definitions (.d.ts)

Custom Themes

Substrate exports a set of base styles that constitute a base theme. Custom themes can be created from the base theme by using overrides, either locally in a project's style assignments or, in special cases, a custom theme exported from Substrate.

FAQs

Package last updated on 29 Apr 2019

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