Skip to content

Commit d7d3320

Browse files
committed
update html version
1 parent d0f9270 commit d7d3320

File tree

5 files changed

+22
-18
lines changed

5 files changed

+22
-18
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<img src="https://img.shields.io/npm/dt/@material-tailwind/html.svg" alt="Total Downloads">
2323
</a>
2424
<a href="https://github.com/creativetimofficial/material-tailwind/releases">
25-
<img src="https://img.shields.io/badge/version-1.2.1-blue.svg" alt="Version" />
25+
<img src="https://img.shields.io/badge/version-1.2.3-blue.svg" alt="Version" />
2626
</a>
2727
</p>
2828

packages/material-tailwind-html/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<img src="https://img.shields.io/npm/dt/@material-tailwind/html.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-1.2.1-blue.svg" alt="Version" />
11+
<img src="https://img.shields.io/badge/version-1.2.3-blue.svg" alt="Version" />
1212
</a>
1313
<a href="https://www.material-tailwind.com/docs/html/license">
1414
<img src="https://img.shields.io/badge/license-MIT-blue" alt="Licenese">

packages/material-tailwind-html/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@material-tailwind/html",
33
"homepage": "https://material-tailwind.com",
4-
"version": "1.2.2",
4+
"version": "1.2.3",
55
"description": "@material-tailwind/html is an easy-to-use components library for Tailwind CSS inspired by Material Design.",
66
"repository": "https://github.com/creativetimofficial/material-tailwind",
77
"license": "MIT",
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
const hr = (theme) => ({
2-
"hr": {
2+
hr: {
33
height: theme("spacing.px"),
44
opacity: theme("opacity.25"),
55
borderTopWidth: theme("spacing.0"),
66

7-
"&.horizontal" : {
7+
"&.horizontal": {
88
backgroundColor: theme("colors.transparent"),
99

1010
"&.dark": {
11-
backgroundImage: "linear-gradient(theme('rotate.90'), theme('colors.transparent'), rgba(0,0,0,.4), theme('colors.transparent'))"
11+
backgroundImage:
12+
"linear-gradient(theme('rotate.90'), theme('colors.transparent'), rgba(0,0,0,.4), theme('colors.transparent'))",
1213
},
1314
"&.light": {
14-
backgroundImage: "linear-gradient(theme('rotate.90'), hsla(0,0%,100%,0), theme('colors.white'), hsla(0,0%,100%,0))"
15-
}
15+
backgroundImage:
16+
"linear-gradient(theme('rotate.90'), hsla(0,0%,100%,0), theme('colors.white'), hsla(0,0%,100%,0))",
17+
},
1618
},
1719

1820
"&.vertical": {
@@ -22,16 +24,18 @@ const hr = (theme) => ({
2224
right: theme("spacing.0"),
2325
top: theme("spacing.0"),
2426
width: theme("spacing.px"),
25-
27+
2628
"&.light": {
27-
backgroundImage: "background-image: linear-gradient(theme('rotate.90'), hsla(0,0%,100%,0), theme('colors.white'), hsla(0,0%,100%,0))"
29+
backgroundImage:
30+
"linear-gradient(theme('rotate.90'), hsla(0,0%,100%,0), theme('colors.white'), hsla(0,0%,100%,0))",
2831
},
29-
32+
3033
"&.dark": {
31-
backgroundImage: "linear-gradient(theme('rotate.90'), theme('colors.transparent'), rgba(0,0,0,.4), theme('colors.transparent'))"
32-
}
33-
}
34-
}
34+
backgroundImage:
35+
"linear-gradient(theme('rotate.90'), theme('colors.transparent'), rgba(0,0,0,.4), theme('colors.transparent'))",
36+
},
37+
},
38+
},
3539
});
3640

3741
module.exports.hr = hr;

packages/material-tailwind-html/utils/withMT.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const materialTailwindConfig = {
4646
colors,
4747
fontFamily: typography,
4848
boxShadow: shadows,
49-
screens: breakpoints
49+
screens: breakpoints,
5050
},
5151
plugins: [
5252
plugin(function ({ addComponents, theme }) {
@@ -77,8 +77,8 @@ const materialTailwindConfig = {
7777
addComponents(toggle(theme));
7878
addComponents(tooltip(theme));
7979
addComponents(typo(theme));
80-
})
81-
]
80+
}),
81+
],
8282
};
8383

8484
/**

0 commit comments

Comments
 (0)