Skip to content

Commit c1365fb

Browse files
changes in postcss.config.js
1 parent 32ad8b6 commit c1365fb

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## basic-blog
2+
### A JAMstack Theme of Basic Blog Site with dark/light theme toggle support built using Nextjs, Tailwindcss and Markdown Files.

containers/Home/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function Home({ children }) {
1919
className={
2020
(theme == "dark" ? "theme-dark" : "theme-light") +
2121
" " +
22-
"min-w-xs min-h-screen bg-main text-main"
22+
"min-w-xs min-h-screen bg-main text-main font-poppins"
2323
}
2424
>
2525
<HomeHeader

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,15 @@
1212
"react": "^16.13.0",
1313
"react-dom": "^16.13.0",
1414
"react-highlight": "^0.12.0",
15-
"react-markdown": "^4.3.1"
15+
"react-markdown": "^4.3.1",
16+
"tailwindcss": "^1.6.2"
1617
},
1718
"devDependencies": {
19+
"eslint": "^7.6.0",
20+
"postcss-font-magician": "^2.3.1",
21+
"postcss-loader": "^3.0.0",
1822
"postcss-preset-env": "^6.7.0",
23+
"prettier": "^2.0.5",
1924
"tailwindcss": "^1.6.2"
2025
}
2126
}

postcss.config.js

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
11
module.exports = {
2-
plugins: ["tailwindcss", "postcss-preset-env", "autoprefixer"],
2+
plugins: {
3+
tailwindcss: {},
4+
"postcss-preset-env": {
5+
autoprefixer: {
6+
flexbox: "no-2009",
7+
},
8+
stage: 3,
9+
features: {
10+
"custom-properties": false,
11+
},
12+
},
13+
"postcss-font-magician": {
14+
foundries: ["google"],
15+
},
16+
},
317
};

tailwind.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
purge: ["./components/**/*.js", "./pages/**/*.js"],
2+
purge: false,
33
theme: {
44
extend: {
55
screens: {

0 commit comments

Comments
 (0)