Skip to content

Commit 788291f

Browse files
author
yaroslav8765
committed
chore: synchronize with next branch
1 parent e9b0557 commit 788291f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

adminforth/documentation/docs/tutorial/03-Customization/01-branding.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,20 @@ auth: {
171171
- `over` - image will be over the whole login page with cover mode
172172
- `1/2`(default), `3/4`, `2/5`, `3/5` etc. - image will be in the left side of the login page with cover mode
173173

174+
### Disabling background blend mode
175+
176+
When using `loginBackgroundPosition: 'over'`, AdminForth applies a background blend mode by default to ensure text readability over the background image. If you want to disable this blend mode and display the background image without any overlay effects, you can add:
177+
178+
```ts title='./index.ts'
179+
auth: {
180+
...
181+
loginBackgroundImage: '@@/photo-1516501312919-d0cb0b7b60b8.jpeg',
182+
loginBackgroundPosition: 'over',
183+
//diff-add
184+
removeBackgroundBlendMode: true,
185+
}
186+
```
187+
174188
## Custom items in html head
175189

176190
If you want to add custom elements to the HTML head, you can define them in the configuration:

0 commit comments

Comments
 (0)