@unocss.dev.bsky.social
The Instant On-demand Atomic CSS Engine unocss.dev created by @antfu.me, maintained by @zyyv.dev and the team with π€
@unocss.dev has been production ready for a long time. Now, we have finally fixed the versioning!
Let's start the Epoch Semantic Versioning journey~
github.com/unocss/unocs...
Today, I tried out Fluid Sizing in CSS.
You set one size for mobile and another for desktop, and the code smoothly calculates the value in the gap between different scree sizes.
Then, I created a @unocss.dev preset:
github.com/onmax/unocss...
We have released @unocss.dev @0.65.0 π. You can refer to the following upgrade guide to learn about the important changes.
github.com/unocss/unocs...
A huge shout out to @zyyv.bsky.social, who is taking great care of UnoCSS's maintenance and driving the landing of those features!
27.11.2024 10:38 β π 7 π 0 π¬ 0 π 0We are cooking something for the next minor version:
- Async generator creation and async presets support
- Allow variants to branch multiple rules
- On-demand preflights, only needed CSS variables will be shipped
These would make the engine more versatile than ever! Stay tuned! π
Since @unocss.dev ^0.64.1, we support the classification of animations, which will be of great help to downstream tool development libraries. UnoCSS integrates Animate.css by default and also adds classification.
Here is an example on unocss^0.64.1, github.com/unpreset/uno...
We are in the process of making UnPresets the official "UnoCSS Community" organization!
Any cool presets you created/maintain that want us to know? π€
Gradient generated using UnoCSS Preset Easing Gradient: <div bg-easing-gradient="to-l from-#9747FF to-#0582CA steps-20 ease bezier-[0.99,0.01,0.99,0.01]" />
I have created an @unocss.dev preset that allows you to set a smoothing curve or custom bΓ©zier curve in a background gradient.
```html
<div bg-easing-gradient="to-l from-#9747FF to-#0582CA steps-20 bezier-[0.99,0.01,0.99,0.01]" />
```
export default defineConfig({
rules: [
['hello-world', { 'background': 'red' }]
]
})
<div class="hello-world">!</div>
π₯