1.1.6 • Published 11 months ago

@styils/base v1.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

简体中文

🌟 Features

  • 🎭 Polymorphism
  • 🔵 Full ts type
  • 🗺 Support SourceMap
  • 🛎 Support SSR
  • 🎨 Support Themes
  • ☘️ Small size compression + gzip 4kb
  • ⚡️ Near native rendering speed

Documentation

It's very fast. Almost as fast as using native css, and even faster than native rendering under certain conditions

Bench

Styils React

npm

React wrapper including the styled API.

npm install @styils/react

Styils Solid

npm

Solid wrapper including the styled API.

npm install @styils/solid

Styils Vue (Only supports vue3)

npm

Solid wrapper including the styled API.

npm install @styils/vue

Styils Babel Plugin

npm

This is required for sourcemap. Note that babel-plugin does not support vue suorcemap

More

npm install @styils/babel-plugin

Styils Vite Plugin

npm

Wraps @styils/babel-plugin and provides vue sourcemap support.

More babel options

npm install @styils/vite-plugin

SSR Example

Example

Credits

Styils was inspired by other css in js tools such as emotion, goober, stitches. Thanks.

Benchmarks come from stitches

License

Licensed under the MIT License, Copyright © 2022-present zoy-l

See LICENSE for more information.

1.1.6

11 months ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

0.0.4-alpha.17

2 years ago

0.0.4-alpha.16

2 years ago

0.0.4-alpha.15

2 years ago

0.0.4-alpha.14

2 years ago