@@ -419,16 +419,21 @@ export const createReactEmailBlockMappingForDefaultSchema = (
419419 style = { {
420420 border : "1px solid #ddd" ,
421421 padding : "8px 12px" ,
422- background : isHeader
423- ? "#f5f5f5"
424- : normalizedCell . props . backgroundColor !== "default"
425- ? normalizedCell . props . backgroundColor
426- : "#fff" ,
427- fontWeight : isHeader ? "bold" : "normal" ,
422+ background :
423+ normalizedCell . props . backgroundColor !== "default"
424+ ? t . options . colors [
425+ normalizedCell . props
426+ . backgroundColor as keyof typeof t . options . colors
427+ ] . background
428+ : "inherit" ,
429+ fontWeight : isHeader ? "bold" : undefined ,
428430 textAlign : normalizedCell . props . textAlignment || "left" ,
429431 color :
430432 normalizedCell . props . textColor !== "default"
431- ? normalizedCell . props . textColor
433+ ? t . options . colors [
434+ normalizedCell . props
435+ . textColor as keyof typeof t . options . colors
436+ ] . text
432437 : "inherit" ,
433438 ...defaultReactEmailTextStyles . tableCell . style ,
434439 ...textStyles . tableCell ?. style ,
@@ -456,12 +461,10 @@ export const createReactEmailBlockMappingForDefaultSchema = (
456461 < Text
457462 { ...textStyles . quote }
458463 style = { {
459- borderLeft : "4px solid #bdbdbd" ,
460- background : "#f9f9f9" ,
461- padding : "12px 16px" ,
462- margin : "16px 0" ,
464+ borderLeft : "2px solid #bdbdbd" ,
465+ padding : "0px 12px" ,
463466 fontStyle : "italic" ,
464- color : "#555" ,
467+ color : t . options . colors . gray . text ,
465468 display : "block" ,
466469 ...defaultReactEmailTextStyles . quote . style ,
467470 ...textStyles . quote ?. style ,
0 commit comments