Skip to content

Stormrunn3r/block-visibility-add-on-color-scheme

Repository files navigation

Block Visibility – Add-on Color Scheme

Block Visibility allows you to dynamically control which blocks are visible on your WordPress website and who can see them, which includes the ability to schedule blocks.

This Color Scheme add-on plugin for Block Visibility enables you to hide blocks based on the prefers-color-scheme CSS media feature. Additionally, it check the local storage for the theme setting and applies it accordingly.

Installation

  1. Make sure you are running the latest version of Block Visibility, WordPress, and you are using the Block Editor
  2. Download and activate the Block Visibility – Add-on Color Scheme plugin from GitHub.

Development

A local WordPress environment can be created using the @wordpress/env package and the included ``.wp-env.json` file.

Connect