text: const BLOG = require('./blog.config')
  const { fontFamily } = require('tailwindcss/defaultTheme')
  const CJK = require('./lib/cjk')
  const fontSansCJK = !CJK()
    ? []
    : [`"Noto Sans CJK ${CJK()}"`, `"Noto Sans ${CJK()}"`]
  const fontSerifCJK = !CJK()
    ? []
    : [`"Noto Serif CJK ${CJK()}"`, `"Noto Serif ${CJK()}"`]
  
  module.exports = {
    purge: ['./pages/**/*.js', './components/**/*.js', './layouts/**/*.js'],
    darkMode: BLOG.appearance === 'class' ? 'media' : 'class', // or 'media' or 'class'
    theme: {
      extend: {
        colors: {
          day: {
            DEFAULT: BLOG.lightBackground || '#ffffff'
          },
          night: {
            DEFAULT: BLOG.darkBackground || '#111827'
          }
        },
        fontFamily: {
          sans: ['"IBM Plex Sans"', ...fontSansCJK, ...fontFamily.sans],
          serif: ['"Source Serif"', ...fontSerifCJK, ...fontFamily.serif],
          noEmoji: [
            '"IBM Plex Sans"',
            'ui-sans-serif',
            'system-ui',
            '-apple-system',
            'BlinkMacSystemFont',
            'sans-serif'
          ]
        }
      }
    },
    variants: {
      extend: {}
    },
    plugins: []
  }
  