From 3a652e17f6b8ef83ba7db35913e8a9bb5c4971f3 Mon Sep 17 00:00:00 2001 From: Ava Gaiety Wroten Date: Fri, 5 Feb 2021 21:19:24 -0600 Subject: [PATCH] Tailwind CDN to Postcss w/ purge --- .eleventy.js | 6 +- _includes/base-footer.html | 2 +- _includes/base-header.html | 2 +- package-lock.json | 916 +++++++++++++++++++++++++++++++++++++ package.json | 12 +- postcss.config.js | 6 + styles.css | 3 + tailwind.config.js | 11 + 8 files changed, 950 insertions(+), 8 deletions(-) create mode 100644 postcss.config.js create mode 100644 styles.css create mode 100644 tailwind.config.js diff --git a/.eleventy.js b/.eleventy.js index abad1ba..8160ab3 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -5,15 +5,15 @@ const markdownIt = require('markdown-it'); const markdownItClass = require('@toycode/markdown-it-class'); const markdownClassMapping = { - h1: ['text-4xl'], + h1: ['hide'], h2: ['text-3xl'], h3: ['text-2xl'], h4: ['text-xl'], h5: ['text-lg'], h6: ['font-bold'], a: ['text-blue-300', 'hover:underline'], - p: ['mb-2'], - img: ['max-w-lg'], + p: ['mb-2', 'text-gray-500'], + img: ['max-w-lg', 'rounded-lg', 'my-8'], }; module.exports = function(eleventyConfig) { diff --git a/_includes/base-footer.html b/_includes/base-footer.html index 353727e..439c196 100644 --- a/_includes/base-footer.html +++ b/_includes/base-footer.html @@ -1,4 +1,4 @@ -