feat: add minHeight and heading/body color controls to FDHeroBlock
This commit is contained in:
parent
7bc3c23381
commit
ea230696f7
@ -230,11 +230,16 @@ export interface FDHeroBlock {
|
||||
* Fullbreddsbild bakom texten. Lämna tom för enfärgad bakgrund.
|
||||
*/
|
||||
backgroundImage?: (number | null) | Media;
|
||||
/**
|
||||
* Kontrollerar sektionens minsta höjd när bakgrundsbild används
|
||||
*/
|
||||
minHeight?: ('auto' | 'sm' | 'md' | 'lg' | 'screen') | null;
|
||||
/**
|
||||
* Hur mörk overlay över bilden (för läsbarhet)
|
||||
*/
|
||||
overlayOpacity?: ('30' | '50' | '70') | null;
|
||||
textColor?: ('auto' | 'white' | 'navy') | null;
|
||||
headingColor?: ('auto' | 'yellow' | 'white' | 'navy') | null;
|
||||
bodyColor?: ('auto' | 'white' | 'navy' | 'yellow') | null;
|
||||
/**
|
||||
* Ignoreras om bakgrundsbild är vald
|
||||
*/
|
||||
@ -2095,8 +2100,10 @@ export interface FDHeroBlockSelect<T extends boolean = true> {
|
||||
secondaryCtaText?: T;
|
||||
secondaryCtaLink?: T;
|
||||
backgroundImage?: T;
|
||||
minHeight?: T;
|
||||
overlayOpacity?: T;
|
||||
textColor?: T;
|
||||
headingColor?: T;
|
||||
bodyColor?: T;
|
||||
theme?: T;
|
||||
anchorId?: T;
|
||||
id?: T;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user