New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
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

Cross-platform styling primitives and properties

unpublished
npmnpm
Version
1.2.3
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Substrate Styles

Universal styling properties for use in Virta products.

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.

Substrate styles are currently exported in these formats:

  • ES6 Modules
  • CSS Modules
  • JSON

Additional transforms can be added/created as needed.

Styles

Styles are thematic properties that are applied to UI elements. They're composed of primitives which can be swapped to create custom themes.

  • Text Styles
  • Box Styles
  • Input Styles
  • Button Styles
  • See all styles ➞

Visual Primitives

Visual primitives are constants that are combined to create styles.

  • Space
  • Size
  • Grid
  • Typography
  • Color

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 theme exported from Substrate.

FAQs

Package last updated on 10 Sep 2018

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