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

fela-monolithic

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fela-monolithic

Fela enhancer for having monolithic classnames

  • 4.2.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12K
decreased by-24.59%
Maintainers
1
Weekly downloads
 
Created
Source

fela-monolithic

npm downloads gzipped size

The monolithic enhancer will use unique class names instead of atomic ones. These generated class names are not re-usable like the atomic design but allows you to debug and modify styles with ease. Every ruleset will have it's own unique class - this means that a new class will be generated if you are using props and they change.

Installation

npm i --save fela-monolithic

Assuming you are using npm as your package manager you can just npm install.
Otherwise we also provide a UMD. You can easily use it via unpkg. It registers a FelaMonolithic global.

<!-- Fela (Development): Unminified version including all warnings -->
<script src="https://unpkg.com/fela-monolithic@4.2.5/dist/fela-monolithic.js"></script>
<!-- Fela (Production): Minified version -->
<script src="https://unpkg.com/fela-monolithic@4.2.5/dist/fela-monolithic.min.js"></script>

Usage

import { createRenderer } from 'fela'
import monolithic from 'fela-monolithic'

const renderer = createRenderer({
  enhancers: [ monolithic() ]
})

License

Fela is licensed under the MIT License.
Documentation is licensed under Creative Common License.
Created with ♥ by @rofrischmann and all the great contributors.

Keywords

FAQs

Package last updated on 17 Feb 2017

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