=== ScrollStrike Lite – Animated Text & Underline Highlighter ===
Contributors: vineetkum25
Tags: text highlighter, highlight text, scroll animation, animated underline, gutenberg
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Highlight text on scroll with smooth animated marker sweeps, custom underlines, and Gutenberg block editor controls to boost reader engagement.

== Description ==

**ScrollStrike Lite** is a lightweight animated text highlighter plugin for WordPress that draws reader attention to key sentences, quotes, statistics, and takeaways as visitors scroll down your posts and pages.

Instead of static background colors that readers ignore, ScrollStrike Lite animates a smooth, pen-like left-to-right marker highlight and animated underline line-by-line when text enters the viewport.

### Key Features

* **Gutenberg Block Editor Integration:** Select any phrase in the WordPress block editor and click the ScrollStrike Lite toolbar icon to style and preview your highlight live.
* **Smooth Line-by-Line Scroll Animation:** Width-proportional left-to-right highlight sweep that glides naturally across single-line and multi-line wrapped paragraphs.
* **Custom Marker & Animated Underline Colors:** Choose from curated eye-comfort color presets or pick any custom hex color using the built-in 2D HSL color picker. Use background highlight, animated underline, or both together.
* **Auto-Remove Highlight Option:** Optionally wipe the highlight away line-by-line after a custom hold duration so text smoothly returns to normal after catching the reader's eye.
* **Scroll Trigger Delay & Font Emphasis Boost:** Set an exact trigger delay (in seconds) and optionally enlarge highlighted text slightly (+5%) on scroll for extra visual emphasis.
* **Reusable Highlight Preset Library:** Save your favorite highlight styles once and reuse them across multiple posts and pages, or update a preset globally from the admin library.
* **Link-Safe & Accessible:** Keeps inline links inside highlighted text fully clickable and respects `prefers-reduced-motion` accessibility settings.
* **Fast & Lightweight:** Zero bloat—frontend scripts and styles load only on pages that contain active highlights.

### How It Works

1. Open any post or page in the WordPress Block Editor (Gutenberg).
2. Highlight the text or sentence you want to emphasize.
3. Click the **ScrollStrike Lite** icon in the block toolbar to open the studio preview.
4. Pick your background highlight color, animated underline color, scroll delay, or auto-remove timing, then click **Deploy Highlight**.

### Looking for Floating Notes & Link Click Boosters?

If you want to attach floating callout notes or distraction-free Focus Mode prompts to highlighted links, check out **ScrollStrike Pro** at [https://fegopics.site/pro-version](https://fegopics.site/pro-version).

== Installation ==

1. Upload the `scrollstrike-lite` folder to the `/wp-content/plugins/` directory, or install the plugin directly through the WordPress **Plugins > Add New** screen.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Open any post or page in the Gutenberg Block Editor, select text, and click the **ScrollStrike Lite** toolbar icon to create your first scroll-triggered highlight.
4. Manage, edit, or view linked pages for all saved highlight presets under **ScrollStrike Lite** in your WordPress admin sidebar.

== Frequently Asked Questions ==

= Does this text highlighter work with the WordPress Gutenberg Block Editor? =

Yes. ScrollStrike Lite integrates directly into the Gutenberg rich-text toolbar so you can highlight words, phrases, or full multi-line sentences and preview the exact scroll animation before publishing.

= Can I use an animated underline without a background highlight color? =

Yes. You can toggle the Background Highlight Color and Animated Underline Color independently—use a soft marker background, a crisp animated underline, or combine both.

= Will highlighting text slow down my WordPress website? =

No. ScrollStrike Lite uses lightweight native IntersectionObserver and CSS transitions with zero heavy animation libraries, and its frontend assets only load on posts or pages where highlights are active.

= What happens if I highlight text that contains a link? =

ScrollStrike Lite preserves inline links inside highlighted passages so visitors can click links normally while the marker and underline animate smoothly across wrapped lines.

= Can I automatically remove the highlight after a few seconds? =

Yes. Enable the **Auto Remove Highlight** toggle in the studio and set your preferred hold duration in seconds. After the entrance animation completes and holds, the highlight wipes away line-by-line.

= Does ScrollStrike Lite support accessibility reduced-motion settings? =

Yes. When a visitor has `prefers-reduced-motion` enabled in their browser or operating system, highlights display cleanly without motion animation.

== Screenshots ==

1. Gutenberg Block Editor toolbar integration and live side-by-side highlight preview studio.
2. Smooth left-to-right animated text highlight and underline triggered on scroll.
3. Custom 2D HSL color picker with curated marker and underline color presets.
4. Centralized Highlight Library dashboard with instant search and linked pages view.

== Changelog ==

= 1.0.0 =
* Initial release of ScrollStrike Lite.
* Added Gutenberg rich-text toolbar button and live interactive preview studio.
* Added width-proportional line-by-line left-to-right marker and underline scroll animations.
* Added 2D HSL color picker, preset swatches, scroll trigger delay, +5% font emphasis boost, and auto-remove highlight mode.
* Added reusable Highlight Library dashboard with linked page tracking.

== Upgrade Notice ==

= 1.0.0 =
Initial release of ScrollStrike Lite.