Fix API Endpoints
BIN
assets/img1.png
Normal file
|
After Width: | Height: | Size: 216 KiB |
BIN
assets/img2.png
Normal file
|
After Width: | Height: | Size: 210 KiB |
BIN
assets/img3.png
Normal file
|
After Width: | Height: | Size: 248 KiB |
BIN
assets/img4.png
Normal file
|
After Width: | Height: | Size: 82 KiB |
BIN
assets/img5.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
assets/img6.png
Normal file
|
After Width: | Height: | Size: 89 KiB |
BIN
assets/img7.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
assets/img8.png
Normal file
|
After Width: | Height: | Size: 9.9 KiB |
156
components/ui/themes/Readme.md
Normal file
@@ -0,0 +1,156 @@
|
||||
# CSS Themes
|
||||
|
||||
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 file to Theme variable
|
||||
|
||||
```
|
||||
components/ui/styleUtils.ts
|
||||
|
||||
eg:-
|
||||
import { PurpleTheme } from './PurpleTheme';
|
||||
|
||||
export const Theme = PurpleTheme;
|
||||
```
|
||||
|
||||
## **Logo and Background Images :**
|
||||
|
||||
To change the mosip logo
|
||||
|
||||
```
|
||||
MosipLogo = require(path of logo you want to use, in string format)
|
||||
|
||||
*logo can be png or svg
|
||||
|
||||
eg:-
|
||||
MosipLogo = require('../../assets/mosip-logo.png')
|
||||
```
|
||||
|
||||
To change the profile logo which is available as a demo while loading the vc details
|
||||
|
||||
```
|
||||
ProfileIcon = require(path of logo you want to use, in string format)
|
||||
|
||||
*logo can be png or svg
|
||||
|
||||
eg:-
|
||||
ProfileIcon: require('../../assets/placeholder-photo.png')
|
||||
```
|
||||
|
||||
To change the close card details background
|
||||
|
||||
```
|
||||
CloseCard = require(path of image you want to use, in string format)
|
||||
|
||||
*Image can be png or svg
|
||||
-width: 363 pixels
|
||||
-height: 236 pixels
|
||||
|
||||
eg:-
|
||||
CloseCard: require('../../assets/ID-closed.png')
|
||||
```
|
||||
|
||||
To change the OpenCard card details background
|
||||
|
||||
```
|
||||
OpenCard = require(path of image you want to use, in string format)
|
||||
|
||||
*Image can be png or svg
|
||||
-width: 363 pixels
|
||||
-height: 623 pixels
|
||||
|
||||
eg:-
|
||||
OpenCard: require('../../assets/ID-open.png')
|
||||
```
|
||||
|
||||
## **Colors :**
|
||||
|
||||
To change the color of TabItemText
|
||||
|
||||

|
||||
|
||||
```
|
||||
export const DefaultTheme = {
|
||||
Colors: {
|
||||
TabItemText: colors.Orange,
|
||||
...
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
To change the color of Details Label Text
|
||||
|
||||

|
||||
|
||||
```
|
||||
export const DefaultTheme = {
|
||||
Colors: {
|
||||
DetailsLabel: colors.Orange,
|
||||
...
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
To change the color of Details Label Text
|
||||
|
||||

|
||||
|
||||
```
|
||||
export const DefaultTheme = {
|
||||
Colors: {
|
||||
DetailsLabel: colors.Orange,
|
||||
...
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
To change the color of AddId Button Text and Background
|
||||
|
||||

|
||||
|
||||
```
|
||||
export const DefaultTheme = {
|
||||
Colors: {
|
||||
AddIdBtnBg: colors.Orange,
|
||||
AddIdBtnTxt: colors.Orange,
|
||||
...
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
To change the color of Icons
|
||||
|
||||

|
||||
|
||||
```
|
||||
export const DefaultTheme = {
|
||||
Colors: {
|
||||
Icon: colors.Orange,
|
||||
...
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
To change the Background Color of Icons
|
||||
|
||||

|
||||
|
||||
```
|
||||
export const DefaultTheme = {
|
||||
Colors: {
|
||||
IconBg: colors.Orange,
|
||||
...
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
To change the Color of Loading Transition
|
||||
|
||||

|
||||
|
||||
```
|
||||
export const DefaultTheme = {
|
||||
Colors: {
|
||||
Loading: colors.Orange,
|
||||
...
|
||||
}
|
||||
}
|
||||
```
|
||||