Documentation ¶
Index ¶
- type Border
- type BorderAttributes
- type BorderState
- type Configuration
- type ConfigurationAttributes
- func (c ConfigurationAttributes) DataColorPalette() terra.ListValue[DataColorPaletteAttributes]
- func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
- func (c ConfigurationAttributes) Sheet() terra.ListValue[SheetAttributes]
- func (c ConfigurationAttributes) Typography() terra.ListValue[TypographyAttributes]
- func (c ConfigurationAttributes) UiColorPalette() terra.ListValue[UiColorPaletteAttributes]
- type ConfigurationState
- type DataColorPalette
- type DataColorPaletteAttributes
- func (dcp DataColorPaletteAttributes) Colors() terra.ListValue[terra.StringValue]
- func (dcp DataColorPaletteAttributes) EmptyFillColor() terra.StringValue
- func (dcp DataColorPaletteAttributes) InternalRef() (terra.Reference, error)
- func (dcp DataColorPaletteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dcp DataColorPaletteAttributes) InternalWithRef(ref terra.Reference) DataColorPaletteAttributes
- func (dcp DataColorPaletteAttributes) MinMaxGradient() terra.ListValue[terra.StringValue]
- type DataColorPaletteState
- type FontFamilies
- type FontFamiliesAttributes
- func (ff FontFamiliesAttributes) FontFamily() terra.StringValue
- func (ff FontFamiliesAttributes) InternalRef() (terra.Reference, error)
- func (ff FontFamiliesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ff FontFamiliesAttributes) InternalWithRef(ref terra.Reference) FontFamiliesAttributes
- type FontFamiliesState
- type Gutter
- type GutterAttributes
- type GutterState
- type Margin
- type MarginAttributes
- type MarginState
- type Permissions
- type PermissionsAttributes
- func (p PermissionsAttributes) Actions() terra.SetValue[terra.StringValue]
- func (p PermissionsAttributes) InternalRef() (terra.Reference, error)
- func (p PermissionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PermissionsAttributes) InternalWithRef(ref terra.Reference) PermissionsAttributes
- func (p PermissionsAttributes) Principal() terra.StringValue
- type PermissionsState
- type Sheet
- type SheetAttributes
- func (s SheetAttributes) InternalRef() (terra.Reference, error)
- func (s SheetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SheetAttributes) InternalWithRef(ref terra.Reference) SheetAttributes
- func (s SheetAttributes) Tile() terra.ListValue[TileAttributes]
- func (s SheetAttributes) TileLayout() terra.ListValue[TileLayoutAttributes]
- type SheetState
- type Tile
- type TileAttributes
- type TileLayout
- type TileLayoutAttributes
- func (tl TileLayoutAttributes) Gutter() terra.ListValue[GutterAttributes]
- func (tl TileLayoutAttributes) InternalRef() (terra.Reference, error)
- func (tl TileLayoutAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tl TileLayoutAttributes) InternalWithRef(ref terra.Reference) TileLayoutAttributes
- func (tl TileLayoutAttributes) Margin() terra.ListValue[MarginAttributes]
- type TileLayoutState
- type TileState
- type Typography
- type TypographyAttributes
- func (t TypographyAttributes) FontFamilies() terra.ListValue[FontFamiliesAttributes]
- func (t TypographyAttributes) InternalRef() (terra.Reference, error)
- func (t TypographyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TypographyAttributes) InternalWithRef(ref terra.Reference) TypographyAttributes
- type TypographyState
- type UiColorPalette
- type UiColorPaletteAttributes
- func (ucp UiColorPaletteAttributes) Accent() terra.StringValue
- func (ucp UiColorPaletteAttributes) AccentForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) Danger() terra.StringValue
- func (ucp UiColorPaletteAttributes) DangerForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) Dimension() terra.StringValue
- func (ucp UiColorPaletteAttributes) DimensionForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) InternalRef() (terra.Reference, error)
- func (ucp UiColorPaletteAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ucp UiColorPaletteAttributes) InternalWithRef(ref terra.Reference) UiColorPaletteAttributes
- func (ucp UiColorPaletteAttributes) Measure() terra.StringValue
- func (ucp UiColorPaletteAttributes) MeasureForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) PrimaryBackground() terra.StringValue
- func (ucp UiColorPaletteAttributes) PrimaryForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) SecondaryBackground() terra.StringValue
- func (ucp UiColorPaletteAttributes) SecondaryForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) Success() terra.StringValue
- func (ucp UiColorPaletteAttributes) SuccessForeground() terra.StringValue
- func (ucp UiColorPaletteAttributes) Warning() terra.StringValue
- func (ucp UiColorPaletteAttributes) WarningForeground() terra.StringValue
- type UiColorPaletteState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BorderAttributes ¶
type BorderAttributes struct {
// contains filtered or unexported fields
}
func (BorderAttributes) InternalRef ¶
func (b BorderAttributes) InternalRef() (terra.Reference, error)
func (BorderAttributes) InternalTokens ¶
func (b BorderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BorderAttributes) InternalWithRef ¶
func (b BorderAttributes) InternalWithRef(ref terra.Reference) BorderAttributes
func (BorderAttributes) Show ¶
func (b BorderAttributes) Show() terra.BoolValue
type BorderState ¶
type BorderState struct {
Show bool `json:"show"`
}
type Configuration ¶
type Configuration struct { // DataColorPalette: min=0 DataColorPalette []DataColorPalette `hcl:"data_color_palette,block" validate:"min=0"` // Sheet: min=0 Sheet []Sheet `hcl:"sheet,block" validate:"min=0"` // Typography: min=0 Typography []Typography `hcl:"typography,block" validate:"min=0"` // UiColorPalette: min=0 UiColorPalette []UiColorPalette `hcl:"ui_color_palette,block" validate:"min=0"` }
type ConfigurationAttributes ¶
type ConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationAttributes) DataColorPalette ¶
func (c ConfigurationAttributes) DataColorPalette() terra.ListValue[DataColorPaletteAttributes]
func (ConfigurationAttributes) InternalRef ¶
func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationAttributes) InternalTokens ¶
func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationAttributes) InternalWithRef ¶
func (c ConfigurationAttributes) InternalWithRef(ref terra.Reference) ConfigurationAttributes
func (ConfigurationAttributes) Sheet ¶
func (c ConfigurationAttributes) Sheet() terra.ListValue[SheetAttributes]
func (ConfigurationAttributes) Typography ¶
func (c ConfigurationAttributes) Typography() terra.ListValue[TypographyAttributes]
func (ConfigurationAttributes) UiColorPalette ¶
func (c ConfigurationAttributes) UiColorPalette() terra.ListValue[UiColorPaletteAttributes]
type ConfigurationState ¶
type ConfigurationState struct { DataColorPalette []DataColorPaletteState `json:"data_color_palette"` Sheet []SheetState `json:"sheet"` Typography []TypographyState `json:"typography"` UiColorPalette []UiColorPaletteState `json:"ui_color_palette"` }
type DataColorPalette ¶
type DataColorPalette struct{}
type DataColorPaletteAttributes ¶
type DataColorPaletteAttributes struct {
// contains filtered or unexported fields
}
func (DataColorPaletteAttributes) Colors ¶
func (dcp DataColorPaletteAttributes) Colors() terra.ListValue[terra.StringValue]
func (DataColorPaletteAttributes) EmptyFillColor ¶
func (dcp DataColorPaletteAttributes) EmptyFillColor() terra.StringValue
func (DataColorPaletteAttributes) InternalRef ¶
func (dcp DataColorPaletteAttributes) InternalRef() (terra.Reference, error)
func (DataColorPaletteAttributes) InternalTokens ¶
func (dcp DataColorPaletteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataColorPaletteAttributes) InternalWithRef ¶
func (dcp DataColorPaletteAttributes) InternalWithRef(ref terra.Reference) DataColorPaletteAttributes
func (DataColorPaletteAttributes) MinMaxGradient ¶
func (dcp DataColorPaletteAttributes) MinMaxGradient() terra.ListValue[terra.StringValue]
type DataColorPaletteState ¶
type FontFamilies ¶
type FontFamilies struct{}
type FontFamiliesAttributes ¶
type FontFamiliesAttributes struct {
// contains filtered or unexported fields
}
func (FontFamiliesAttributes) FontFamily ¶
func (ff FontFamiliesAttributes) FontFamily() terra.StringValue
func (FontFamiliesAttributes) InternalRef ¶
func (ff FontFamiliesAttributes) InternalRef() (terra.Reference, error)
func (FontFamiliesAttributes) InternalTokens ¶
func (ff FontFamiliesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FontFamiliesAttributes) InternalWithRef ¶
func (ff FontFamiliesAttributes) InternalWithRef(ref terra.Reference) FontFamiliesAttributes
type FontFamiliesState ¶
type FontFamiliesState struct {
FontFamily string `json:"font_family"`
}
type GutterAttributes ¶
type GutterAttributes struct {
// contains filtered or unexported fields
}
func (GutterAttributes) InternalRef ¶
func (g GutterAttributes) InternalRef() (terra.Reference, error)
func (GutterAttributes) InternalTokens ¶
func (g GutterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GutterAttributes) InternalWithRef ¶
func (g GutterAttributes) InternalWithRef(ref terra.Reference) GutterAttributes
func (GutterAttributes) Show ¶
func (g GutterAttributes) Show() terra.BoolValue
type GutterState ¶
type GutterState struct {
Show bool `json:"show"`
}
type MarginAttributes ¶
type MarginAttributes struct {
// contains filtered or unexported fields
}
func (MarginAttributes) InternalRef ¶
func (m MarginAttributes) InternalRef() (terra.Reference, error)
func (MarginAttributes) InternalTokens ¶
func (m MarginAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MarginAttributes) InternalWithRef ¶
func (m MarginAttributes) InternalWithRef(ref terra.Reference) MarginAttributes
func (MarginAttributes) Show ¶
func (m MarginAttributes) Show() terra.BoolValue
type MarginState ¶
type MarginState struct {
Show bool `json:"show"`
}
type Permissions ¶
type Permissions struct{}
type PermissionsAttributes ¶
type PermissionsAttributes struct {
// contains filtered or unexported fields
}
func (PermissionsAttributes) Actions ¶
func (p PermissionsAttributes) Actions() terra.SetValue[terra.StringValue]
func (PermissionsAttributes) InternalRef ¶
func (p PermissionsAttributes) InternalRef() (terra.Reference, error)
func (PermissionsAttributes) InternalTokens ¶
func (p PermissionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PermissionsAttributes) InternalWithRef ¶
func (p PermissionsAttributes) InternalWithRef(ref terra.Reference) PermissionsAttributes
func (PermissionsAttributes) Principal ¶
func (p PermissionsAttributes) Principal() terra.StringValue
type PermissionsState ¶
type Sheet ¶
type Sheet struct { // Tile: min=0 Tile []Tile `hcl:"tile,block" validate:"min=0"` // TileLayout: min=0 TileLayout []TileLayout `hcl:"tile_layout,block" validate:"min=0"` }
type SheetAttributes ¶
type SheetAttributes struct {
// contains filtered or unexported fields
}
func (SheetAttributes) InternalRef ¶
func (s SheetAttributes) InternalRef() (terra.Reference, error)
func (SheetAttributes) InternalTokens ¶
func (s SheetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SheetAttributes) InternalWithRef ¶
func (s SheetAttributes) InternalWithRef(ref terra.Reference) SheetAttributes
func (SheetAttributes) Tile ¶
func (s SheetAttributes) Tile() terra.ListValue[TileAttributes]
func (SheetAttributes) TileLayout ¶
func (s SheetAttributes) TileLayout() terra.ListValue[TileLayoutAttributes]
type SheetState ¶
type SheetState struct { Tile []TileState `json:"tile"` TileLayout []TileLayoutState `json:"tile_layout"` }
type Tile ¶
type Tile struct { // Border: min=0 Border []Border `hcl:"border,block" validate:"min=0"` }
type TileAttributes ¶
type TileAttributes struct {
// contains filtered or unexported fields
}
func (TileAttributes) Border ¶
func (t TileAttributes) Border() terra.ListValue[BorderAttributes]
func (TileAttributes) InternalRef ¶
func (t TileAttributes) InternalRef() (terra.Reference, error)
func (TileAttributes) InternalTokens ¶
func (t TileAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TileAttributes) InternalWithRef ¶
func (t TileAttributes) InternalWithRef(ref terra.Reference) TileAttributes
type TileLayout ¶
type TileLayoutAttributes ¶
type TileLayoutAttributes struct {
// contains filtered or unexported fields
}
func (TileLayoutAttributes) Gutter ¶
func (tl TileLayoutAttributes) Gutter() terra.ListValue[GutterAttributes]
func (TileLayoutAttributes) InternalRef ¶
func (tl TileLayoutAttributes) InternalRef() (terra.Reference, error)
func (TileLayoutAttributes) InternalTokens ¶
func (tl TileLayoutAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TileLayoutAttributes) InternalWithRef ¶
func (tl TileLayoutAttributes) InternalWithRef(ref terra.Reference) TileLayoutAttributes
func (TileLayoutAttributes) Margin ¶
func (tl TileLayoutAttributes) Margin() terra.ListValue[MarginAttributes]
type TileLayoutState ¶
type TileLayoutState struct { Gutter []GutterState `json:"gutter"` Margin []MarginState `json:"margin"` }
type TileState ¶
type TileState struct {
Border []BorderState `json:"border"`
}
type Typography ¶
type Typography struct { // FontFamilies: min=0 FontFamilies []FontFamilies `hcl:"font_families,block" validate:"min=0"` }
type TypographyAttributes ¶
type TypographyAttributes struct {
// contains filtered or unexported fields
}
func (TypographyAttributes) FontFamilies ¶
func (t TypographyAttributes) FontFamilies() terra.ListValue[FontFamiliesAttributes]
func (TypographyAttributes) InternalRef ¶
func (t TypographyAttributes) InternalRef() (terra.Reference, error)
func (TypographyAttributes) InternalTokens ¶
func (t TypographyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TypographyAttributes) InternalWithRef ¶
func (t TypographyAttributes) InternalWithRef(ref terra.Reference) TypographyAttributes
type TypographyState ¶
type TypographyState struct {
FontFamilies []FontFamiliesState `json:"font_families"`
}
type UiColorPalette ¶
type UiColorPalette struct{}
type UiColorPaletteAttributes ¶
type UiColorPaletteAttributes struct {
// contains filtered or unexported fields
}
func (UiColorPaletteAttributes) Accent ¶
func (ucp UiColorPaletteAttributes) Accent() terra.StringValue
func (UiColorPaletteAttributes) AccentForeground ¶
func (ucp UiColorPaletteAttributes) AccentForeground() terra.StringValue
func (UiColorPaletteAttributes) Danger ¶
func (ucp UiColorPaletteAttributes) Danger() terra.StringValue
func (UiColorPaletteAttributes) DangerForeground ¶
func (ucp UiColorPaletteAttributes) DangerForeground() terra.StringValue
func (UiColorPaletteAttributes) Dimension ¶
func (ucp UiColorPaletteAttributes) Dimension() terra.StringValue
func (UiColorPaletteAttributes) DimensionForeground ¶
func (ucp UiColorPaletteAttributes) DimensionForeground() terra.StringValue
func (UiColorPaletteAttributes) InternalRef ¶
func (ucp UiColorPaletteAttributes) InternalRef() (terra.Reference, error)
func (UiColorPaletteAttributes) InternalTokens ¶
func (ucp UiColorPaletteAttributes) InternalTokens() (hclwrite.Tokens, error)
func (UiColorPaletteAttributes) InternalWithRef ¶
func (ucp UiColorPaletteAttributes) InternalWithRef(ref terra.Reference) UiColorPaletteAttributes
func (UiColorPaletteAttributes) Measure ¶
func (ucp UiColorPaletteAttributes) Measure() terra.StringValue
func (UiColorPaletteAttributes) MeasureForeground ¶
func (ucp UiColorPaletteAttributes) MeasureForeground() terra.StringValue
func (UiColorPaletteAttributes) PrimaryBackground ¶
func (ucp UiColorPaletteAttributes) PrimaryBackground() terra.StringValue
func (UiColorPaletteAttributes) PrimaryForeground ¶
func (ucp UiColorPaletteAttributes) PrimaryForeground() terra.StringValue
func (UiColorPaletteAttributes) SecondaryBackground ¶
func (ucp UiColorPaletteAttributes) SecondaryBackground() terra.StringValue
func (UiColorPaletteAttributes) SecondaryForeground ¶
func (ucp UiColorPaletteAttributes) SecondaryForeground() terra.StringValue
func (UiColorPaletteAttributes) Success ¶
func (ucp UiColorPaletteAttributes) Success() terra.StringValue
func (UiColorPaletteAttributes) SuccessForeground ¶
func (ucp UiColorPaletteAttributes) SuccessForeground() terra.StringValue
func (UiColorPaletteAttributes) Warning ¶
func (ucp UiColorPaletteAttributes) Warning() terra.StringValue
func (UiColorPaletteAttributes) WarningForeground ¶
func (ucp UiColorPaletteAttributes) WarningForeground() terra.StringValue
type UiColorPaletteState ¶
type UiColorPaletteState struct { Accent string `json:"accent"` AccentForeground string `json:"accent_foreground"` Danger string `json:"danger"` DangerForeground string `json:"danger_foreground"` Dimension string `json:"dimension"` DimensionForeground string `json:"dimension_foreground"` Measure string `json:"measure"` MeasureForeground string `json:"measure_foreground"` PrimaryBackground string `json:"primary_background"` PrimaryForeground string `json:"primary_foreground"` SecondaryBackground string `json:"secondary_background"` SecondaryForeground string `json:"secondary_foreground"` Success string `json:"success"` SuccessForeground string `json:"success_foreground"` Warning string `json:"warning"` WarningForeground string `json:"warning_foreground"` }
Click to show internal directories.
Click to hide internal directories.