Documentation ¶
Index ¶
- func Generate(ctx context.Context, genTmpDir, tailpipeDir string, cfg TailPipeConfig) error
- type BackdropFilterConfig
- type BackgroundConfig
- type BorderConfig
- type BoxShadowConfig
- type DivideConfig
- type FlexConfig
- type FontConfig
- type FontSizeConfig
- type FontSizeConfigMap
- type GridConfig
- type GridValueConfig
- type KV
- type MinMaxValue
- type OutlineConfig
- type PlaceholderConfig
- type RingConfig
- type SSStringMap
- type SStringMap
- type ScrollConfig
- type StringMap
- type StringSlice
- type StringSliceMap
- type TailPipeConfig
- type TextConfig
- type TransitionConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BackdropFilterConfig ¶
type BackdropFilterConfig struct {
Blur, Brightness, Contrast, Grayscale, HueRotate, Invert, Opacity, Saturate, Sepia StringMap
}
type BackgroundConfig ¶
type BackgroundConfig struct { Color SStringMap Image, Opacity, Position, Size StringMap }
type BorderConfig ¶
type BorderConfig struct { Color SStringMap Opacity, Radius, Spacing, Width StringMap }
type BoxShadowConfig ¶
type BoxShadowConfig struct { Color SStringMap Value, Opacity StringMap }
type DivideConfig ¶
type DivideConfig struct { Color SStringMap Opacity, Width StringMap }
type FlexConfig ¶
type FlexConfig struct {
Value, Basis, Direction, Grow, Shrink, Wrap StringMap
}
type FontConfig ¶
type FontConfig struct { Family StringSliceMap Size FontSizeConfigMap Smoothing, Style, Weight, VariantNumeric StringMap }
type FontSizeConfig ¶
type FontSizeConfigMap ¶
type FontSizeConfigMap map[string]FontSizeConfig
type GridConfig ¶
type GridConfig struct { AutoColumns StringMap AutoRows StringMap Columns GridValueConfig Rows GridValueConfig TemplateColumns StringMap TemplateRows StringMap }
type GridValueConfig ¶
type MinMaxValue ¶
type MinMaxValue struct {
Value, Min, Max StringMap
}
type OutlineConfig ¶
type OutlineConfig struct { Color SStringMap Offset, Width StringMap }
type PlaceholderConfig ¶
type PlaceholderConfig struct { Color SStringMap Opacity StringMap }
type RingConfig ¶
type RingConfig struct {
Color, OffsetColor SStringMap
OffsetWidth, Opacity, Width StringMap
}
type SSStringMap ¶
type SSStringMap map[string]SStringMap
func (SSStringMap) Extend ¶
func (s SSStringMap) Extend(extend ...SSStringMap) SSStringMap
type SStringMap ¶
func (SStringMap) Extend ¶
func (s SStringMap) Extend(extend ...SStringMap) SStringMap
func (SStringMap) Lookup ¶
func (ss SStringMap) Lookup(key1, key2, defaultValue string) string
func (SStringMap) SortedKV ¶
func (ss SStringMap) SortedKV() []KV
type ScrollConfig ¶
type StringSlice ¶
type StringSlice []string
func (StringSlice) Extend ¶
func (s StringSlice) Extend(extend ...StringSlice)
type StringSliceMap ¶
type StringSliceMap map[string]StringSlice
func (StringSliceMap) Extend ¶
func (ss StringSliceMap) Extend(extend StringSliceMap)
func (StringSliceMap) SortedKV ¶
func (ss StringSliceMap) SortedKV() []KV
type TailPipeConfig ¶
type TailPipeConfig struct { Animation StringMap Aria StringMap AspectRatio StringMap BackdropFilter BackdropFilterConfig Background BackgroundConfig Blur StringMap Border BorderConfig BoxShadow BoxShadowConfig Brightness StringMap CaretColor SStringMap Columns StringMap Contrast StringMap Color SStringMap Cursor StringMap Divide DivideConfig DropShadow StringSliceMap Fill SStringMap Flex FlexConfig Font FontConfig Gap StringMap GradientColorStops SStringMap Grayscale StringMap Grid GridConfig Height MinMaxValue HueRotate StringMap Inset StringMap Invert StringMap Keyframes SSStringMap LetterSpacing StringMap LineHeight StringMap ListStyleType StringMap ListStylePosition StringMap Margin StringMap ObjectPosition StringMap Opacity StringMap Order StringMap Outline OutlineConfig Padding StringMap Placeholder PlaceholderConfig Ring RingConfig Rotate StringMap Saturate StringMap Scale StringMap Screens StringMap Scroll ScrollConfig Sepia StringMap Skew StringMap Space StringMap Spacing StringMap Stroke SStringMap StrokeWidth StringMap Text TextConfig TransformOrigin StringMap Transition TransitionConfig Translate StringMap Width MinMaxValue WillChange StringMap ZIndex StringMap }
func DefaultTailPipeConfig ¶
func DefaultTailPipeConfig() TailPipeConfig
type TextConfig ¶
type TextConfig struct {
Color, DecorationColor SStringMap
Decoration, DecorationThickness StringMap
Align, Indent, Opacity, UnderlineOffset StringMap
}
type TransitionConfig ¶
type TransitionConfig struct {
Delay, Duration, Property, TimingFunction StringMap
}
Click to show internal directories.
Click to hide internal directories.