=== Blockwright Blocks ===
Contributors: markrussellwp
Tags: blocks, dark-mode, site-logo, badge, block-editor
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Companion blocks for the Blockwright theme: a Stamp badge block and an optional dark-mode Site Logo. Works on any block theme.

== Description ==

Blockwright Blocks is the companion plugin for the Blockwright block theme. It adds a small set of blocks that work in the Site Editor and on any modern block theme, with sensible defaults and graceful fallbacks.

Everything here is optional and standards-based. There is no page builder, no required setup, and nothing is loaded from third parties.

**What you get**

* **Stamp block.** A rotated corner badge, like a rubber stamp, for pricing tables, cards, and feature callouts. Choose the corner, rotation, border style, color, and offset from the block toolbar and Inspector. It is fully transparent, so the card behind it shows through.
* **Dark mode Site Logo.** Add an optional second logo that is shown to visitors whose device is in dark mode. Two ordinary image uploads, swapped automatically with a native `<picture>` element. No SVG and no upload plugin required. Leave it empty to use your main logo in both modes.

Blockwright Blocks is designed to pair with the Blockwright theme, but the blocks degrade gracefully and work on other block themes too.

== Installation ==

1. In your dashboard, go to Plugins, then Add New, then Upload Plugin.
2. Upload the Blockwright Blocks zip and click Install Now.
3. Click Activate.
4. The Stamp block is available in the block inserter under Design. The Dark mode logo control appears in the Site Logo block Inspector in the Site Editor.

== Frequently Asked Questions ==

= Do I need the Blockwright theme to use this plugin? =

No. Blockwright Blocks is built to pair with the Blockwright theme, but the blocks carry their own fallbacks and work on other modern block themes.

= How does the dark mode logo work? =

Upload a second version of your logo in the Site Logo block Inspector, under "Dark mode logo". Visitors whose device is set to dark mode see that version; everyone else sees your main logo. The swap uses a native HTML `<picture>` element with a `prefers-color-scheme` media query, so there is no JavaScript and no layout shift.

= Where do I find the Stamp block? =

Open the block inserter (the plus button) and look under the Design category, or search for "Stamp". Drop it inside a Group or Column and it anchors to that container's corner.

== Roadmap ==

Blockwright Blocks is actively developed. Planned additions to the free plugin include:

* An Icon block with a curated icon set.
* Interactive blocks such as tabs and an accordion.
* A small library of section patterns.
* A color-scheme importer that builds an adaptive light and dark palette from a single brand color.

Priorities may shift based on user feedback.

== Changelog ==

= 1.0.0 =
* Initial public release: Stamp block and an optional dark mode Site Logo.
