
Security News
GitHub Actions Supply Chain Attack Puts Thousands of Projects at Risk
A compromised GitHub Action exposed secrets in CI/CD logs, putting thousands of projects at risk and forcing developers to urgently secure their workflows.
fela-monolithic
Advanced tools
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.
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.3/dist/fela-monolithic.js"></script>
<!-- Fela (Production): Minified version -->
<script src="https://unpkg.com/fela-monolithic@4.2.3/dist/fela-monolithic.min.js"></script>
import { createRenderer } from 'fela'
import monolithic from 'fela-monolithic'
const renderer = createRenderer({
enhancers: [ monolithic() ]
})
Fela is licensed under the MIT License.
Documentation is licensed under Creative Common License.
Created with ♥ by @rofrischmann and all the great contributors.
FAQs
Fela enhancer for having monolithic classnames
The npm package fela-monolithic receives a total of 5,514 weekly downloads. As such, fela-monolithic popularity was classified as popular.
We found that fela-monolithic demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
A compromised GitHub Action exposed secrets in CI/CD logs, putting thousands of projects at risk and forcing developers to urgently secure their workflows.
Research
Security News
A malicious Maven package typosquatting a popular library is secretly stealing OAuth credentials on the 15th of each month, putting Java developers at risk.
Security News
Socket and Seal Security collaborate to fix a critical npm overrides bug, resolving a three-year security issue in the JavaScript ecosystem's most popular package manager.