{{ .Title }}
-- Written by -
- - on -{{ .Description }}
- {{ .Content }} -diff --git a/docs/content/articles/_index.md b/docs/content/articles/_index.md deleted file mode 100644 index d0cf847..0000000 --- a/docs/content/articles/_index.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -title: Articles ---- diff --git a/docs/content/articles/upgrade-guide-to-tailwindcss2.md b/docs/content/articles/upgrade-guide-to-tailwindcss2.md deleted file mode 100644 index 858fbf3..0000000 --- a/docs/content/articles/upgrade-guide-to-tailwindcss2.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -date: 2020-11-22T11:57:07+0000 -title: "Guide to upgrade Kutty to Tailwind 2" -description: "Use this as a guide to update from Kutty version 0.3.5 which supports till Tailwind 1 to Kutty Version 0.4 which supports Tailwind 2." ---- - -## Upgrade TailwindCSS First - -Go to [Tailwind Upgrade Guide](https://tailwindcss.com/docs/upgrading-to-v2) and make sure you upgrade to the latest version. - -TailwindCSS has changed the main color palette which is used in kutty with one change, I replaced `coolGray` with `blueGray` because it looks better. - -## Upgrade Kutty Version - -After updating Tailwind, use the following command to update kutty - -```sh -npm install kutty@latest -``` - -## Typography plugin is not bundled anymore - -Bundling [typography plugin](https://github.com/tailwindlabs/tailwindcss-typography) seems like a good idea at first, but it's a size increase for all the people who didn't need it. And people can't update it's version to their needs. - -Now you can install it yourself if you are using it. Make sure you install the latest version that supports TailwindCSS 2. - -```sh -npm install @tailwindcss/typography -``` - -## Alert, Badge, Spinner, Progress has utility classes to change colors - -This means we can update these components to have any number of colors which are available in tailwind. - -```html -
- Written by -
- - on -{{ .Description }}
- {{ .Content }} -