Change transparency into opacity (#36612)

This commit is contained in:
Simon Lamon 2025-01-03 18:25:55 +01:00 committed by GitHub
parent 43afc5867d
commit 90d5287c94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -208,7 +208,7 @@ background:
required: false
description: Sets the background image to use behind the view.
type: string
transparency:
opacity:
required: false
description: Adjust the background's opacity, from fully opaque to transparent.
type: integer
@ -241,7 +241,7 @@ background:
# Example background section in view yaml
background:
image: /local/background.png
transparency: 50 # any percentage between 0 and 100
opacity: 50 # any percentage between 0 and 100
size: auto # auto, cover, contain
alignment: center # top left, top center, top right, center left, center, center right, bottom left, bottom center, bottom right
repeat: no-repeat # repeat, no-repeat