Socket
Book a DemoInstallSign in
Socket

brushi

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brushi

CSS library so simple it will blow your mind

0.2.8
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

brushi

CSS library back to basics

Features

  • No compilation needed
  • Componentized styling, no name collisions
  • Intuitive styling of nested structures
  • framework agnostic
  • Small, simple and no dependencies
  • Great for UI library creators

Rationale

A well designed web application requires well thought out styling. We organize JS code in components, and we would like to do the same with CSS code. There are various CSS libraries on the landscape, but there are various some shortcomings:

  • requires pre-processors
  • not as intuitive as normal CSS
  • cascading CSS not working as well
  • decorates DOM with verbose styles everywhere
  • not handling dynamic user interactions well
  • UI libraries end up with hard coded CSS, or complicated to style

Most CSS libraries do have the following benefits:

  • ability to separate CSS into modules
  • localized CSS development to avoid name collision
  • some ability to handle calculated attributes

brushi is designed to be a CSS library that is dead simple to use and understand, but allows all the benefits of CSS componentization.

Status

brushi is being actively worked on. I am personally using it with much success, but would like to firm up the API and usage pattern before releasing it to the public.

Keywords

css

FAQs

Package last updated on 25 Jan 2019

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.