consid-webbteamet / municipio-color-extension
Municipio color extension for Lidingo
Package info
github.com/Consid-Webbteamet/municipio-color-extension
Type:wordpress-plugin
pkg:composer/consid-webbteamet/municipio-color-extension
Requires
- php: ^8.0
This package is not auto-updated.
Last update: 2026-05-12 14:44:21 UTC
README
WordPress plugin that adds extended color palettes to the Municipio Customizer.
Requirements
- PHP 8.0+
- WordPress
- Municipio (the plugin uses
\Municipio\Customizer\KirkiFieldand\Municipio\Customizer)
Installation
Composer
composer require consid-webbteamet/municipio-color-extension
In Bedrock, the plugin is installed to web/app/plugins/municipio-color-extension via type: wordpress-plugin.
Manual
- Place the plugin in
wp-content/plugins/municipio-color-extension - Activate the plugin in WordPress admin
Functionality
The plugin registers four extended color palettes in the Customizer:
- Primary
- Secondary
- Tertiary
- Quaternary
Each palette exposes shades (50-500) as CSS variables on :root, for example --color-primary-500.
Release and Packagist
- Ensure
composer.jsonhas the correctname,type,description, andlicense. - Commit and push to a public Git repository (GitHub/GitLab/Bitbucket).
- Create a semver tag and push it:
git tag v1.2.1 git push origin v1.2.1
- Log in to packagist.org, click Submit, and enter the repository URL.
- In the package settings on Packagist, enable the GitHub/GitLab hook for automatic updates on push/tag.
Development
No build process is required. The plugin consists of a single PHP file loaded directly by WordPress.