Skip to content

Commit f49233d

Browse files
committedApr 14, 2024
upgrade next to v14
1 parent df19ede commit f49233d

File tree

3 files changed

+256
-191
lines changed

3 files changed

+256
-191
lines changed
 

‎package-lock.json

Lines changed: 246 additions & 185 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"type": "module",
1111
"postcss": {
1212
"plugins": {
13+
"postcss-import": {},
14+
"tailwindcss/nesting": "postcss-nesting",
1315
"tailwindcss": {},
1416
"autoprefixer": {}
1517
}
@@ -30,7 +32,7 @@
3032
"highlight.js": "^11.9.0",
3133
"highlightjs-rescript": "^0.2.2",
3234
"lz-string": "^1.4.4",
33-
"next": "^13.1.1",
35+
"next": "^14.2.1",
3436
"next-mdx-remote": "^4.4.1",
3537
"prettier": "^1.18.2",
3638
"react": "^18.2.0",
@@ -63,6 +65,7 @@
6365
"esbuild-loader": "^2.20.0",
6466
"postcss": "^8.4.27",
6567
"postcss-cli": "^8.3.0",
68+
"postcss-nesting": "^12.1.1",
6669
"reanalyze": "^2.16.0",
6770
"simple-functional-loader": "^1.2.1",
6871
"tailwindcss": "^3.3.3"

‎styles/main.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
@tailwind base;
2-
@tailwind components;
3-
41
@import './_hljs.css';
52
@import './_markdown.css';
63
@import "./_fonts.css";
74
@import "./_docsearch.css";
5+
6+
@tailwind base;
7+
@tailwind components;
8+
89
/* @import "./_typography.css"; */
910

1011
body {
@@ -47,7 +48,7 @@ body {
4748
}
4849
}
4950

50-
@responsive {
51+
@layer components {
5152
.hl-1 {
5253
@apply text-48 font-semibold tracking-tighter leading-tight text-black
5354
}
@@ -68,7 +69,7 @@ body {
6869
}
6970
}
7071

71-
@responsive {
72+
@layer components {
7273
.body-lg {
7374
@apply text-18 font-normal tracking-tight leading-4
7475
}

0 commit comments

Comments
 (0)
Please sign in to comment.