Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .changeset/vivid-dark-surface.md

This file was deleted.

11 changes: 11 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @highlighters/core

## 1.2.0

### Minor Changes

- 506b8b5: Add a `vivid` option for keeping the ink visible on dark or saturated surfaces, where the default `multiply` optic (`backdrop x ink`) drives a colour toward black and the band disappears. When set, the ink composites on a private escape layer against the page instead of sinking under the shared multiply container. Reuses the existing dark-surface escape path; wins over `blendMode`; keeps the ink's own blend for self-overlaps (a mark crossing itself still darkens); no effect on the flat Tier C (Custom Highlight API) path.

- `true`: a translucent colour wash (`normal` blend). Deterministic and SSR-safe (no backdrop detection), but the band sits over the text, so light text on a dark surface is muted; pair it with a saturated ink.
- `"screen"`: composite the band with `screen`. On a dark surface this mirrors `multiply` on light paper: a bright band that keeps light text legible. It washes out on light surfaces.

Default `false`, so behaviour is unchanged for existing callers.

## 1.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@highlighters/core",
"version": "1.1.2",
"version": "1.2.0",
"description": "Framework-agnostic, realistic highlighter-pen marks for web text: multiline, deterministic, SSR-safe",
"author": "Jace Attard <hi@ja.mt> (https://ja.mt)",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @highlighters/react

## 1.2.0

### Patch Changes

- Updated dependencies [506b8b5]
- @highlighters/core@1.2.0

## 1.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@highlighters/react",
"version": "1.1.2",
"version": "1.2.0",
"description": "React hook and component for realistic highlighter marks",
"author": "Jace Attard <hi@ja.mt> (https://ja.mt)",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @highlighters/svelte

## 1.2.0

### Patch Changes

- Updated dependencies [506b8b5]
- @highlighters/core@1.2.0

## 1.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@highlighters/svelte",
"version": "1.1.2",
"version": "1.2.0",
"description": "Svelte action for realistic highlighter marks",
"author": "Jace Attard <hi@ja.mt> (https://ja.mt)",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions packages/vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @highlighters/vue

## 1.2.0

### Patch Changes

- Updated dependencies [506b8b5]
- @highlighters/core@1.2.0

## 1.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@highlighters/vue",
"version": "1.1.2",
"version": "1.2.0",
"description": "Vue composable and component for realistic highlighter marks",
"author": "Jace Attard <hi@ja.mt> (https://ja.mt)",
"license": "MIT",
Expand Down