Versions in this module Expand all Collapse all v0 v0.3.1 Dec 2, 2020 Changes in this version + const Absolute + const Alias + const All + const AllPetiteCaps + const AllScroll + const AllSmallCaps + const AllowEnd + const Alternate + const AlternateReverse + const Armenian + const Auto + const Avoid + const AvoidColumn + const AvoidPage + const Backwards + const Balance + const Baseline + const BidiOverride + const Blink + const Block + const Bold + const Bolder + const Both + const Bottom + const BreakAll + const BreakWord + const Capitalize + const Cell + const Center + const Circle + const Clip + const Clone + const CloseQuote + const ColResize + const Collapse + const Color + const ColorBurn + const ColorDodge + const Column + const ColumnReverse + const Compact + const Condensed + const Contain + const Container + const ContextMenu + const Copy + const Cover + const CrispEdges + const Crosshair + const CurrentColor + const Darken + const Dashed + const Decimal + const DecimalLeadingZero + const Default + const Dense + const Difference + const Disc + const Distribute + const Dotted + const Double + const EResize + const Ellipsis + const Embed + const End + const EwResize + const Exclusion + const Expanded + const ExtraCondensed + const ExtraExpanded + const Fallback + const Fill + const First + const Fixed + const Flat + const Flex + const FlexEnd + const FlexStart + const ForceEnd + const Forwards + const FullWidth + const Georgian + const Groove + const HardLight + const Help + const Hidden + const Hide + const HistoricalForms + const Horizontal + const HorizontalTb + const Hue + const Icon + const Infinite + const Inherit + const Initial + const Inline + const InlineBlock + const InlineFlex + const InlineTable + const Inset + const Inside + const InterWord + const Invert + const Isolate + const Italic + const Justify + const KeepAll + const Large + const Larger + const Last + const Left + const Length + const Lighten + const Lighter + const LineThrough + const ListItem + const Local + const Loose + const LowerAlpha + const LowerGreek + const LowerLatin + const LowerRoman + const Lowercase + const Ltr + const Luminosity + const MatchParent + const Maunal + const Medium + const Middle + const Mixed + const Move + const Multiply + const NResize + const NeResize + const NeswResize + const NoCloseQuote + const NoDrop + const NoOpenQuote + const NoRepeat + const None + const Normal + const NotAllowed + const Nowrap + const NsResize + const NwResize + const NwseResize + const Oblique + const OpenQuote + const Optional + const Outset + const Outside + const Overlay + const Overline + const Page + const Paused + const PetiteCaps + const Pixelated + const Pointer + const Pre + const PreLine + const PreWrap + const Preserve3d + const Progress + const Relative + const Repeat + const RepeatX + const RepeatY + const Reverse + const Ridge + const Right + const Round + const Row + const RowResize + const RowReverse + const Rtl + const RunIn + const Running + const SResize + const Saturation + const ScaleDown + const Screen + const Scroll + const SeResize + const SemiCondensed + const SemiExpanded + const Seperate + const Shadow + const Show + const Sideways + const SidewaysLeft + const SidewaysRight + const Slice + const Small + const SmallCaps + const Smaller + const Smooth + const SoftLight + const Solid + const Space + const SpaceAround + const SpaceBetween + const SpaceEvenly + const Square + const Start + const Static + const Sticky + const Stretch + const Strict + const StyleProperty + const Sub + const Super + const SwResize + const Swap + const Table + const TableCaption + const TableCell + const TableColumn + const TableColumnGroup + const TableFooterGroup + const TableHeaderGroup + const TableRow + const TableRowGroup + const Text + const TextBottom + const TextTop + const Thick + const Thin + const TitlingCaps + const Top + const Transparent + const UltraCondensed + const UltraExpanded + const Under + const Underline + const Unicase + const Unset + const UpperAlpha + const UpperLatin + const UpperRoman + const Uppercase + const Upright + const UseGlyphOrientation + const Vertical + const VerticalLr + const VerticalRl + const VerticalText + const Visible + const WResize + const Wait + const Wavy + const Weight + const Wrap + const WrapReverse + const XLarge + const XSmall + const XxLarge + const XxSmall + const Zero + const ZoomIn + const ZoomOut + func Add(stylesheet string) seed.Option + func After(rules ...Rule) seed.Option + func FontSynthesis(weight, style bool) fontSynthesisValue + func Hover(rules ...Rule) seed.Option + func RegisterRenderer(r Renderer) + func Render(root seed.Seed) []byte + func Require(path string, contents string) seed.Option + func Select(selector string, rules ...Rule) seed.Option + func Selector(c seed.Seed) string + func SetSelector(selector string) seed.Option + func Stylesheets(root seed.Seed) map[string]string + type AnimationName string + func (a AnimationName) Rule() Rule + type Duration time.Duration + func (d Duration) Rule() Rule + type FontFace struct + FontDisplay fontDisplayValue + FontFamily string + FontStretch fontStretchValue + FontStyle fontStyleValue + FontWeight fontWeightValue + Src urlType + UnicodeRange unicodeRange + func NewFontFace(name string, src string) FontFace + func (font FontFace) Bytes() []byte + func (font FontFace) Rule() Rule + func (font FontFace) Set(property, value string) + type Int int + func (i Int) Rule() Rule + type Number float64 + func (n Number) Rule() Rule + type OrderedMap struct + func NewOrderedMap() *OrderedMap + func (om *OrderedMap) Delete(key string) (string, bool) + func (om *OrderedMap) Get(key string) (string, bool) + func (om *OrderedMap) Len() int + func (om *OrderedMap) Newest() *Pair + func (om *OrderedMap) Oldest() *Pair + func (om *OrderedMap) Set(key string, value string) (string, bool) + type Pair struct + Key string + Value string + func (p *Pair) Next() *Pair + func (p *Pair) Prev() *Pair + type RGB struct + func (c RGB) Rule() Rule + type Renderer func(root seed.Seed) []byte + type Rule string + func Set(property, value string) Rule + func SetAlignContent(value alignContentValue) Rule + func SetAlignItems(value alignItemsValue) Rule + func SetAlignSelf(value alignSelfValue) Rule + func SetAll(value allValue) Rule + func SetAnimation(value animationValue) Rule + func SetAnimationDelay(value durationValue) Rule + func SetAnimationDirection(value animationDirectionValue) Rule + func SetAnimationDuration(value durationValue) Rule + func SetAnimationFillMode(value animationFillModeValue) Rule + func SetAnimationIterationCount(value animationIterationCountValue) Rule + func SetAnimationName(value animationNameValue) Rule + func SetAnimationPlayState(value animationPlayStateValue) Rule + func SetAnimationTimingFunction(value animationTimingFunctionValue) Rule + func SetBackfaceVisibility(value backfaceVisibilityValue) Rule + func SetBackground(value backgroundValue) Rule + func SetBackgroundAttachment(value backgroundAttachmentValue) Rule + func SetBackgroundBlendMode(value backgroundBlendModeValue) Rule + func SetBackgroundClip(value boxValue) Rule + func SetBackgroundColor(value colorValue) Rule + func SetBackgroundImage(value imageValue) Rule + func SetBackgroundOrigin(value backgroundOriginValue) Rule + func SetBackgroundPosition(value unitAndUnitValue) Rule + func SetBackgroundRepeat(value backgroundRepeatValue) Rule + func SetBackgroundSize(value sizeValue) Rule + func SetBorder(value borderValue) Rule + func SetBorderBottom(value borderBottomValue) Rule + func SetBorderBottomColor(value colorValue) Rule + func SetBorderBottomLeftRadius(value unitValue) Rule + func SetBorderBottomRightRadius(value unitValue) Rule + func SetBorderBottomStyle(value borderStyleValue) Rule + func SetBorderBottomWidth(value thicknessValue) Rule + func SetBorderCollapse(value borderCollapseValue) Rule + func SetBorderColor(value colorValue) Rule + func SetBorderImage(value borderImageValue) Rule + func SetBorderImageOutset(value uintOrUnitValue) Rule + func SetBorderImageRepeat(value borderImageRepeatValue) Rule + func SetBorderImageSlice(value borderImageSliceValue) Rule + func SetBorderImageSource(value imageValue) Rule + func SetBorderImageWidth(value sizeValue) Rule + func SetBorderLeft(value borderLeftValue) Rule + func SetBorderLeftColor(value sizeValue) Rule + func SetBorderLeftStyle(value borderStyleValue) Rule + func SetBorderLeftWidth(value thicknessValue) Rule + func SetBorderRadius(value borderRadiusValue) Rule + func SetBorderRight(value borderRightValue) Rule + func SetBorderRightColor(value colorValue) Rule + func SetBorderRightStyle(value borderStyleValue) Rule + func SetBorderRightWidth(value thicknessValue) Rule + func SetBorderSpacing(value unitValue) Rule + func SetBorderStyle(value borderStyleValue) Rule + func SetBorderTop(value borderTopValue) Rule + func SetBorderTopColor(value colorValue) Rule + func SetBorderTopLeftRadius(value borderTopLeftRadiusValue) Rule + func SetBorderTopRightRadius(value borderTopRightRadiusValue) Rule + func SetBorderTopStyle(value borderStyleValue) Rule + func SetBorderTopWidth(value thicknessValue) Rule + func SetBorderWidth(value thicknessValue) Rule + func SetBottom(value unitOrAutoValue) Rule + func SetBoxDecorationBreak(value boxDecorationBreakValue) Rule + func SetBoxShadow(value shadowValue) Rule + func SetBoxSizing(value boxValue) Rule + func SetBreakAfter(value breakValue) Rule + func SetBreakBefore(value breakValue) Rule + func SetBreakInside(value breakInsideValue) Rule + func SetCaptionSide(value captionSideValue) Rule + func SetClear(value clearValue) Rule + func SetClip(value clipValue) Rule + func SetColor(value colorValue) Rule + func SetColumnCount(value columnCountValue) Rule + func SetColumnFill(value columnFillValue) Rule + func SetColumnGap(value columnGapValue) Rule + func SetColumnRule(value columnRuleValue) Rule + func SetColumnRuleColor(value colorValue) Rule + func SetColumnRuleStyle(value borderStyleValue) Rule + func SetColumnRuleWidth(value columnRuleWidthValue) Rule + func SetColumnSpan(value unitOrAutoValue) Rule + func SetColumnWidth(value columnWidthValue) Rule + func SetColumns(value columnsValue) Rule + func SetContent(value contentValue) Rule + func SetCounterIncrement(value counterIncrementValue) Rule + func SetCounterReset(value nameValue) Rule + func SetCursor(value cursorValue) Rule + func SetDirection(value directionValue) Rule + func SetDisplay(value displayValue) Rule + func SetEmptyCells(value emptyCellsValue) Rule + func SetFilter(value filterValue) Rule + func SetFlex(value flexValue) Rule + func SetFlexBasis(value unitOrAutoValue) Rule + func SetFlexDirection(value flexDirectionValue) Rule + func SetFlexFlow(value flexFlowValue) Rule + func SetFlexGrow(value numberValue) Rule + func SetFlexShrink(value numberValue) Rule + func SetFlexWrap(value flexWrapValue) Rule + func SetFloat(value floatValue) Rule + func SetFont(value fontValue) Rule + func SetFontDisplay(value fontDisplayValue) Rule + func SetFontFamily(value fontFamilyValue) Rule + func SetFontFeatureSettings(value fontFeatureSettingsValue) Rule + func SetFontKerning(value normalOrAutoValue) Rule + func SetFontLanguageOverride(value fontLanguageOverrideValue) Rule + func SetFontSize(value fontSizeValue) Rule + func SetFontSizeAdjust(value fontSizeAdjustValue) Rule + func SetFontStretch(value fontStretchValue) Rule + func SetFontStyle(value fontStyleValue) Rule + func SetFontSynthesis(value fontSynthesisValue) Rule + func SetFontVariant(value fontVariantValue) Rule + func SetFontVariantAlternates(value fontVariantAlternatesValue) Rule + func SetFontVariantCaps(value fontVariantCapsValue) Rule + func SetFontVariantEastAsian(value fontVariantEastAsianValue) Rule + func SetFontVariantLigatures(value fontVariantLigaturesValue) Rule + func SetFontVariantNumeric(value fontVariantNumericValue) Rule + func SetFontVariantPosition(value fontVariantPositionValue) Rule + func SetFontWeight(value fontWeightValue) Rule + func SetGrid(value gridValue) Rule + func SetGridArea(value gridAreaValue) Rule + func SetGridAutoColumns(value gridAutoValue) Rule + func SetGridAutoFlow(value gridAutoFlowValue) Rule + func SetGridAutoRows(value gridAutoValue) Rule + func SetGridColumn(value gridColumnValue) Rule + func SetGridColumnEnd(value gridStopValue) Rule + func SetGridColumnGap(value unitValue) Rule + func SetGridColumnStart(value gridStopValue) Rule + func SetGridGap(value gridGapValue) Rule + func SetGridRow(value gridRowValue) Rule + func SetGridRowEnd(value gridStopValue) Rule + func SetGridRowGap(value unitValue) Rule + func SetGridRowStart(value gridStopValue) Rule + func SetGridTemplate(value gridTemplateValue) Rule + func SetGridTemplateAreas(names []string) Rule + func SetGridTemplateColumns(values []gridTemplateValue) Rule + func SetGridTemplateRows(values []gridTemplateValue) Rule + func SetHangingPunctuation(value hangingPunctuationValue) Rule + func SetHeight(value unitOrAutoValue) Rule + func SetHyphens(value hyphensValue) Rule + func SetImageRendering(value imageRenderingValue) Rule + func SetIsolation(value isolationValue) Rule + func SetJustifyContent(value justifyContentValue) Rule + func SetLeft(value unitOrAutoValue) Rule + func SetLetterSpacing(value normalOrUnitOrAutoValue) Rule + func SetLineBreak(value lineBreakValue) Rule + func SetLineHeight(value lineHeightValue) Rule + func SetListStyle(value listStyleValue) Rule + func SetListStyleImage(value imageValue) Rule + func SetListStylePosition(value listStylePositionValue) Rule + func SetListStyleType(value listStyleTypeValue) Rule + func SetMargin(value marginValue) Rule + func SetMarginBottom(value unitOrAutoValue) Rule + func SetMarginLeft(value unitOrAutoValue) Rule + func SetMarginRight(value unitOrAutoValue) Rule + func SetMarginTop(value unitOrAutoValue) Rule + func SetMaxHeight(value unitOrNoneValue) Rule + func SetMaxWidth(value unitOrNoneValue) Rule + func SetMinHeight(value unitOrNoneValue) Rule + func SetMinWidth(value unitOrNoneValue) Rule + func SetMixBlendMode(value mixBlendModeValue) Rule + func SetObjectFit(value objectFitValue) Rule + func SetObjectPosition(value unitAndUnitValue) Rule + func SetOpacity(value numberValue) Rule + func SetOrder(value orderValue) Rule + func SetOrphans(value uintValue) Rule + func SetOutline(value outlineValue) Rule + func SetOutlineColor(value colorValue) Rule + func SetOutlineOffset(value unitValue) Rule + func SetOutlineStyle(value borderStyleValue) Rule + func SetOutlineWidth(value thicknessValue) Rule + func SetOverflow(value overflowValue) Rule + func SetOverflowWrap(value overflowWrapValue) Rule + func SetOverflowX(value overflowValue) Rule + func SetOverflowY(value overflowValue) Rule + func SetPadding(value paddingValue) Rule + func SetPaddingBottom(value unitValue) Rule + func SetPaddingLeft(value unitValue) Rule + func SetPaddingRight(value unitValue) Rule + func SetPaddingTop(value unitValue) Rule + func SetPageBreakAfter(value pageBreakValue) Rule + func SetPageBreakBefore(value pageBreakValue) Rule + func SetPageBreakInside(value pageBreakInsideValue) Rule + func SetPerspective(value unitOrNoneValue) Rule + func SetPerspectiveOrigin(value unitAndUnitValue) Rule + func SetPointerEvents(value pointerEventsValue) Rule + func SetPosition(value positionValue) Rule + func SetQuotes(quotes []string) Rule + func SetResize(value resizeValue) Rule + func SetRight(value unitOrAutoValue) Rule + func SetScrollBehavior(value scrollBehaviorValue) Rule + func SetTabSize(value numberValue) Rule + func SetTableLayout(value tableLayoutValue) Rule + func SetTextAlign(value textAlignValue) Rule + func SetTextAlignLast(value textAlignLastValue) Rule + func SetTextCombineUpright(value textCombineUprightValue) Rule + func SetTextDecoration(value textDecorationValue) Rule + func SetTextDecorationColor(value colorValue) Rule + func SetTextDecorationLine(value textDecorationLineValue) Rule + func SetTextDecorationStyle(value textDecorationStyleValue) Rule + func SetTextIndent(value unitValue) Rule + func SetTextJustify(value textJustifyValue) Rule + func SetTextOrientation(value textOrientationValue) Rule + func SetTextOverflow(value textOverflowValue) Rule + func SetTextShadow(value shadowValue) Rule + func SetTextTransform(value textTransformValue) Rule + func SetTextUnderlinePosition(value textUnderlinePositionValue) Rule + func SetTop(value unitOrAutoValue) Rule + func SetTransform(value transformValue) Rule + func SetTransformOrigin(p positionValue, z ...unitValue) Rule + func SetTransformStyle(value transformStyleValue) Rule + func SetTransition(value transitionValue) Rule + func SetTransitionDelay(value transitionDelayValue) Rule + func SetTransitionDuration(value transitionDurationValue) Rule + func SetTransitionProperty(properties ...interface{}) Rule + func SetTransitionTimingFunction(value transitionTimingFunctionValue) Rule + func SetUnicodeBidi(value unicodeBidiValue) Rule + func SetUserSelect(value userSelectValue) Rule + func SetVerticalAlign(value verticalAlignValue) Rule + func SetVisibility(value visibilityValue) Rule + func SetWhiteSpace(value uintValue) Rule + func SetWidows(value widowsValue) Rule + func SetWidth(value unitOrAutoValue) Rule + func SetWillChange(properties ...interface{}) Rule + func SetWordBreak(value wordBreakValue) Rule + func SetWordSpacing(value wordSpacingValue) Rule + func SetWordWrap(value wordWrapValue) Rule + func SetWritingMode(value writingModeValue) Rule + func SetZIndex(value integerOrAutoValue) Rule + func (r Rule) AddTo(c seed.Seed) + func (r Rule) And(options ...seed.Option) seed.Option + func (r Rule) Important() Rule + func (r Rule) Property() string + func (r Rule) Rules() Rules + func (r Rule) Split() (property, value string) + func (r Rule) Value() string + type Rules []Rule + func (r Rules) AddTo(c seed.Seed) + func (r Rules) And(options ...seed.Option) seed.Option + func (r Rules) Rules() Rules + type Style interface + Rules func() Rules + type Unit struct + func Em(v float64) Unit + func Measure(u units.Unit) Unit + func Percent(v float64) Unit + func Px(v float64) Unit + func Rem(v float64) Unit + func Vh(v float64) Unit + func Vmin(v float64) Unit + func Vw(v float64) Unit + func (u Unit) Rule() Rule + func (u Unit) String() string v0.3.0 Dec 2, 2020