├── .gitignore ├── README.md ├── deploy.sh ├── index.html ├── package-lock.json ├── package.json ├── postcss.config.js ├── src ├── App.jsx ├── components │ ├── Content.jsx │ ├── Footer.jsx │ ├── Header.jsx │ ├── Nav.jsx │ ├── Title.jsx │ └── header │ │ ├── Breakpoints.jsx │ │ ├── Colors.jsx │ │ ├── Others.jsx │ │ └── Spacing.jsx ├── context │ ├── TailwindContext.js │ ├── background.json │ ├── basic.js │ ├── border.json │ ├── cheatsheet.js │ ├── filters.json │ ├── flexbox-and-grid.json │ ├── icons.jsx │ ├── interactivity.json │ ├── layout.json │ ├── others.json │ ├── responsive.js │ └── typography.json ├── favicon.png ├── index.css └── main.jsx ├── tailwind.config.js ├── v2.1 ├── assets │ ├── index.3c1604a3.js │ ├── index.c2c8416d.css │ └── vendor.ddd611f1.js └── index.html └── vite.config.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | dist-ssr 5 | *.local -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Tailwindcss-cheatsheet (v3.0) 2 | 3 | ### A very elegant and helpful Tailwindcss cheatsheet. 4 | 5 | - [Tailwindcss-cheatsheet-3](https://umeshmk.github.io/Tailwindcss-cheatsheet/) 6 | - [Tailwindcss-cheatsheet-2.1](https://umeshmk.github.io/Tailwindcss-cheatsheet/v2.1) 7 | 9 | 10 | --- 11 | 12 | 13 | 14 | 15 | 16 |  17 | 18 | ### Logs 19 | 20 | **v3.0 - 12 Nov 2022 :** 21 | 22 | - updated to Tailwindcss v3 23 | - Text highlighting feature added 24 | - Design changes 25 | - Refactored source code 26 | 27 | **v2.1 - 9 Oct 2021 :** 28 | 29 | - Improved aesthetics greatly. 30 | - Recreated & refactored the project using `react` with `vite`. It used `vuejs` earlier. 31 | - Made highly responsive using `tailwind`. 32 | -------------------------------------------------------------------------------- /deploy.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # abort on errors 4 | set -e 5 | 6 | # build 7 | npm run build 8 | 9 | # copy old version 10 | # cp -r ./v1 ./dist 11 | # cp -r ./v2.0 ./dist 12 | cp -r ./v2.1 ./dist 13 | 14 | # navigate into the build output directory 15 | cd dist 16 | 17 | # if you are deploying to a custom domain 18 | echo "Deploying....." 19 | echo "https://umeshmk.github.io/Tailwindcss-cheatsheet/" 20 | # echo "https://umeshmk.github.io/Tailwindcss-cheatsheet/" > CNAME 21 | 22 | git init 23 | git add -A 24 | git commit -m "deploy" && 25 | 26 | git push -f git@github.com:umeshmk/Tailwindcss-cheatsheet.git master:gh-pages 27 | 28 | cd - -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 |{c}
18 |