From 34361f82b8c9757c7304887444e2adbecfb8bbb2 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 12 Oct 2022 22:48:26 +0100 Subject: [PATCH] chore: use tailwind jit (#772) --- src/assets/css/tailwind.css | 2 + src/components/GithubRepos.vue | 54 +++---- src/components/ItemList.vue | 4 +- src/components/StaticMarkdownRender.ts | 4 +- src/components/ToggleColorMode.vue | 27 ++++ src/components/layout/TheSiteFooter.vue | 73 ++++----- src/components/layout/TheSiteHeader.vue | 141 ++++++------------ src/pages/index.vue | 4 - src/pages/talks.vue | 5 +- src/pages/uses.vue | 3 +- test/unit/__snapshots__/ItemList.spec.ts.snap | 2 +- 11 files changed, 130 insertions(+), 189 deletions(-) create mode 100644 src/components/ToggleColorMode.vue diff --git a/src/assets/css/tailwind.css b/src/assets/css/tailwind.css index 2f02db53..b5c61c95 100644 --- a/src/assets/css/tailwind.css +++ b/src/assets/css/tailwind.css @@ -1 +1,3 @@ @tailwind base; +@tailwind components; +@tailwind utilities; diff --git a/src/components/GithubRepos.vue b/src/components/GithubRepos.vue index 18106994..5e633858 100644 --- a/src/components/GithubRepos.vue +++ b/src/components/GithubRepos.vue @@ -1,14 +1,18 @@