From 0de5e7c925dc68babdc6779cc4ed7195faf6b904 Mon Sep 17 00:00:00 2001 From: Scott Date: Fri, 18 Dec 2020 14:59:33 -0500 Subject: [PATCH] Add @tailwindcss/typography plugin --- package-lock.json | 6 ++++++ package.json | 1 + src/styles/global.css | 1 + tailwind.config.js | 2 +- 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 19c4d2e..bf15559 100644 --- a/package-lock.json +++ b/package-lock.json @@ -148,6 +148,12 @@ "fastq": "^1.6.0" } }, + "@tailwindcss/typography": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.3.1.tgz", + "integrity": "sha512-HyZ+3Eay8SGaPq7kcFoANZLr4EjeXQ19yjjb9fp6B0PHHpvZoe00jdsnpnooMEbx9J5rQ93nxPUG3MQmXVxGMQ==", + "dev": true + }, "@types/babel-types": { "version": "7.0.9", "resolved": "https://registry.npmjs.org/@types/babel-types/-/babel-types-7.0.9.tgz", diff --git a/package.json b/package.json index d1571f0..885a080 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "license": "ISC", "devDependencies": { "@11ty/eleventy": "^0.11.1", + "@tailwindcss/typography": "^0.3.1", "autoprefixer": "^10.1.0", "postcss": "^8.2.1", "postcss-cli": "^8.3.1", diff --git a/src/styles/global.css b/src/styles/global.css index f42b270..b5c61c9 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -1,2 +1,3 @@ @tailwind base; +@tailwind components; @tailwind utilities; diff --git a/tailwind.config.js b/tailwind.config.js index 94e906e..7ba651a 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -912,5 +912,5 @@ module.exports = { wordBreak: ["responsive"], zIndex: ["responsive", "focus-within", "focus"], }, - plugins: [], + plugins: [require("@tailwindcss/typography")], };