Skip to content

Visuall Effects Plugin for Publii enables users to modify the visual aspects of webpages, thereby improving their accessibility and readability (or just for fun).

License

Notifications You must be signed in to change notification settings

htejera/publii-visual-effects-plugin

Repository files navigation

Marquee Feed Plugin for Publii

Visual Effects Plugin for Publii

The Visual Effects Plugin for Publii enhances your website with a variety of visual enhancements that users can apply to improve accessibility, readability, and overall user experience. This versatile tool offers a range of effects from color adjustments to text transformations.

Plugin demo

Open demo

Features

  • Diverse Visual Effects: Users can choose from a selection of visual effects to customize the website's appearance according to their preferences.
  • Persistent Effects Across Pages: Selected effects are saved and persist across different pages to ensure a consistent user experience.
  • Internationalization Support: Interface elements support multiple languages, broadening accessibility and usability for a global audience.

Available Visual Effects

  • Filter Grayscale: Changes the page’s colors to grayscale, offering a simplified and distraction-free viewing experience.
  • Filter Intensify: Adds saturation and contrast to the images on the site, making visuals more vibrant and engaging.
  • Filter Invert: Inverts the colors of the site, providing a high-contrast visual that can be easier to read for some users.
  • Filter Sepia: Applies a reddish-brown color scheme to the page, creating a warm and nostalgic look.
  • Fonts Monospace: Forces the text on the site to be displayed in a monospace font, enhancing readability and focus.
  • Transitions Forced: Makes page transitions more prominent, adding a dynamic and interactive feel to the website.
  • Transitions Removed: Disables transitions, resulting in a more static and stable user experience.
  • Hide Images: Hides all images on the site, focusing attention on textual content and reducing distractions.

Installation

  1. Download the plugin from the Release page.
  2. In Publii, go to "Plugins" > "Add new" and select the downloaded ZIP file
  3. Activate the plugin.
  4. Go to the "Plugins" section in the Publii app and enable the "Visual Effect Plugin".

Configuration

Configure the plugin through the Publii interface to set up:

  • Parent Element Selector: Define the CSS selector for the parent element where the visual effects toolbar will be inserted.
  • Language: Choose the language for the visual effects labels to match your audience's preferences.
  • Effect Customization: Adjust custom values for specific effects like grayscale, invert, and sepia intensity to tailor the visual experience to your site's design.

Plugin configuration

Usage

A combo will appear on your website, allowing visitors to select and apply their preferred visual effect. This effect will apply to the current page and persist as the user navigates through the site.

Supported Languages

English, Spanish, French, German, Italian, and Portuguese are currently supported. You can select the desired language for the plugin's interface in the settings.

Customization

You can customize the appearance of the visual effects combo to better match your website's design. This is achieved by overriding the default styles for the following CSS classes:

  • .visual-effects-toolbar: This class targets the container of the visual effects toolbar. Use it to modify the toolbar's overall appearance, such as its background color, border, and positioning.

  • .visual-effects-toolbar select: Targets the select dropdown within the toolbar. You can customize the dropdown's appearance, including fonts, colors, and padding, to ensure it fits seamlessly with your site's design.

  • .visual-effects-toolbar select:hover: This class applies to the select dropdown when hovered over. It allows you to set hover-specific styles, such as changes in color or cursor style, to improve user interaction and feedback.

Support

For support, feature requests, or to report a bug, please visit the GitHub issues page.

License

This plugin is released under the MIT License.

About

Visuall Effects Plugin for Publii enables users to modify the visual aspects of webpages, thereby improving their accessibility and readability (or just for fun).

Topics

Resources

License

Stars

Watchers

Forks