@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.
@@ -171,13 +171,16 @@ export async function createTinyMceEditor(container, opts = {}) {
171
171
  // everything else so genuine HTML formatting (bold / italic /
172
172
  // tables / inline color) still comes through verbatim.
173
173
  content_style: [
174
- // High-contrast caret: a 1-2 px slate-coloured I-beam vanishes
175
- // against white especially on hi-DPI displays. caret-color
176
- // recolours the native insertion bar; caret-shape:block (CSS
177
- // UI L4, Chromium 125+) widens it into a solid block. The
178
- // block falls back to the default bar where unsupported, so
179
- // the color alone still buys most of the visibility win.
180
- "body { font-family: system-ui, sans-serif; font-size: 14px; caret-color: #d32f2f; caret-shape: block; }",
174
+ // High-contrast caret. Default native bar shape (thin vertical
175
+ // line, browser-drawn caret-shape:block was too aggressive).
176
+ // Color shifts by ancestor element so the caret doubles as a
177
+ // formatting-mode indicator: blue plain red bold green
178
+ // italic orange underline. Innermost wrapper wins on
179
+ // combinations (em inside strong shows green).
180
+ "body { font-family: system-ui, sans-serif; font-size: 14px; caret-color: #1e88e5; }",
181
+ "b, strong { caret-color: #d32f2f; }",
182
+ "i, em { caret-color: #2e7d32; }",
183
+ "u { caret-color: #ef6c00; }",
181
184
  "blockquote { border-left: 3px solid #c0c8d0; margin: 0 0 0 4px; padding: 2px 0 2px 10px; color: #555; }",
182
185
  "div.reply { margin-top: 0.5em; }",
183
186
  "div.reply > p:first-child { color: #666; font-size: 0.95em; margin: 0 0 4px 0; }",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/rmfmail",
3
- "version": "1.1.142",
3
+ "version": "1.1.143",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -45,7 +45,7 @@
45
45
  "@bobfrankston/msger": "^0.1.383",
46
46
  "@bobfrankston/node-tcp-transport": "^0.1.8",
47
47
  "@bobfrankston/oauthsupport": "^1.0.27",
48
- "@bobfrankston/rmf-tiny": "^0.1.16",
48
+ "@bobfrankston/rmf-tiny": "^0.1.17",
49
49
  "@bobfrankston/smtp-direct": "^0.1.8",
50
50
  "@bobfrankston/tcp-transport": "^0.1.6",
51
51
  "@capacitor/android": "^8.3.0",
@@ -125,7 +125,7 @@
125
125
  "@bobfrankston/msger": "^0.1.383",
126
126
  "@bobfrankston/node-tcp-transport": "^0.1.8",
127
127
  "@bobfrankston/oauthsupport": "^1.0.27",
128
- "@bobfrankston/rmf-tiny": "^0.1.16",
128
+ "@bobfrankston/rmf-tiny": "^0.1.17",
129
129
  "@bobfrankston/smtp-direct": "^0.1.8",
130
130
  "@bobfrankston/tcp-transport": "^0.1.6",
131
131
  "@capacitor/android": "^8.3.0",