Skip to content

Commit 238a4cb

Browse files
committed
chore: upgrade dependencies
1 parent 2a3d4bd commit 238a4cb

File tree

6 files changed

+532
-360
lines changed

6 files changed

+532
-360
lines changed

_includes/base.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</head>
2626

2727
<body class="font-body subpixel-antialiased bg-slate-300 dark:bg-slate-800 text-slate-900 dark:text-slate-100" itemscope itemtype="http://schema.org/Blog">
28-
<header class="sticky z-10 top-0 w-full bg-zinc-700 bg-gradient-to-b from-black/0 to-black/15 text-white shadow-md shadow-black/50">
28+
<header class="sticky z-10 top-0 w-full bg-zinc-700 bg-linear-to-b from-black/0 to-black/15 text-white shadow-md shadow-black/50">
2929
<nav class="flex content-center items-center justify-between p-4">
3030
<a class="whitespace-nowrap text-4xl/6 font-bold" href="{{ site.url }}">
3131
<img class="inline-block"
@@ -35,7 +35,7 @@
3535
width="44"
3636
height="48"
3737
/>
38-
<span class="text-transparent bg-double bg-clip-text bg-gradient-to-tl from-rbow-teal via-rbow-yellow to-rbow-indigo animate-bg-slide">
38+
<span class="text-transparent bg-double bg-clip-text bg-linear-to-tl from-rbow-teal via-rbow-yellow to-rbow-indigo animate-bg-slide">
3939
{{ site.name }}
4040
</span>
4141
</a>

css/style.css

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
@tailwind base;
2-
@tailwind components;
3-
@tailwind utilities;
1+
@import 'tailwindcss';
2+
@config '../tailwind.config.js';
3+
4+
@utility rainbow {
5+
@apply bg-linear-to-br;
6+
--tw-gradient-stops:
7+
theme('color.rbow-orange'), theme('color.rbow-red'), theme('color.rbow-blue'),
8+
theme('color.rbow-teal');
9+
}
10+
411

512
@layer base {
613
h1 {
@@ -76,12 +83,6 @@
7683
@apply border;
7784
}
7885
}
79-
@layer utilities {
80-
.rainbow {
81-
@apply bg-gradient-to-r;
82-
--tw-gradient-stops: theme('colors.rbow-orange'), theme('colors.rbow-red'), theme('colors.rbow-blue'), theme('colors.rbow-teal');
83-
}
84-
}
8586

8687
@layer components {
8788
main pre {

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ eleventyImport:
55
collections: [post]
66
mostRecentCount: 10
77
---
8-
<img class="float-end rounded-xl shadow"
8+
<img class="float-end rounded-xl shadow-sm"
99
alt="A picture of myself, wearing a gray hat and a black T-shirt with the quote “I'm pickle Rick“ from the show Rick & Morty."
1010
width="214" height="321"
1111
srcset="/img/me.jpg, /img/[email protected] 2x"

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": "npm-run-all -p 'build:*'",
77
"serve": "npm-run-all -p 'serve:*'",
88
"build:11ty": "npx @11ty/eleventy",
9-
"build:tailwind": "tailwindcss -i css/style.css -o _site/css/style.css --postcss",
9+
"build:tailwind": "npx @tailwindcss/cli -i css/style.css -o _site/css/style.css --postcss",
1010
"serve:11ty": "npm run build:11ty -- --serve",
1111
"serve:tailwind": "npm run build:tailwind -- --watch"
1212
},
@@ -19,15 +19,16 @@
1919
"@11ty/eleventy": "^3.0.0",
2020
"@11ty/eleventy-plugin-rss": "^2.0.2",
2121
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
22+
"@tailwindcss/cli": "^4.0.16",
23+
"@tailwindcss/postcss": "^4.0.16",
2224
"@types/markdown-it": "^14.1.2",
23-
"autoprefixer": "^10.4.20",
2425
"cssnano": "^7.0.4",
2526
"esbuild": "^0.24.0",
2627
"markdown-it": "^14.1.0",
2728
"markdown-it-anchor": "^9.0.1",
2829
"npm-run-all": "^4.1.5",
2930
"postcss": "^8.4.40",
30-
"tailwindcss": "^3.4.7"
31+
"tailwindcss": "^4.0.16"
3132
},
3233
"packageManager": "[email protected]",
3334
"engines": {

postcss.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/** @type {import('postcss/lib/processor')} */
22
module.exports = {
33
plugins: {
4-
tailwindcss: {},
5-
autoprefixer: {},
4+
'@tailwindcss/postcss': {},
65
...process.env.NODE_ENV === 'production' ? { cssnano: {} } : {},
76
},
87
};

0 commit comments

Comments
 (0)