Skip to content

Latest commit

 

History

History
80 lines (58 loc) · 1.89 KB

File metadata and controls

80 lines (58 loc) · 1.89 KB

SolarWind CSS ☉≈ · npm version build GitHub license

Design tokens for Vicinage & StyleX.

Install

npm install solarwindcss

Usage

import { apply } from 'vicinage'
import { font } from 'solarwindcss'
import { color } from 'solarwindcss/color.stylex'

function Example() {
  return (
    <div
      {...apply(
        font.mono,
        {
          color: color.green500,
          backgroundColor: 'black',
        },
        //
      )}
    >
      hello, world
    </div>
  )
}

API

Layout

Sizing

Typography

Borders

Effects & Filters

Transforms

Transitions & Animation