Skip to content

Commit 1b94a56

Browse files
authored
Merge pull request #65 from clean-commit/1.3.0
1.3.0 - tailwind 4 support added
2 parents 7e3cd3b + 1da6291 commit 1b94a56

File tree

9 files changed

+474
-519
lines changed

9 files changed

+474
-519
lines changed

.prettierrc

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"tailwindFunctions": [
1818
"cn"
1919
],
20+
"tailwindStylesheet": "./src/styles/main.css",
2021
"plugins": [
2122
"@trivago/prettier-plugin-sort-imports",
2223
"prettier-plugin-tailwindcss"

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 1.3.0 - April 9, 2025
4+
5+
- Support for Tailwind V4 added
6+
- Packages updates
7+
38
## 1.2.1 - December 3, 2024
49

510
- Gatsby bumped to 5.14.0

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![Henlo Starter](https://repository-images.githubusercontent.com/270961687/4085d990-9083-451d-b39b-5316579adf09)
22

3-
# Gatsby Starter Henlo (v1.2.1)
3+
# Gatsby Starter Henlo (v1.3.0)
44

55
[![Netlify Status](https://api.netlify.com/api/v1/badges/43532afb-3488-432b-8185-a745645a90d8/deploy-status)](https://app.netlify.com/sites/henlo/deploys)
66

@@ -14,13 +14,13 @@ It follows the [JAMstack architecture](https://jamstack.org) by using Git as a s
1414

1515
## Features
1616

17+
- 💇‍♀️ TailwindCSS V4 support with PostCSS & Tailwind Merge
1718
- Support for Gatsby v5
1819
- 💪 Battle-tested starting point for small & large web projects
1920
- 📄 Form Builder that enables Admins to create multiple forms with ease & Netlify Forms integration.
2021
- 🌗 Darkmode support
2122
- 🗺 Sitemaps using `gatsby-plugin-sitemap`
2223
- 🔥 Perfect score on Lighthouse for SEO, Accessibility and Performance
23-
- 💇‍♀️ TailwindCSS support with PostCSS & Tailwind Merge
2424
- 🔌 Support for Gatsby API functions
2525
- 🎇 Crazy fast images with `gatsby-plugin-image`
2626
- 🕵️‍♂️ Complete SEO configuration with graphql fragment and reusable components based on Head API

package.json

+16-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "gatsby-starter-henlo",
33
"description": "Minimalistic starter for Gatsby v5, optimized for SEO & Performance.",
4-
"version": "1.2.1",
4+
"version": "1.3.0",
55
"author": "Wojciech Kałużny <[email protected]>",
66
"browserslist": [
77
"defaults"
88
],
99
"dependencies": {
10-
"clsx": "^1.2.1",
11-
"decap-cms-app": "^3.1.10",
12-
"gatsby": "^5.9.1",
10+
"clsx": "^2.1.1",
11+
"decap-cms-app": "^3.6.2",
12+
"gatsby": "^5.14.3",
1313
"gatsby-plugin-brotli": "^2.1.0",
1414
"gatsby-plugin-dark-mode": "^1.1.2",
1515
"gatsby-plugin-decap-cms": "^4.0.4",
@@ -37,7 +37,7 @@
3737
"react-helmet": "^6.1.0",
3838
"react-hook-form": "^7.41.3",
3939
"react-markdown": "^8.0.4",
40-
"tailwind-merge": "^2.2.2"
40+
"tailwind-merge": "^3.2.0"
4141
},
4242
"keywords": [
4343
"gatsby"
@@ -63,15 +63,16 @@
6363
"preload-fonts": "gatsby-preload-fonts"
6464
},
6565
"devDependencies": {
66-
"@tailwindcss/forms": "^0.5.0",
67-
"@tailwindcss/typography": "^0.5.2",
68-
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
69-
"autoprefixer": "^10.4.19",
70-
"postcss": "^8.4.38",
71-
"postcss-nested": "^6.0.0",
72-
"prettier": "^3.2.5",
73-
"prettier-plugin-organize-imports": "^3.2.4",
74-
"prettier-plugin-tailwindcss": "^0.5.14",
75-
"tailwindcss": "^3.4.3"
66+
"@tailwindcss/forms": "^0.5.10",
67+
"@tailwindcss/postcss": "^4.1.3",
68+
"@tailwindcss/typography": "^0.5.16",
69+
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
70+
"postcss": "^8.5.3",
71+
"postcss-nested": "^7.0.2",
72+
"prettier": "^3.5.3",
73+
"prettier-plugin-organize-imports": "^4.1.0",
74+
"prettier-plugin-tailwindcss": "^0.6.11",
75+
"tailwindcss": "^4.1.3",
76+
"typescript": "^5.8.3"
7677
}
7778
}

postcss.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
module.exports = {
22
plugins: {
33
'postcss-nested': {},
4-
tailwindcss: {},
5-
autoprefixer: {},
4+
'@tailwindcss/postcss': {},
65
...(process.env.NODE_ENV === 'production' ? { cssnano: {} } : {}),
76
},
87
};

src/components/Form/partials/Checkbox.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default function Checkbox({
2424
value={true}
2525
aria-invalid={error ? 'true' : 'false'}
2626
required={data?.required}
27-
className="border-black-300 relative cursor-pointer rounded-sm bg-zinc-100 focus:ring-0"
27+
className="border-black-300 relative cursor-pointer rounded-xs bg-zinc-100 focus:ring-0"
2828
/>
2929
</div>
3030
<div className="text-dark-500 text-sm font-normal">{data?.label}</div>

src/styles/main.css

+24-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1-
@tailwind base;
2-
@tailwind components;
3-
@tailwind utilities;
1+
@import 'tailwindcss';
2+
3+
@plugin '@tailwindcss/typography';
4+
@plugin '@tailwindcss/forms';
5+
6+
@custom-variant dark (&:is(.dark *));
7+
8+
/*
9+
The default border color has changed to `currentcolor` in Tailwind CSS v4,
10+
so we've added these compatibility styles to make sure everything still
11+
looks the same as it did with Tailwind CSS v3.
12+
13+
If we ever want to remove these styles, we need to add an explicit border
14+
color utility to any element that depends on these defaults.
15+
*/
16+
@layer base {
17+
*,
18+
::after,
19+
::before,
20+
::backdrop,
21+
::file-selector-button {
22+
border-color: var(--color-gray-200, currentcolor);
23+
}
24+
}

tailwind.config.js

-9
This file was deleted.

0 commit comments

Comments
 (0)