sandstorm

๐Ÿš€ Fast ๐Ÿ–Œ๏ธ Utility-first ๐ŸŒˆ CSS Colors ๐ŸŽจ in < 100 LOC ๐Ÿ’ป

Sandstorm

๐Ÿš€ Fast ๐Ÿ–Œ๏ธ Utility-first ๐ŸŒˆ CSS Colors ๐ŸŽจ in < 100 LOC ๐Ÿ’ป

.rgb-1-8-33{color:rgb(1,8,33);}.rgb-1-8-34{color:rgb(1,8,34);}.rgb-1-8-35{color:rgb(1,8,35);}.rgb-1-8-36{color:rgb(1,8,36);}.rgb-1-8-37{color:rgb(1,8,37);}.rgb-1-8-38{color:rgb(1,8,38);}.rgb-1-8-39{color:rgb(1,8,39);}.rgb-1-8-40{color:rgb(1,8,40);}.rgb-1-8-41{color:rgb(1,8,41);}.rgb-1-8-42{color:rgb(1,8,42);}.rgb-1-8-43{color:rgb(1,8,43);}.rgb-1-8-44{color:rgb(1,8,44);}.rgb-1-8-45{color:rgb(1,8,45);}.rgb-1-8-46{color:rgb(1,8,46);}.rgb-1-8-47{color:rgb(1,8,47);}.rgb-1-8-48{color:rgb(1,8,48);}

๐Ÿคข <p style="color: red"> ๐Ÿคฎ

๐Ÿ’ <p class="rgb-255-0-0"> ๐Ÿ˜ป

Features

  • ๐Ÿ„ Tiny - Only 4.4 GB / 587.5 MB (gzipped)
  • ๐Ÿคน RGB, HSL & HEX Support
  • ๐Ÿงฎ color, background-color & border Support
  • ๐ŸŒŸ No need to ever touch CSS again
  • โšก๏ธ Pre-generated - no build tools needed
  • ๐Ÿ“ Modular - import only what you need

Building

$ crystal build sandstorm.cr --release
$ ./sandstorm

or if you just want to run it once:

$ crystal run sandstorm.cr

This will generate everything under ./out/.

Dependencies

  • Crystal - ~1.6.1

Sponsors

GeopJr Sponsors

This is a joke. If you are looking for something actually useful check out this little project: https://developer.mozilla.org/en-US/docs/Web/CSS.

Don't even think about using this.

Repository

sandstorm

Owner
Statistic
  • 1
  • 0
  • 0
  • 0
  • 0
  • over 1 year ago
  • October 29, 2022
License

BSD 2-Clause "Simplified" License

Links
Synced at

Mon, 06 May 2024 21:21:00 GMT

Languages