New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@symbo.ls/scratch

Package Overview
Dependencies
Maintainers
7
Versions
272
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbo.ls/scratch

Φ / CSS framework and methodology.

2.11.5
Source
npm
Version published
Weekly downloads
1.7K
306.59%
Maintainers
7
Weekly downloads
 
Created
Source

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:

optiondefaultdescription
verbosefalseOutput the warning logs in console (only in dev, test enviroment)
useResettrueApply CSS reset to the document
useVariabletrueOutput 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
  • Scratch on node

FAQs

Package last updated on 27 Apr 2023

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