Welcome to Tie & Dye CSS, the first mega and very artistic fancy CSS library that brings all the legendary CSS tricks into your designs. Free and open source, learn more about it below or feel free to contribute!
The library can be easily setup for projects as a CDN, Npm or Downloaded as a zip file, use the options below and choose the most convenient way to you.
Click on the icons on the left of the links above to copy or download the lib CSS file and then paste the link inside the head tag in your html or if you downloaded the file you can pull it in as you can link to a normal style sheet and below are tips to get you started!
Hope you're using sass cause it's the only work around supported per the current version, and Vscode preferably so that you can get the live sass compiler extension to smooothen things up and then if you used NPM scripts, just import the file into your code or use the CDN link to do the same. But if you downloaded the library files and you just wanna use as is, just pull in the file into your code. For some customization and advanced usage, read on below.
For using the partials, import the partial files below in thier order.
- tie-and-dye.base
- tie-and-dye.config
- tie-and-dye.colors
- tie-and-dye.tricks
Where the base partial holds the basic styles or defalut resets, the config with the variables and user customizable styles, then the colors with all the color schemes and paletes and tricks which holds all the magic mixins. And we will break down each file below!
The library comes with it's own CSS reset to get you started, it's preset is inspired by various popular resets like modern reset, normalize and others with just our flavor blended in. However never the less you should not mistake Tie & Dye CSS Library and CSS frameworks, this is just a CSS library comprising of various CSS libraries to bring cool CSS tricks into your designs from icon animations without Javascript to text gradient and much more but it can surely be used along popular CSS frameworks like Tailwind and Bootstrap.
Tie & Dye CSS is built using Sass, just to be sassy about this we wanted it to have all the super powers of enhanced CSS. But worry not if you don't use sass cause the library will soon also be available in plain CSS as a compilation of the sass version but for the time being we're just sassy!
This library is built by devs for devs, by community for the community and all it's tricks belong to thier respective artists but we still take pride that someone someday somewhere sometime will not have to rewrite already existing CSS just to add a simple twist into his/her design.
So to break it down, the library has 5 .scss partials and one full file which encompasses all the the 5 partials, and it's important to import these in order as we specify.