// See the Tailwind configuration guide for advanced usage // https://tailwindcss.com/docs/configuration const plugin = require("tailwindcss/plugin") const fs = require("fs") const path = require("path") module.exports = { content: [ "./js/**/*.js", "../lib/web.ex", "../lib/web/**/*.*ex" ], theme: { extend: { typography: ({ theme }) => ({ sloanely_but_surely: { css: { '--tw-prose-body': theme('colors.black'), '--tw-prose-headings': theme('colors.black'), '--tw-prose-lead': theme('colors.black'), '--tw-prose-links': theme('colors.black'), '--tw-prose-bold': theme('colors.black'), '--tw-prose-counters': theme('colors.black'), '--tw-prose-bullets': theme('colors.black'), '--tw-prose-hr': theme('colors.black'), '--tw-prose-quotes': theme('colors.black'), '--tw-prose-quote-borders': theme('colors.gray[200]'), '--tw-prose-captions': theme('colors.black'), '--tw-prose-code': theme('colors.black'), '--tw-prose-pre-code': theme('colors.black'), '--tw-prose-pre-bg': theme('colors.black'), '--tw-prose-th-borders': theme('colors.gray[400]'), '--tw-prose-td-borders': theme('colors.gray[400]'), // '--tw-prose-invert-body': theme('colors.pink[200]'), // '--tw-prose-invert-headings': theme('colors.white'), // '--tw-prose-invert-lead': theme('colors.pink[300]'), // '--tw-prose-invert-links': theme('colors.white'), // '--tw-prose-invert-bold': theme('colors.white'), // '--tw-prose-invert-counters': theme('colors.pink[400]'), // '--tw-prose-invert-bullets': theme('colors.pink[600]'), // '--tw-prose-invert-hr': theme('colors.pink[700]'), // '--tw-prose-invert-quotes': theme('colors.pink[100]'), // '--tw-prose-invert-quote-borders': theme('colors.pink[700]'), // '--tw-prose-invert-captions': theme('colors.pink[400]'), // '--tw-prose-invert-code': theme('colors.white'), // '--tw-prose-invert-pre-code': theme('colors.pink[300]'), // '--tw-prose-invert-pre-bg': 'rgb(0 0 0 / 50%)', // '--tw-prose-invert-th-borders': theme('colors.pink[600]'), // '--tw-prose-invert-td-borders': theme('colors.pink[700]'), } } }) }, }, plugins: [ require("@tailwindcss/forms"), require("@tailwindcss/typography"), // Allows prefixing tailwind classes with LiveView classes to add rules // only when LiveView classes are applied, for example: // //