consid-webbteamet/municipio-color-extension
最新稳定版本:v1.0.1
Composer 安装命令:
composer require consid-webbteamet/municipio-color-extension
包简介
Municipio color extension for Lidingo
README 文档
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.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-02