Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated tailwindcss to v3 and other minor updates #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Change Log

## [1.2.0] 2022-01-11
Upgraded Tailwind CSS from version 2 to version 3
Followed https://tailwindcss.com/docs/upgrade-guide#renamed-gray-scales to update color names
- All `{type}-lightBlue-{number}` classes were renamed to `{type}-sky-{number}`
- All `{type}-blueGray-{number}` classes were renamed to `{type}-slate-{number}`
- Removed conflicting bg-white and bg-sky-500 class
- Moved tailwindcss, postcss and autoprefixer to `devDependencies` section in `package.json`
- Added `postcss.config.js`
### Major style changes
- The upgrade of Tailwind CSS from version 2 to version 3, will cause multiple style changes, check them out on the official Tailwind CSS websites:
- https://tailwindcss.com/blog/tailwindcss-v3
- https://tailwindcss.com/docs/upgrade-guide
### Deleted dependencies
- `@tailwindcss/forms` (Official repository says @tailwindcss/forms is designed for Tailwind CSS v2.0)
### Updated dependencies
```
@fortawesome/fontawesome-free 5.15.3 → 5.15.4
@popperjs/core 2.5.1 → 2.9.1
react 17.0.1 → 17.0.2
react-dom 17.0.1 → 17.0.2
tailwindcss 2.0.4 → 3.0.11
typescript 4.0.3 → 4.5.4
postcss 8.2.8 → 8.4.5
```

## [1.1.0] 2021-03-19
### Bug fixing
- Rename `master` branch to `main`
Expand Down
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"name": "notus-react",
"version": "1.1.0",
"version": "1.2.0",
"description": "Notus React - A free Tailwind CSS and React UI Kit and Admin by Creative Tim.",
"repository": "https://github.com/creativetimofficial/notus-react",
"license": "MIT",
"dependencies": {
"@fortawesome/fontawesome-free": "5.15.3",
"@popperjs/core": "2.9.1",
"@tailwindcss/forms": "0.2.1",
"autoprefixer": "10.2.5",
"@fortawesome/fontawesome-free": "5.15.4",
"@popperjs/core": "2.11.2",
"chart.js": "2.9.4",
"gulp": "4.0.2",
"gulp-append-prepend": "1.0.8",
"postcss": "8.2.8",
"react": "17.0.1",
"react-dom": "17.0.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-router": "5.2.0",
"react-router-dom": "5.2.0",
"react-scripts": "4.0.3",
"tailwindcss": "2.0.4"
"react-scripts": "4.0.3"
},
"devDependencies": {
"autoprefixer": "^10.4.1",
"postcss": "^8.4.5",
"tailwindcss": "^3.0.11"
},
"scripts": {
"start": "react-scripts start",
Expand All @@ -44,6 +45,6 @@
]
},
"optionalDependencies": {
"typescript": "4.2.3"
"typescript": "4.5.4"
}
}
6 changes: 6 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<title>Notus React by Creative Tim | Free and Open Source UI Kit</title>
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE"></script>
</head>
<body class="text-blueGray-700 antialiased">
<body class="text-slate-700 antialiased">
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
Expand Down
Loading