Fix background shapes for dark mode
This commit is contained in:
parent
beeec8ba06
commit
c62cd9898a
2 changed files with 3 additions and 3 deletions
Binary file not shown.
|
@ -150,12 +150,12 @@ const normalizeColors = (soapboxConfig: SoapboxConfigMap): SoapboxConfigMap => {
|
|||
const maybeAddMissingColors = (soapboxConfig: SoapboxConfigMap): SoapboxConfigMap => {
|
||||
const colors = soapboxConfig.get('colors');
|
||||
|
||||
const missing = {
|
||||
const missing = ImmutableMap({
|
||||
'bg-shape-1': colors.getIn(['accent', '50']),
|
||||
'bg-shape-2': colors.getIn(['primary', '500']),
|
||||
};
|
||||
});
|
||||
|
||||
return soapboxConfig.set('colors', colors.mergeDeep(missing));
|
||||
return soapboxConfig.set('colors', missing.mergeDeep(colors));
|
||||
};
|
||||
|
||||
export const normalizeSoapboxConfig = (soapboxConfig: Record<string, any>) => {
|
||||
|
|
Loading…
Reference in a new issue