aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/postcss.config.js21
-rw-r--r--config/tailwind.config.js26
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'],
-}