Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/maizzle/maizzle.com/llms.txt

Use this file to discover all available pages before exploring further.

Six-digit HEX

Some email clients do not support 3-digit HEX colors like #fff in bgcolor or <font color="">. This Transformer ensures that all your HEX colors inside bgcolor and color attributes are defined with six digits. For better email client compatibility, it is enabled by default.

Disabling

You may disable it by setting it to false:
config.js
export default {
  css: {
    sixHex: false,
  }
}

API

app.js
import { sixHEX } from '@maizzle/framework'

const html = await ensureSixHEX('<td bgcolor="#fff"><font color=""#000>test</font></td>')