Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@symbo.ls/scratch

Package Overview
Dependencies
Maintainers
0
Versions
261
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.500
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
688
increased by39.27%
Maintainers
0
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 19 Dec 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc