UI customization
CSS Themes
Currently, Inji Wallet supports two themes:
default gradient
purple
We can customize the application by adding a new file under components/ui/themes and import that file in components/ui/styleUtils.ts and assign that to Theme variable in it. Default Gradient theme is referred as DefaultTheme.
Example:-
components/ui/styleUtils.ts
import { PurpleTheme } from './PurpleTheme';
export const Theme = PurpleTheme;App Logo and Background Images
To change app logo on homescreen
HomeScreenLogo: require(path of logo you want to use, in string format) in a theme file
Example:-
import HomeScreenLogo from '../../../assets/InjiHomeLogo.svg';
export const DefaultTheme = {
HomeScreenLogo: HomeScreenLogo
...
}Profile logo is part of downloaded verifiable credential. If credential doesn't face/photo attribute, default profile icon is being used.
To change the profile logo, In ProfileIcon.tsx, refer
Card background is driven by wellknown exposed by issuing authoriy. If background details are not exposed, default background is being used. To change card background on home screen if not provided by issuer:
To change background on card details screen if not provided by issuer
To change the top header icons:
In HomeScreenLayout.tsx, refer
Colours
To change the text, colour and logo for Tabs:

In main.ts, there are 4 tab screens variables
image can be changed by icon attribute, text and styles can be changed by options attribute in MainLayout.tsx while rendering Navigator
Card content text color is driven by wellknown exposed by issuing authoriy. If text color is not exposed, default color is being used. To change default Label text color if not provided by issuer:
To change default Label value color if not provided by issuer:
To change the colour of + icon colour:
In HomeScreen.tsx, refer DownloadFABIcon component
To change the colours of Label in Settings:
To change the background and label colour for version section:

To change colour on add new card page:
VC Card Customization:
The VC can be dynamically rendered with all the fields, and if the display properties provided in the .well-known, Inji Wallet downloads the .well-known and applies the below properties on the VC template to modify the VC render.
Text colour
Background colour
Logo change
Last updated
Was this helpful?