highlighter-pen 1.0.2 → 1.0.3

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/README.md CHANGED
@@ -34,7 +34,7 @@ It behaves like a real highlighter: drag your mouse over text and see a custom o
34
34
  ### CDN (recommended)
35
35
 
36
36
  ```html
37
- <script src="https://cdn.jsdelivr.net/gh/mimoklef/highlighter-pen@v1.0.2/dist/highlighter-pen.js"></script>
37
+ <script src="https://cdn.jsdelivr.net/gh/mimoklef/highlighter-pen@v1.0.3/dist/highlighter-pen.js"></script>
38
38
  <script>
39
39
  HighlighterPen().init();
40
40
  </script>
@@ -9,7 +9,7 @@
9
9
  "use strict";
10
10
 
11
11
  const DEFAULTS = {
12
- markerImage: "https://cdn.jsdelivr.net/gh/mimoklef/highlighter-pen@v1.0.2/assets/marker.png",
12
+ markerImage: "https://cdn.jsdelivr.net/gh/mimoklef/highlighter-pen@v1.0.3/assets/marker.png",
13
13
  markerZIndex: 10, // marker overlays on text
14
14
  hideNativeSelection: true, // hide ::selection (so only your marker is visible)
15
15
  inputSelectionYellow: true, // keep native selection in inputs/textarea and tint it yellow
@@ -62,7 +62,7 @@ marker{
62
62
  -webkit-box-decoration-break: clone;
63
63
  box-decoration-break: clone;
64
64
  padding: 0.8em 0;
65
- mix-blend-mode: multiply;
65
+ mix-blend-mode: overlay;
66
66
  opacity: 1;
67
67
  z-index: ${opt.markerZIndex} !important;
68
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "highlighter-pen",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Marker-like text selection overlay (live) using JavaScript + CSS injection",
5
5
  "license": "MIT",
6
6
  "main": "dist/highlighter-pen.js",