diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-01-28 22:15:35 +0100 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-01-28 22:15:35 +0100 |
| commit | 806b0c4c393cc535996a73fa7304d16b08410cd8 (patch) | |
| tree | 1eea61c3ecf547580087ece1900b0653948a106c /config | |
| parent | a6f50848c05a80e81518fddfd52f72545d8e8c9a (diff) | |
Simplified style (no tailwind)
Diffstat (limited to 'config')
| -rw-r--r-- | config/postcss.config.js | 21 | ||||
| -rw-r--r-- | config/tailwind.config.js | 26 |
2 files changed, 0 insertions, 47 deletions
diff --git a/config/postcss.config.js b/config/postcss.config.js deleted file mode 100644 index ee0749c..0000000 --- a/config/postcss.config.js +++ /dev/null @@ -1,21 +0,0 @@ -const themeDir = __dirname + "/../"; - -const cssnanoPlugin = require("cssnano")({ - path: [themeDir], - preset: [ - "default", - { - discardComments: { - removeAll: true, - }, - }, - ], -}); - -module.exports = { - plugins: [ - require("tailwindcss")(themeDir + "./config/tailwind.config.js"), - require("autoprefixer")({ path: [themeDir] }), - ...(process.env.HUGO_ENVIRONMENT === "production" ? [cssnanoPlugin] : []), - ], -}; diff --git a/config/tailwind.config.js b/config/tailwind.config.js deleted file mode 100644 index a1e9f1b..0000000 --- a/config/tailwind.config.js +++ /dev/null @@ -1,26 +0,0 @@ -const path = require('path'); - -// When deploying to production, set the base directory to your Hugo project's root directory. -const baseDir = path.join(__dirname, '..'); - -/** @type {import('tailwindcss').Config} */ -module.exports = { - darkMode: 'class', - content: [ - `${baseDir}/themes/**/layouts/**/*.html`, - `${baseDir}/content/**/layouts/**/*.html`, - `${baseDir}/layouts/**/*.html`, - `${baseDir}/content/**/*.html`, - `${baseDir}/content/**/*.md`, - `${baseDir}/public/**/*.html`, - ], - theme: { - extend: { - fontFamily: { - 'sans': ['System UI', '-apple-system', 'BlinkMacSystemFont', 'avenir next', 'avenir', 'segoe ui', 'helvetica neue', 'helvetica', 'Cantarell', 'Ubuntu', 'roboto', 'noto', 'arial', 'sans-serif'], - }, - }, - }, - plugins: [], - variants: ['group-hover'], -} |
