@sharadox/email-web-library 0.6.0-polish.28 → 0.6.1-development.33

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 CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  What changed in each version of `@sharadox/email-web-library`, newest first.
4
4
 
5
+ ## 0.6.1
6
+
7
+ The lines between details are #E5E5E5, and #1A1A1A in dark themes.
8
+
5
9
  ## 0.6.0
6
10
 
7
11
  - **Breaking:** one layout for every company, the same in every mail app: a centered column 600 pixels wide with 16 pixels around it and no background (the mail app's own shows). The logo, heading, values, company name and site are `#000000`, labels and the rest `#5E5E5E`; in dark themes, where the mail app honors the rules (`@media (prefers-color-scheme: dark)`, and `[data-ogsc]` for Outlook.com, the only styles not inline), `#FFFFFF` and `#A1A1A1`, with the white logo ("logo-dark") instead of the black one (which has a white outline for apps that darken on their own). Spaces are 4, 8, 16 or 32 pixels; Geist where the reader has it, the device's own sans otherwise. Dark designs no longer showed as designed in some apps (Proton Mail on Android).
@@ -8,12 +8,12 @@ export declare const EMAIL_COLORS: {
8
8
  readonly light: {
9
9
  readonly strong: "#000000";
10
10
  readonly soft: "#5E5E5E";
11
- readonly line: "#5E5E5E";
11
+ readonly line: "#E5E5E5";
12
12
  };
13
13
  readonly dark: {
14
14
  readonly strong: "#FFFFFF";
15
15
  readonly soft: "#A1A1A1";
16
- readonly line: "#5E5E5E";
16
+ readonly line: "#1A1A1A";
17
17
  };
18
18
  };
19
19
  /** Geist where the reader has it, the device's own sans otherwise. */
@@ -5,8 +5,8 @@ import { escapeHtml } from "@sharadox/web-library/html/escape";
5
5
  * details. Each in a light theme and a dark one.
6
6
  */
7
7
  export const EMAIL_COLORS = {
8
- light: { strong: "#000000", soft: "#5E5E5E", line: "#5E5E5E" },
9
- dark: { strong: "#FFFFFF", soft: "#A1A1A1", line: "#5E5E5E" },
8
+ light: { strong: "#000000", soft: "#5E5E5E", line: "#E5E5E5" },
9
+ dark: { strong: "#FFFFFF", soft: "#A1A1A1", line: "#1A1A1A" },
10
10
  };
11
11
  /** Geist where the reader has it, the device's own sans otherwise. */
12
12
  export const EMAIL_FONT = "Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sharadox/email-web-library",
3
- "version": "0.6.0-polish.28",
3
+ "version": "0.6.1-development.33",
4
4
  "description": "Send email from web applications through any SMTP server, with message checks and clear errors.",
5
5
  "license": "SEE LICENSE IN LICENCA.md",
6
6
  "author": "Sharadox <contact@sharadox.com>",