stylelite/README.md

65 lines
1.3 KiB
Markdown
Raw Normal View History

2022-06-15 01:39:33 +00:00
# Stylelite CSS
2024-05-11 00:44:08 +00:00
> Styles that work for you
2022-06-15 01:39:33 +00:00
2024-05-11 00:44:08 +00:00
Stylelite is a tiny-dynamic-classlite css foundation for any project. Easy to extend, with extras already available, and Great for rapid prototyping.
2022-06-15 01:39:33 +00:00
2024-05-11 00:44:08 +00:00
It *may* be light on `class`, but it makes up for it in *[style](src/extras)*
2022-06-15 01:39:33 +00:00
2024-05-11 00:44:08 +00:00
All in **3kb gzipped!**
2022-06-15 01:39:33 +00:00
2024-05-11 19:25:34 +00:00
## Features
2022-06-15 01:39:33 +00:00
2024-05-11 00:44:08 +00:00
- Tiny, 3kb
- Class-lite
2024-05-11 19:25:34 +00:00
- Utility Classes
2024-05-11 19:13:59 +00:00
- Layout
- `.row`, `.col`, `.grid`, `.group`, `.left`, `.right`, `.center`
2024-05-11 19:14:44 +00:00
2024-05-11 19:13:59 +00:00
- **extras/** supplies pick-and-choose styles to expanded your options
2024-05-11 00:44:08 +00:00
- Dynamic, 12 Custom CSS Vars
2022-06-15 01:39:33 +00:00
- Includes Light and Dark Themes
2024-05-11 19:25:34 +00:00
Designed to work with default [Feather Icons](https://feathericons.com/)
2022-06-15 01:39:33 +00:00
> WARNING: ever-green browsers need only apply ;)
2024-05-11 19:25:34 +00:00
## Get Started
2022-06-15 01:39:33 +00:00
2024-05-11 19:13:59 +00:00
Via `jsdelivr` CDN
2022-06-15 01:39:33 +00:00
2024-05-11 19:14:44 +00:00
```html
2024-05-11 19:15:12 +00:00
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/n2geoff/stylelite/dist/stylelite.min.css">
2022-06-15 01:39:33 +00:00
2024-05-11 19:13:59 +00:00
```
or [Download](https://raw.githubusercontent.com/n2geoff/stylelite/main/dist/stylelite.min.css)
2024-05-11 19:25:34 +00:00
Include Feather Icons
2024-05-11 19:13:59 +00:00
2024-05-11 19:25:34 +00:00
```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/feather-icons-css/css/feather.min.css">
```
2024-05-11 19:13:59 +00:00
2024-05-11 19:14:44 +00:00
## Dark Mode
2024-05-11 19:13:59 +00:00
Add `data-theme="dark"` to the `html` tag for a taste of the dark side
2022-06-15 01:39:33 +00:00
## LICENSE
- [MIT](LICENSE)
## TODO
2023-12-22 20:51:51 +00:00
Keep it small, but immediately useful.
2022-06-15 01:39:33 +00:00
Tweaks to hit that SWEET spot:
2024-05-11 19:25:34 +00:00
- Dark mode use native browser scroll bars/classes
2024-05-11 00:44:08 +00:00
- Color Utility (extras)