@maizzle/framework 5.0.9 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/package.json +2 -1
- package/src/posthtml/index.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [5.1.0] - 2025-06-13
|
|
8
|
+
|
|
9
|
+
This release adds support for using Tailwind CSS color opacity modifiers in Gmail by automatically converting modern rgb/a syntax to the legacy, comma-separated syntax.
|
|
10
|
+
|
|
11
|
+
- feat: use commas instead of slash for css color opacity modifiers f26774b
|
|
12
|
+
|
|
7
13
|
## [5.0.9] - 2025-06-12
|
|
8
14
|
|
|
9
15
|
This release fixes an issue where builds failed because `preferUnitlessValues` (which is on by default) was throwing an error when encountering invalid inline CSS.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maizzle/framework",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "Maizzle is a framework that helps you quickly build HTML emails with Tailwind CSS.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
"pathe": "^2.0.0",
|
|
71
71
|
"postcss": "^8.4.49",
|
|
72
72
|
"postcss-calc": "^10.0.2",
|
|
73
|
+
"postcss-color-functional-notation": "^7.0.10",
|
|
73
74
|
"postcss-css-variables": "^0.19.0",
|
|
74
75
|
"postcss-import": "^16.1.0",
|
|
75
76
|
"postcss-safe-parser": "^7.0.0",
|
package/src/posthtml/index.js
CHANGED
|
@@ -17,6 +17,7 @@ import postcssCalc from 'postcss-calc'
|
|
|
17
17
|
import postcssImport from 'postcss-import'
|
|
18
18
|
import cssVariables from 'postcss-css-variables'
|
|
19
19
|
import postcssSafeParser from 'postcss-safe-parser'
|
|
20
|
+
import postcssColorFunctionalNotation from 'postcss-color-functional-notation'
|
|
20
21
|
|
|
21
22
|
import defaultComponentsConfig from './defaultComponentsConfig.js'
|
|
22
23
|
|
|
@@ -36,6 +37,7 @@ export async function process(html = '', config = {}) {
|
|
|
36
37
|
tailwindcss(get(config, 'css.tailwind', {})),
|
|
37
38
|
resolveCSSProps !== false && cssVariables(resolveCSSProps),
|
|
38
39
|
resolveCalc !== false && postcssCalc(resolveCalc),
|
|
40
|
+
postcssColorFunctionalNotation(),
|
|
39
41
|
...get(config, 'postcss.plugins', []),
|
|
40
42
|
],
|
|
41
43
|
merge(
|