Documentation ¶
Index ¶
- func MutateNone(styles *Styles)
- type Align
- type Border
- type Box
- type Class
- type Classes
- type Color
- type Dimension
- type Draw
- type Font
- type FontDecoration
- type FontStyle
- type FontWeight
- type HAlign
- type Margin
- type MutateFnc
- type Mutator
- type Padding
- type RGB
- type Selector
- type Styles
- type Table
- type Unmarshaler
- type VAlign
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MutateNone ¶
func MutateNone(styles *Styles)
Types ¶
type Border ¶
func (*Border) UnmarshalStyle ¶
type Class ¶
type Class struct { Name string Selectors map[string]Selector // contains filtered or unexported fields }
func (Class) MutateWithSelector ¶
type Font ¶
type Font struct { Family string `style:"font-family"` PointSize float64 `style:"font-point-size"` Style FontStyle `style:"font-style"` Weight FontWeight `style:"font-weight"` Decoration FontDecoration `style:"font-decoration"` }
type FontDecoration ¶
type FontDecoration string
const ( FontDecorationNormal FontDecoration = "normal" FontDecorationUnderline FontDecoration = "underline" )
type FontWeight ¶
type FontWeight string
const ( FontWeightNormal FontWeight = "normal" FontWeightBold FontWeight = "bold" )
type Margin ¶
func (*Margin) UnmarshalStyle ¶
type Padding ¶
func (*Padding) UnmarshalStyle ¶
type Unmarshaler ¶
Click to show internal directories.
Click to hide internal directories.