Custom edx/brand package getting overridden at some point in build process

Hi all,

I have a custom @edx/brand package that I have added to several forked MFEs. It works fine with mounted MFEs with tutor dev, but when I try in production, the custom package appears to be overwritten.

I have tried both a mfe-dockerfile-post-npm-install patch, and updating the MFEs respective package.json dependencies with "@edx/brand": "git+https://github.com/link-to-repo.git#tag_name"

Where am I going wrong?

Also, where is the override coming from? I can’t find it in any openedx or overhangio repos.

image

_variables.scss content

// Use this file to set SASS variables for @edx/paragon
// See _variables.scss in https://github.com/openedx/paragon/blob/master/scss/core/ for reference
$primary: #15376D;
$primary-light: #F2F7F8;
$light-drak: #374151;

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

I found the problem, it was my forked indigo theme.

[authn-common 4/7] RUN npm install '@edx/brand@git+https://github.com/link-to-repo.git#tag_name'
[authn-common 5/7] RUN npm install '@edx/brand@npm:@edly-io/indigo-brand-openedx@^1.0.0'

I hadn’t removed the ENV_PATCHES.