Versions in this module Expand all Collapse all v0 v0.1.0 Nov 6, 2018 Changes in this version + func Compile(src string, pretty bool) (string, error) + type Animation struct + Keyframes []*CSSRule + Name string + func (anim *Animation) Render(output *bytes.Buffer, pretty bool) + type CSSRule struct + Duplicates []*CSSRule + Parent *CSSRule + Selector string + Statements []*CSSStatement + func (rule *CSSRule) Copy() *CSSRule + func (rule *CSSRule) Render(output *bytes.Buffer, pretty bool) + func (rule *CSSRule) Root() *CSSRule + func (rule *CSSRule) SelectorPath(pretty bool) string + func (rule *CSSRule) StatementsHash() string + type CSSStatement struct + Property string + Value string + type MediaGroup struct + Operator string + Property string + Rules []*CSSRule + Size string + func (media *MediaGroup) Render(output *bytes.Buffer, pretty bool) + type MediaQuery struct + Rules []*CSSRule + Selector string + func (media *MediaQuery) Render(output *bytes.Buffer, pretty bool) + type Mixin struct + Root *CSSRule + Rules []*CSSRule + func (mixin *Mixin) Apply(parent *CSSRule) []*CSSRule + type Renderable interface + Render func(*bytes.Buffer, bool) + type State struct + Constants map[string]string + Mixins map[string]*Mixin + VariableNames []string + Variables map[string]string + func NewState() *State