@sensiblestats/widget-embed 0.7.0 → 0.7.1

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
@@ -1,5 +1,11 @@
1
1
  # @sensiblestats/widget-embed
2
2
 
3
+ ## 0.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Rebuild the CDN embed bundle so it carries the widget-react add-to-slip CTA color change (embed inlines widget-react via `noExternal`, so a react-only style change still requires a new embed release).
8
+
3
9
  ## 0.7.0
4
10
 
5
11
  ### Minor Changes
@@ -38,6 +38,7 @@ Error generating stack: `+o.message+`
38
38
  .ss-w-root, .ss-w-root * { box-sizing: border-box; margin: 0; padding: 0; }
39
39
  .ss-w-root {
40
40
  --ss-w-accent: #17936a;
41
+ --ss-w-cta: #f5a623; --ss-w-cta-ink: #1b1300;
41
42
  --ss-w-ink: #14181d; --ss-w-faint: #6b7580; --ss-w-line: #e4e8ec;
42
43
  --ss-w-panel: #ffffff; --ss-w-bubble: #f3f5f7; --ss-w-nav: #0e1622;
43
44
  --ss-w-radius: 16px; --ss-w-offset-x: 20px; --ss-w-offset-y: 20px;
@@ -46,16 +47,19 @@ Error generating stack: `+o.message+`
46
47
  }
47
48
  @media (prefers-color-scheme: dark) {
48
49
  .ss-w-root[data-ss-w-theme="auto"] {
49
- --ss-w-accent: #37c891; --ss-w-ink: #e8edf2; --ss-w-faint: #8b95a1;
50
+ --ss-w-accent: #37c891; --ss-w-cta: #ffb638; --ss-w-cta-ink: #1b1300;
51
+ --ss-w-ink: #e8edf2; --ss-w-faint: #8b95a1;
50
52
  --ss-w-line: #2a3441; --ss-w-panel: #141b24; --ss-w-bubble: #1e2732; --ss-w-nav: #0a0f16;
51
53
  }
52
54
  }
53
55
  .ss-w-root[data-ss-w-theme="dark"] {
54
- --ss-w-accent: #37c891; --ss-w-ink: #e8edf2; --ss-w-faint: #8b95a1;
56
+ --ss-w-accent: #37c891; --ss-w-cta: #ffb638; --ss-w-cta-ink: #1b1300;
57
+ --ss-w-ink: #e8edf2; --ss-w-faint: #8b95a1;
55
58
  --ss-w-line: #2a3441; --ss-w-panel: #141b24; --ss-w-bubble: #1e2732; --ss-w-nav: #0a0f16;
56
59
  }
57
60
  .ss-w-root[data-ss-w-theme="light"] {
58
- --ss-w-accent: #17936a; --ss-w-ink: #14181d; --ss-w-faint: #6b7580;
61
+ --ss-w-accent: #17936a; --ss-w-cta: #f5a623; --ss-w-cta-ink: #1b1300;
62
+ --ss-w-ink: #14181d; --ss-w-faint: #6b7580;
59
63
  --ss-w-line: #e4e8ec; --ss-w-panel: #ffffff; --ss-w-bubble: #f3f5f7; --ss-w-nav: #0e1622;
60
64
  }
61
65
 
@@ -184,7 +188,7 @@ Error generating stack: `+o.message+`
184
188
 
185
189
  /* add to slip */
186
190
  .ss-w-slip { position: relative; display: flex; }
187
- .ss-w-slip-btn { font-size: 11.5px; font-weight: 620; color: #fff; background: var(--ss-w-accent); border: 1px solid var(--ss-w-accent); border-radius: 14px; padding: 5px 12px; cursor: pointer; }
191
+ .ss-w-slip-btn { font-size: 11.5px; font-weight: 620; color: var(--ss-w-cta-ink); background: var(--ss-w-cta); border: 1px solid var(--ss-w-cta); border-radius: 14px; padding: 5px 12px; cursor: pointer; }
188
192
  .ss-w-slip-btn:disabled { opacity: .6; cursor: default; background: var(--ss-w-bubble); color: var(--ss-w-faint); border-color: var(--ss-w-line); }
189
193
  .ss-w-toast { position: absolute; top: calc(100% + 6px); left: 0; z-index: 1; max-width: 100%; font-size: 11px; font-weight: 560; border-radius: 10px; padding: 5px 10px; overflow-wrap: anywhere; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
190
194
  .ss-w-toast-success { color: var(--ss-w-accent); background: color-mix(in srgb, var(--ss-w-accent) 14%, var(--ss-w-panel)); border: 1px solid color-mix(in srgb, var(--ss-w-accent) 30%, var(--ss-w-line)); }