Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/geopjr/sandstorm

๐Ÿš€ Fast ๐Ÿ–Œ๏ธ Utility-first ๐ŸŒˆ CSS Colors ๐ŸŽจ in < 100 LOC ๐Ÿ’ป
https://github.com/geopjr/sandstorm

colors css hsl html joke react rgb svelte tailwind tailwindcss tiny utility vue

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

Sandstorm


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

```css
.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);}
```

๐Ÿคข `

` ๐Ÿคฎ

๐Ÿ’ `

` ๐Ÿ˜ป

#

## 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](https://cdn.jsdelivr.net/gh/GeopJr/GeopJr@main/sponsors.svg)](https://github.com/sponsors/GeopJr)

> 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.