@bobfrankston/rmfmail 1.1.142 → 1.1.143

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.
@@ -701,13 +701,16 @@ async function createTinyMceEditor(container2, opts = {}) {
701
701
  // everything else so genuine HTML formatting (bold / italic /
702
702
  // tables / inline color) still comes through verbatim.
703
703
  content_style: [
704
- // High-contrast caret: a 1-2 px slate-coloured I-beam vanishes
705
- // against white especially on hi-DPI displays. caret-color
706
- // recolours the native insertion bar; caret-shape:block (CSS
707
- // UI L4, Chromium 125+) widens it into a solid block. The
708
- // block falls back to the default bar where unsupported, so
709
- // the color alone still buys most of the visibility win.
710
- "body { font-family: system-ui, sans-serif; font-size: 14px; caret-color: #d32f2f; caret-shape: block; }",
704
+ // High-contrast caret. Default native bar shape (thin vertical
705
+ // line, browser-drawn caret-shape:block was too aggressive).
706
+ // Color shifts by ancestor element so the caret doubles as a
707
+ // formatting-mode indicator: blue plain red bold green
708
+ // italic orange underline. Innermost wrapper wins on
709
+ // combinations (em inside strong shows green).
710
+ "body { font-family: system-ui, sans-serif; font-size: 14px; caret-color: #1e88e5; }",
711
+ "b, strong { caret-color: #d32f2f; }",
712
+ "i, em { caret-color: #2e7d32; }",
713
+ "u { caret-color: #ef6c00; }",
711
714
  "blockquote { border-left: 3px solid #c0c8d0; margin: 0 0 0 4px; padding: 2px 0 2px 10px; color: #555; }",
712
715
  "div.reply { margin-top: 0.5em; }",
713
716
  "div.reply > p:first-child { color: #666; font-size: 0.95em; margin: 0 0 4px 0; }",