Skip to content

Commit 594b4b4

Browse files
committed
update website and react version
1 parent 776d251 commit 594b4b4

File tree

14 files changed

+100
-56
lines changed

14 files changed

+100
-56
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<img src="https://img.shields.io/npm/dt/@material-tailwind/react.svg" alt="Total Downloads">
1212
</a>
1313
<a href="https://github.com/creativetimofficial/material-tailwind/releases">
14-
<img src="https://img.shields.io/badge/version-2.1.3-blue.svg" alt="Version" />
14+
<img src="https://img.shields.io/badge/version-2.1.4-blue.svg" alt="Version" />
1515
</a>
1616
</p>
1717
<p align="center">

docs-content/react/releases.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
export const releases = [
2+
{
3+
version: "2.1.4",
4+
date: "Octuber 18, 2023",
5+
name: "@material-tailwind/react",
6+
description: "Material Tailwind v2.1.4",
7+
content: [
8+
{
9+
title: "patch changes",
10+
data: ["Update <Button /> theme."],
11+
},
12+
],
13+
},
214
{
315
version: "2.1.3",
416
date: "Octuber 17, 2023",

documentation/react/release-notes.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Release Notes - Material Tailwind
33
description: Tailwind CSS is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override.
44
navigation: [
5+
"v2.1.4",
56
"v2.1.3",
67
"v2.1.2",
78
"v2.1.1",

packages/material-tailwind-react/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<img src="https://img.shields.io/npm/dt/@material-tailwind/react.svg" alt="Total Downloads">
99
</a>
1010
<a href="https://github.com/creativetimofficial/material-tailwind/releases">
11-
<img src="https://img.shields.io/badge/version-2.1.3-blue.svg" alt="Version" />
11+
<img src="https://img.shields.io/badge/version-2.1.4-blue.svg" alt="Version" />
1212
</a>
1313
<a href="https://www.material-tailwind.com/docs/react/license">
1414
<img src="https://img.shields.io/badge/license-MIT-blue" alt="Licenese">

packages/material-tailwind-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@material-tailwind/react",
33
"homepage": "https://material-tailwind.com",
4-
"version": "2.1.3",
4+
"version": "2.1.4",
55
"description": "@material-tailwind/react is an easy-to-use components library for ReactJS & Tailwind CSS inspired by Material Design.",
66
"repository": "https://github.com/creativetimofficial/material-tailwind",
77
"license": "MIT",

packages/material-tailwind-react/src/theme/components/button/buttonFilled.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const buttonFilled: object = {
1616
active: "active:opacity-[0.85] active:shadow-none",
1717
},
1818
gray: {
19-
background: "bg-gray-500",
19+
background: "bg-gray-900",
2020
color: "text-white",
2121
shadow: "shadow-md shadow-gray-900/10",
2222
hover: "hover:shadow-lg hover:shadow-gray-900/20",

packages/material-tailwind-react/src/theme/components/button/buttonGradient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const buttonGradient: object = {
1515
active: "active:opacity-[0.85]",
1616
},
1717
gray: {
18-
background: "bg-gradient-to-tr from-gray-600 to-gray-400",
18+
background: "bg-gradient-to-tr from-gray-900 to-gray-800",
1919
color: "text-white",
2020
shadow: "shadow-md shadow-gray-900/10",
2121
hover: "hover:shadow-lg hover:shadow-gray-900/20",

pages/docs/[...slug].tsx

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,19 @@ export default function Page({ frontMatter, mdxSource, slug }) {
329329
}
330330
}, [frameworkType, slug]);
331331

332-
const replaceMatch = ["html/what-is-tailwind-css", "html/license", "html/colors", "html/fonts", "html/shadows", "html/screens"];
332+
const replaceMatch = [
333+
"html/what-is-tailwind-css",
334+
"html/license",
335+
"html/colors",
336+
"html/fonts",
337+
"html/shadows",
338+
"html/screens",
339+
];
333340
const headLink = slug.join("/");
334341
const matchTheSlug = replaceMatch.includes(headLink);
335-
const canonical = matchTheSlug ? headLink.replace("html/", "react/") : headLink;
342+
const canonical = matchTheSlug
343+
? headLink.replace("html/", "react/")
344+
: headLink;
336345

337346
return (
338347
<>
@@ -346,7 +355,7 @@ export default function Page({ frontMatter, mdxSource, slug }) {
346355
</Head>
347356
<Alert className="w-full justify-center rounded-none">
348357
<div className="flex items-center justify-center gap-4">
349-
NEW | Material Tailwind PRO, a comprehensive compilation of 200+
358+
NEW | Material Tailwind PRO, a comprehensive compilation of 170+
350359
blocks, now available for your use.
351360
<Link href="/blocks">
352361
<Button size="sm" color="white">

pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ export default function Presentation() {
3737
content="tailwind css, material design, react, next, react.js, next.js, tailwind template, tailwind css theme, tailwindcss components"
3838
/>
3939
</Head>
40-
<Alert className="w-full justify-center rounded-none">
40+
<Alert className="w-full justify-center rounded-none">
4141
<div className="flex items-center justify-center gap-4">
42-
NEW | Material Tailwind PRO, a comprehensive compilation of 200+
42+
NEW | Material Tailwind PRO, a comprehensive compilation of 170+
4343
blocks, now available for your use.
4444
<Link href="/blocks">
4545
<Button size="sm" color="white">

public/image/header-bg.png

-729 KB
Loading

0 commit comments

Comments
 (0)