Download the PHP package cms-alchemy/textsize-control without Composer
On this page you can find all versions of the php package cms-alchemy/textsize-control. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cms-alchemy/textsize-control
More information about cms-alchemy/textsize-control
Files in cms-alchemy/textsize-control
Download cms-alchemy/textsize-control
More information about cms-alchemy/textsize-control
Files in cms-alchemy/textsize-control
Vendor cms-alchemy
Package textsize-control
Short Description Drupal module providing dynamic user-controlled text scaling with intelligent fallback strategies.
License GPL-3.0-or-later
Package textsize-control
Short Description Drupal module providing dynamic user-controlled text scaling with intelligent fallback strategies.
License GPL-3.0-or-later
Please rate this library. Is it a good library?
Informations about the package textsize-control
Textsize Control
A lightweight Drupal module that provides user-adjustable text scaling with intelligent fallback strategies.
This module adds a small floating UI (A- / A / A+) that allows users to dynamically adjust text size across the site. It is designed to work across a wide range of themes, including those that rely on rem, em, or fixed px units.
Installation
Features
- Persistent text scaling via
localStorage - Three scaling strategies:
- Root font-size scaling (preferred)
- Class-based scaling fallback
- Transform-based scaling (last resort)
- Automatic detection of whether scaling is effective
- Minimal UI injected on page load
- No configuration required
How It Works
The module attaches a Drupal behavior that:
- Injects a control UI into the page (
A-,A,A+) - Tracks the current scale and mode in
localStorage - Applies scaling using a CSS variable (
--text-scale) - Attempts scaling in this order:
- Root (
html { font-size }) - Class-based (
.textsize-mode-class) - Transform (
scale())
- Root (
If root scaling does not visibly affect the page, the module automatically falls back to alternative methods.
All versions of textsize-control with dependencies
PHP Build Version
Package Version
Requires
drupal/core Version
^9 || ^10 || ^11
The package cms-alchemy/textsize-control contains the following files
Loading the files please wait ...