Municipio Overrides
Local Sass/CSS overrides loaded after Municipio styles.
by consid-webbteamet · github.com/consid-webbteamet/municipio-overrides
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/consid-webbteamet/municipio-overrides/archive/refs/heads/main.zipReadme
Municipio Overrides
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';
});Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v0.1.0 | Mar 3, 2026 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.