Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@olets/unocss-preset-css
Advanced tools
A front-end tool which unlocks writing something very close to vanilla CSS directly in the `class` attribute
unocss-preset-css is a front-end tool which unlocks writing something very close to vanilla CSS directly in the class
attribute. Style any element from any other element, styling ::before
and ::after
directly on their originating element, and using CSS at-rules without breaking to a <style>
tag, all without learning new syntax.
It's like Tailwind CSS, or Windi CSS, or any other CSS DOM API, but with the minimum of tool-specific idioms.
Want { color: currentColor }
? That's class="{color:currentColor}"
, not class="text-current"
".
Want { line-height: 2 }
? That's class="{line-height:2}"
, not class="leading-loose"
.
class
DOM API interested in trying out patterns other than Tailwind's, in the search for the next evolutionary step.class
attribute DOM API but are turned off by Tailwind's (and then Windi's) inconsistent and overloaded renaming of CSS properties.
📖 https://unocss-preset-css.olets.dev
👀 https://stackblitz.com/edit/unocss-preset-css-repl
Or run the REPL locally: clone or download the unocss-preset-css monorepo, and run the repl
package's dev
script.
See the CHANGELOG file.
Thanks for your interest. Contributions are welcome!
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Check the Issues to see if your topic has been discussed before or if it is being worked on.
Please read CONTRIBUTING.md before opening a pull request.
unocss-preset-css by Henry Bley-Vroman is licensed under a license which is the unmodified text of CC BY-NC-SA 4.0 and the unmodified text of a Hippocratic License 3. It is not affiliated with Creative Commons or the Organization for Ethical Source.
Human-readable summary of (and not a substitute for) the LICENSE file:
You are free to
Under the following terms
FAQs
A front-end tool which unlocks writing something very close to vanilla CSS directly in the `class` attribute
We found that @olets/unocss-preset-css demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.