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 - - -Success - -
- Loading... -
- -70% -``` - -## Update `default` key to `DEFAULT` - -While updating the primary colors we used to have default key in lowercase, tailwind changed this to be in uppercase. - -```js {hl_lines=[8]} -// tailwind.config.js -... -theme: { - extend: { - colors: { - primary: { - light: "#fefcbf", // For lighter primary color - DEFAULT: "#b7791f", // Normal primary color - dark: "#744210", // Used for hover, active, etc. - }, - }, - }, -}, -... -``` - -## Removed some unused social buttons - -Removed YouTube, Twitch, LinkedIn, Slack button colors as no one was using it and it can be recreated with utility classes. - -## Some card classes removed for utility classes - -`card-success`, `card-danger`, `card-dark`, `card-title`, `card-subtitle` also removed in favor of utility classes so that any colors and combinations can be used. - -## That's it - -Hopefully the upgrade was easy for you :) Please [raise an issue](https://github.com/praveenjuge/kutty/issues) if you have any problems or doubts, I'll help you get through it. diff --git a/docs/layouts/articles/list.html b/docs/layouts/articles/list.html deleted file mode 100644 index c52ad22..0000000 --- a/docs/layouts/articles/list.html +++ /dev/null @@ -1,23 +0,0 @@ -{{ define "main" }} - -
-
-

{{ .Title }}

-
-
- {{ $paginator := .Paginate (where .Pages "Type" "articles") 9 }} {{ range $paginator.Pages }} -
-

- -

-

- {{ .Title }} -

-

{{ .Description | truncate 300 }}

- Continue Reading -
- {{ end }} -
-
- -{{end}} diff --git a/docs/layouts/articles/single.html b/docs/layouts/articles/single.html deleted file mode 100644 index 011c744..0000000 --- a/docs/layouts/articles/single.html +++ /dev/null @@ -1,46 +0,0 @@ -{{ define "main" }} - -
-
-

{{ .Title }}

-

- Written by - - on -

-
- -
-

{{ .Description }}

- {{ .Content }} -
- - - - Kutty - - {{ .Permalink }} - {{ .Params.image | absURL }} - -
- -
- - - - - See all articles - -
- -{{end}} \ No newline at end of file diff --git a/docs/layouts/partials/meta.html b/docs/layouts/partials/meta.html index 7d38662..24e0365 100644 --- a/docs/layouts/partials/meta.html +++ b/docs/layouts/partials/meta.html @@ -81,7 +81,6 @@ -