@symbo.ls/scratch

2.11.365 • Public • Published

Scratch framework

Scratch is CSS framework and methodology to build web, mobile and TV applications with one code base.

npm version

Recevies a configuration and outputs the system of design related properties. It also applies reset by default and receives a few options:

option default description
verbose false Output the warning logs in console (only in dev, test enviroment)
useReset true Apply CSS reset to the document
useVariable true Output CSS variables in properties

A design system configuration of the following systems:

import { set } from '@symbo.ls/scratch'

set({
  color: {},
  theme: {},
  typography: {},
  space: {},
  media: {},
  icons:{},
  font: {},
  font_family: {},
  timing: {},
  reset: {}
}, { 
  // options
})

Read more at docs

TODO:

  • [ ] Accessibility (WCAG) automated tests
  • [x] Scratch on node

Readme

Keywords

none

Package Sidebar

Install

npm i @symbo.ls/scratch

Weekly Downloads

1,615

Version

2.11.365

License

none

Unpacked Size

2.47 MB

Total Files

94

Last publish

Collaborators

  • madgrid
  • julianbraha
  • lberia
  • tokoyoung
  • svinchy
  • nikoloza