add tailwind typography plugin

This commit is contained in:
Inhji 2023-03-13 03:27:00 +01:00
parent 9e9b58f9a6
commit b98593a4c7

View file

@ -2,6 +2,7 @@
// https://tailwindcss.com/docs/configuration // https://tailwindcss.com/docs/configuration
const plugin = require("tailwindcss/plugin") const plugin = require("tailwindcss/plugin")
const colors = require("tailwindcss/colors")
const fs = require("fs") const fs = require("fs")
const path = require("path") const path = require("path")
@ -14,12 +15,13 @@ module.exports = {
theme: { theme: {
extend: { extend: {
colors: { colors: {
brand: "#FD4F00", code: colors.emerald
} }
}, },
}, },
plugins: [ plugins: [
require("@tailwindcss/forms"), require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
// Allows prefixing tailwind classes with LiveView classes to add rules // Allows prefixing tailwind classes with LiveView classes to add rules
// only when LiveView classes are applied, for example: // only when LiveView classes are applied, for example:
// //