WP Manifestindependent plugin directory
manifest / themes / municipio-overrides

Municipio Overrides

Local Sass/CSS overrides loaded after Municipio styles.

by consid-webbteamet · github.com/consid-webbteamet/municipio-overrides

0stars
0forks

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.zip

Readme

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-css when available.
  • If custom/main.scss is 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

TagPublished
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.