@oasis-engine/editor-design-system
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

@oasis-engine/editor-design-system

A subjective design system built using stitches.js and radix-ui/colors. The definition of Design Tokens follows theme-specification

Install

npm install @oasis-engine/editor-design-system --save 

or

yarn add @oasis-engine/editor-design-system

Usage

import { styled } from "@oasis-engine/editor-design-system";

const Button = styled('button', {
  all: 'unset',
  display: 'flex',
  color: '$slate11',
  height: '$sm',
  width: '$5',
  borderRadius: '$sm',
  backgroundColor:'$slate1',
})

Readme

Keywords

none

Package Sidebar

Install

npm i @oasis-engine/editor-design-system

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

138 kB

Total Files

11

Last publish

Collaborators

  • mrkou47
  • eyworldwide
  • johanzhu
  • chengkong.zxx
  • zhuxudong
  • czizzy
  • husong
  • gl3336563
  • luzhuang
  • zhanyingwei