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
npmnpm
Version
0.2.2
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Substrate Styles

Cross-platform styling properties and UI theme generation.

Visual Primitives

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

👀 View the primitives ➞

Styles

Styles are thematic properties that are organized by and applied to UI elements like text, buttons, and forms.

👀 View the styles ➞

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 07 Jan 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