Open mkm17 opened 2 months ago
That would be a great enhancement. We definitely need to validate gradients too. If we're adding background images, we should consider gradients as well. Adding all these options to spo page section add
seems like the best approach. We could also use spo page section background set
, but that feels a bit overkill. One more feature I'd like is setting a focus point for the image. It's not the easiest to define, but it's quite interesting.
@mkm17 awesome suggestion:
overlayColor
? white/dark? @Jwaegebaert, thank you for the comment. I will then check the gradient option and extend the specification of the command. Regarding the focus, I believe it may need to be handled by the height and width parameters, but I am not sure how to handle it.
@Adam-it, ok, I will check how it is set and add it to the specification π The overlayColor can be provided in #rrggbb format
Hi, I have updated the specification. The settings for the collapsible section and gradient background have been added. :)
Hi, in the latest updates of SharePoint Online, there's a new feature allowing you to set different types of section backgrounds.
Here are the options that I can see in the page source when the background image option is used.
Is it worth adding so many new parameters for this single option? Perhaps you have any recommendations regarding this matter. I will also explore the gradient option; maybe some parameters could be shared (like overlay ones).
And if you don't mind, I can take on this task, as I have already conducted some research.