acorntypes

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccordionParams

type AccordionParams struct {
	Title   string
	Content string
	Styles  *AccordionStyles
}

Type AccordionParams

type AccordionStyles

type AccordionStyles struct {
	Color        *Color
	TitleColor   *Color
	ContentColor *Color
}

Type AccordionStyles

type AcornComponents

type AcornComponents []string

Type AcornComponents ([]string)

type AcornVariables

type AcornVariables map[string]string

Type AcornVariables (map[string]string)

type AlertParams

type AlertParams struct {
	Content string
	Styles  *AlertStyles
}

Type AlertParams

type AlertStyles

type AlertStyles struct {
	Outlined  bool
	Color     *Color
	TextColor *Color
}

Type AlertStyles

type Align

type Align string

Type Align (string)

func (Align) String

func (a Align) String() string

Return a string

type ButtonParams

type ButtonParams struct {
	Text   string
	Link   string
	Styles *ButtonStyles
}

Type ButtonParams

type ButtonStyles

type ButtonStyles struct {
	FullWidth bool
	Align     *Align
	Color     *Color
	TextColor *Color
	Type      *Types
}

Type ButtonStyles

type Color

type Color string

Type Color (string)

func (Color) String

func (c Color) String() string

Return a string

type ColumnParams

type ColumnParams struct {
	Content string
	Styles  *ColumnStyles
}

Type ColumnParams

type ColumnStyles

type ColumnStyles struct {
	Align     *Align
	Width     *WidthColumn
	Color     *Color
	TextColor *Color
}

Type ColumnStyles

type ContentParams

type ContentParams struct {
	Content string
	Image   string
	Color   *Color
}

Type ContentParams

type CouponParams

type CouponParams struct {
	Content string
	Button  *ButtonParams
	Styles  *CouponStyles
}

Type CouponParams

type CouponStyles

type CouponStyles struct {
	Dashed      bool
	Color       *Color
	BorderColor *Color
}

Type CouponStyles

type FontSize

type FontSize string

Type FontSize (string)

func (FontSize) String

func (fs FontSize) String() string

Return a string

type ImageParams

type ImageParams struct {
	Image       string
	Alt         string
	WidthColumn *WidthColumn
}

Type ImageParams

type LabelParams

type LabelParams struct {
	Text   string
	Styles *LabelStyles
}

Type LabelParams

type LabelStyles

type LabelStyles struct {
	Outlined  bool
	Color     *Color
	TextColor *Color
}

Type LabelStyles

type PromoItems

type PromoItems struct {
	Promo       *PromoParams
	Symbol      *PromoParams
	Description *PromoParams
}

Type PromoItems

type PromoParams

type PromoParams struct {
	Value string
	Color *Color
	Size  *FontSize
}

Type PromoParams

type TestimonialParams

type TestimonialParams struct {
	Testimonial string
	Author      string
	Icon        bool
	Styles      *TestimonialStyles
}

Type TestimonialParams

type TestimonialStyles

type TestimonialStyles struct {
	Image       string
	Align       *Align
	BorderColor *Color
}

Type TestimonialStyles

type TimelineParams

type TimelineParams struct {
	Time, Title, Content string
}

Type TimelineParams

type Types

type Types string

Type Types (string)

func (Types) String

func (t Types) String() string

Return a string

type WidthColumn

type WidthColumn string

Type WidthColumn (string)

func (WidthColumn) String

func (wc WidthColumn) String() string

Return a string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL