Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/consid-webbteamet/municipio-overrides/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Builds and enqueues a single CSS file for local Municipio Sass overrides.
Source of truth
Do not rename this path unless you also update configuration:
wp-content/themes/municipio/assets/source/sass/custom/main.scss
main.scss is the only entrypoint and should import all custom partials manually, for example:
@use 'card';
@use 'buttons';
Output
Built CSS is written to:
wp-content/plugins/municipio-overrides/assets/dist/css/municipio-overrides.css
assets/dist is a build artifact and should not be committed.
Development
Run from wp-content/plugins/municipio-overrides:
npm run watch
One-time build:
npm run build
Runtime behavior
- CSS handle:
municipio-overrides-css - Enqueued after
municipio-csswhen available. - If
custom/main.scssis missing, plugin skips enqueue silently.
Advanced override
Source entry path can be customized with:
add_filter('municipio_overrides/source_entry', function (): string {
return WP_CONTENT_DIR . '/themes/municipio/assets/source/sass/custom/main.scss';
});Releases
1 release.
Tag
Published
v0.1.0
latest
Mar 3, 2026 7mo ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.