Skip to content

Commit

Permalink
Merge pull request #6987 from pavinduLakshan/branding_fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan authored Oct 18, 2024
2 parents 9552843 + 50d00e6 commit 1e10ca0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/wise-bugs-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/admin.branding.v1": patch
---

Fix MyAccount Logo Visibility Issue in Light Mode within Branding Section
12 changes: 10 additions & 2 deletions features/admin.branding.v1/components/design/design-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,14 @@ export const DesignForm: FunctionComponent<DesignFormPropsInterface> = forwardRe
<ImagePreview
label={ t("extensions:develop.branding.forms.design.theme.images.favicon.preview") }
data-componentid={ `${componentId}-favicon-image-preview` }
style={
layout.activeLayout !== PredefinedLayouts.CUSTOM
? {
background: theme[ theme?.activeTheme ]?.colors?.background?.body?.main,
color: theme[theme.activeTheme]?.colors?.text?.primary
}
: null
}
>
<GenericIcon
square
Expand Down Expand Up @@ -632,8 +640,8 @@ export const DesignForm: FunctionComponent<DesignFormPropsInterface> = forwardRe
style={
layout.activeLayout !== PredefinedLayouts.CUSTOM
? {
background: theme[ theme?.activeTheme ]?.
colors?.background?.surface?.inverted
background: theme[ theme?.activeTheme ]?.colors?.background?.body?.main,
color: `${theme[theme.activeTheme]?.colors?.text?.primary} !important`
}
: null
}
Expand Down

0 comments on commit 1e10ca0

Please sign in to comment.