css

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2020 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

This file is computer-generated

This file is computer-generated

Index

Constants

View Source
const Absolute absolute = "absolute"
View Source
const Alias alias = "alias"
View Source
const All all = "all"
View Source
const AllPetiteCaps allPetiteCaps = "all-petite-caps"
View Source
const AllScroll allScroll = "all-scroll"
View Source
const AllSmallCaps allSmallCaps = "all-small-caps"
View Source
const AllowEnd allowEnd = "allow-end"
View Source
const Alternate alternate = "alternate"
View Source
const AlternateReverse alternateReverse = "alternate-reverse"
View Source
const Armenian armenian = "armenian"
View Source
const Auto auto = "auto"
View Source
const Avoid avoid = "avoid"
View Source
const AvoidColumn avoidColumn = "avoid-column"
View Source
const AvoidPage avoidPage = "avoid-page"
View Source
const Backwards backwards = "backwards"
View Source
const Balance balance = "balance"
View Source
const Baseline baseline = "baseline"
View Source
const BidiOverride bidiOverride = "bidi-override"
View Source
const Blink blink = "blink"
View Source
const Block block = "block"
View Source
const Bold bold = "bold"
View Source
const Bolder bolder = "bolder"
View Source
const Both both = "both"
View Source
const Bottom bottom = "bottom"
View Source
const BreakAll breakAll = "break-all"
View Source
const BreakWord breakWord = "break-word"
View Source
const Capitalize capitalize = "capitalize"
View Source
const Cell cell = "cell"
View Source
const Center center = "center"
View Source
const Circle circle = "circle"
View Source
const Clip clip = "clip"
View Source
const Clone clone = "clone"
View Source
const CloseQuote closeQuote = "close-quote"
View Source
const ColResize colResize = "col-resize"
View Source
const Collapse collapse = "collapse"
View Source
const Color color = "color"
View Source
const ColorBurn colorBurn = "color-burn"
View Source
const ColorDodge colorDodge = "color-dodge"
View Source
const Column column = "column"
View Source
const ColumnReverse columnReverse = "column-reverse"
View Source
const Compact compact = "compact"
View Source
const Condensed condensed = "condensed"
View Source
const Contain contain = "contain"
View Source
const Container container = "container"
View Source
const ContextMenu contextMenu = "context-menu"
View Source
const Copy copy = "copy"
View Source
const Cover cover = "cover"
View Source
const CrispEdges crispEdges = "crisp-edges"
View Source
const Crosshair crosshair = "crosshair"
View Source
const CurrentColor currentColor = "currentColor"
View Source
const Darken darken = "darken"
View Source
const Dashed dashed = "dashed"
View Source
const Decimal decimal = "decimal"
View Source
const DecimalLeadingZero decimalLeadingZero = "decimal-leading-zero"
View Source
const Default defaultValue = "default"
View Source
const Dense dense = "dense"
View Source
const Difference difference = "difference"
View Source
const Disc disc = "disc"
View Source
const Distribute distribute = "distribute"
View Source
const Dotted dotted = "dotted"
View Source
const Double double = "double"
View Source
const EResize eResize = "e-resize"
View Source
const Ellipsis ellipsis = "ellipsis"
View Source
const Embed embed = "embed"
View Source
const End end = "end"
View Source
const EwResize ewResize = "ew-resize"
View Source
const Exclusion exclusion = "exclusion"
View Source
const Expanded expanded = "expanded"
View Source
const ExtraCondensed extraCondensed = "extra-condensed"
View Source
const ExtraExpanded extraExpanded = "extra-expanded"
View Source
const Fallback fallback = "fallback"
View Source
const Fill fill = "fill"
View Source
const First first = "first"
View Source
const Fixed fixed = "fixed"
View Source
const Flat flat = "flat"
View Source
const Flex flex = "flex"
View Source
const FlexEnd flexEnd = "flex-end"
View Source
const FlexStart flexStart = "flex-start"
View Source
const ForceEnd forceEnd = "force-end"
View Source
const Forwards forwards = "forwards"
View Source
const FullWidth fullWidth = "full-width"
View Source
const Georgian georgian = "georgian"
View Source
const Groove groove = "groove"
View Source
const HardLight hardLight = "hard-light"
View Source
const Help help = "help"
View Source
const Hidden hidden = "hidden"
View Source
const Hide hide = "hide"
View Source
const HistoricalForms historicalForms = "historical-forms"
View Source
const Horizontal horizontal = "horizontal"
View Source
const HorizontalTb horizontalTb = "horizontal-tb"
View Source
const Hue hue = "hue"
View Source
const Icon icon = "icon"
View Source
const Infinite infinite = "infinite"
View Source
const Inherit inherit = "inherit"
View Source
const Initial initial = "initial"
View Source
const Inline inline = "inline"
View Source
const InlineBlock inlineBlock = "inline-block"
View Source
const InlineFlex inlineFlex = "inline-flex"
View Source
const InlineTable inlineTable = "inline-table"
View Source
const Inset inset = "inset"
View Source
const Inside inside = "inside"
View Source
const InterWord interWord = "inter-word"
View Source
const Invert invert = "invert"
View Source
const Isolate isolate = "isolate"
View Source
const Italic italic = "italic"
View Source
const Justify justify = "justify"
View Source
const KeepAll keepAll = "keep-all"
View Source
const Large large = "large"
View Source
const Larger larger = "larger"
View Source
const Last last = "last"
View Source
const Left left = "left"
View Source
const Length length = "length"
View Source
const Lighten lighten = "lighten"
View Source
const Lighter lighter = "lighter"
View Source
const LineThrough lineThrough = "line-through"
View Source
const ListItem listItem = "list-item"
View Source
const Local local = "local"
View Source
const Loose loose = "loose"
View Source
const LowerAlpha lowerAlpha = "lower-alpha"
View Source
const LowerGreek lowerGreek = "lower-greek"
View Source
const LowerLatin lowerLatin = "lower-latin"
View Source
const LowerRoman lowerRoman = "lower-roman"
View Source
const Lowercase lowercase = "lowercase"
View Source
const Ltr ltr = "ltr"
View Source
const Luminosity luminosity = "luminosity"
View Source
const MatchParent matchParent = "match-parent"
View Source
const Maunal maunal = "maunal"
View Source
const Medium medium = "medium"
View Source
const Middle middle = "middle"
View Source
const Mixed mixed = "mixed"
View Source
const Move move = "move"
View Source
const Multiply multiply = "multiply"
View Source
const NResize nResize = "n-resize"
View Source
const NeResize neResize = "ne-resize"
View Source
const NeswResize neswResize = "nesw-resize"
View Source
const NoCloseQuote noCloseQuote = "no-close-quote"
View Source
const NoDrop noDrop = "no-drop"
View Source
const NoOpenQuote noOpenQuote = "no-open-quote"
View Source
const NoRepeat noRepeat = "no-repeat"
View Source
const None none = "none"
View Source
const Normal normal = "normal"
View Source
const NotAllowed notAllowed = "not-allowed"
View Source
const Nowrap nowrap = "nowrap"
View Source
const NsResize nsResize = "ns-resize"
View Source
const NwResize nwResize = "nw-resize"
View Source
const NwseResize nwseResize = "nwse-resize"
View Source
const Oblique oblique = "oblique"
View Source
const OpenQuote openQuote = "open-quote"
View Source
const Optional optional = "optional"
View Source
const Outset outset = "outset"
View Source
const Outside outside = "outside"
View Source
const Overlay overlay = "overlay"
View Source
const Overline overline = "overline"
View Source
const Page page = "page"
View Source
const Paused paused = "paused"
View Source
const PetiteCaps petiteCaps = "petite-caps"
View Source
const Pixelated pixelated = "pixelated"
View Source
const Pointer pointer = "pointer"
View Source
const Pre pre = "pre"
View Source
const PreLine preLine = "pre-line"
View Source
const PreWrap preWrap = "pre-wrap"
View Source
const Preserve3d preserve3d = "preserve-3d"
View Source
const Progress progress = "progress"
View Source
const Relative relative = "relative"
View Source
const Repeat repeat = "repeat"
View Source
const RepeatX repeatX = "repeat-x"
View Source
const RepeatY repeatY = "repeat-y"
View Source
const Reverse reverse = "reverse"
View Source
const Ridge ridge = "ridge"
View Source
const Right right = "right"
View Source
const Round round = "round"
View Source
const Row row = "row"
View Source
const RowResize rowResize = "row-resize"
View Source
const RowReverse rowReverse = "row-reverse"
View Source
const Rtl rtl = "rtl"
View Source
const RunIn runIn = "run-in"
View Source
const Running running = "running"
View Source
const SResize sResize = "s-resize"
View Source
const Saturation saturation = "saturation"
View Source
const ScaleDown scaleDown = "scale-down"
View Source
const Screen screen = "screen"
View Source
const Scroll scroll = "scroll"
View Source
const SeResize seResize = "se-resize"
View Source
const SemiCondensed semiCondensed = "semi-condensed"
View Source
const SemiExpanded semiExpanded = "semi-expanded"
View Source
const Seperate seperate = "seperate"
View Source
const Shadow shadow = "shadow"
View Source
const Show show = "show"
View Source
const Sideways sideways = "sideways"
View Source
const SidewaysLeft sidewaysLeft = "sideways-left"
View Source
const SidewaysRight sidewaysRight = "sideways-right"
View Source
const Slice slice = "slice"
View Source
const Small small = "small"
View Source
const SmallCaps smallCaps = "small-caps"
View Source
const Smaller smaller = "smaller"
View Source
const Smooth smooth = "smooth"
View Source
const SoftLight softLight = "soft-light"
View Source
const Solid solid = "solid"
View Source
const Space space = "space"
View Source
const SpaceAround spaceAround = "space-around"
View Source
const SpaceBetween spaceBetween = "space-between"
View Source
const SpaceEvenly spaceEvenly = "space-evenly"
View Source
const Square square = "square"
View Source
const Start start = "start"
View Source
const Static static = "static"
View Source
const Sticky sticky = "sticky"
View Source
const Stretch stretch = "stretch"
View Source
const Strict strict = "strict"
View Source
const StyleProperty styleProperty = "style"
View Source
const Sub sub = "sub"
View Source
const Super super = "super"
View Source
const SwResize swResize = "sw-resize"
View Source
const Swap swap = "swap"
View Source
const Table table = "table"
View Source
const TableCaption tableCaption = "table-caption"
View Source
const TableCell tableCell = "table-cell"
View Source
const TableColumn tableColumn = "table-column"
View Source
const TableColumnGroup tableColumnGroup = "table-column-group"
View Source
const TableFooterGroup tableFooterGroup = "table-footer-group"
View Source
const TableHeaderGroup tableHeaderGroup = "table-header-group"
View Source
const TableRow tableRow = "table-row"
View Source
const TableRowGroup tableRowGroup = "table-row-group"
View Source
const Text text = "text"
View Source
const TextBottom textBottom = "text-bottom"
View Source
const TextTop textTop = "text-top"
View Source
const Thick thick = "thick"
View Source
const Thin thin = "thin"
View Source
const TitlingCaps titlingCaps = "titling-caps"
View Source
const Top top = "top"
View Source
const Transparent transparent = "transparent"
View Source
const UltraCondensed ultraCondensed = "ultra-condensed"
View Source
const UltraExpanded ultraExpanded = "ultra-expanded"
View Source
const Under under = "under"
View Source
const Underline underline = "underline"
View Source
const Unicase unicase = "unicase"
View Source
const Unset unset = "unset"
View Source
const UpperAlpha upperAlpha = "upper-alpha"
View Source
const UpperLatin upperLatin = "upper-latin"
View Source
const UpperRoman upperRoman = "upper-roman"
View Source
const Uppercase uppercase = "uppercase"
View Source
const Upright upright = "upright"
View Source
const UseGlyphOrientation useGlyphOrientation = "use-glyph-orientation"
View Source
const Vertical vertical = "vertical"
View Source
const VerticalLr verticalLr = "vertical-lr"
View Source
const VerticalRl verticalRl = "vertical-rl"
View Source
const VerticalText verticalText = "vertical-text"
View Source
const Visible visible = "visible"
View Source
const WResize wResize = "w-resize"
View Source
const Wait wait = "wait"
View Source
const Wavy wavy = "wavy"
View Source
const Weight weight = "weight"
View Source
const Wrap wrap = "wrap"
View Source
const WrapReverse wrapReverse = "wrap-reverse"
View Source
const XLarge xLarge = "x-large"
View Source
const XSmall xSmall = "x-small"
View Source
const XxLarge xxLarge = "xx-large"
View Source
const XxSmall xxSmall = "xx-small"
View Source
const Zero zero = "0"
View Source
const ZoomIn zoomIn = "zoom-in"
View Source
const ZoomOut zoomOut = "zoom-out"

Variables

This section is empty.

Functions

func Add

func Add(stylesheet string) seed.Option

Add adds a stylesheet associated with this seed.

func After

func After(rules ...Rule) seed.Option

After applies the css rules to an 'after' psuedo element.

func FontSynthesis

func FontSynthesis(weight, style bool) fontSynthesisValue

func Hover

func Hover(rules ...Rule) seed.Option

Hover applies the css rules when the mouse is hovering over an element.

func RegisterRenderer

func RegisterRenderer(r Renderer)

func Render

func Render(root seed.Seed) []byte

Render renders a css document from the given seed as the root element.

func Require

func Require(path string, contents string) seed.Option

Require js script.

func Select

func Select(selector string, rules ...Rule) seed.Option

Select applies a selector like :hover to the seed.

func Selector

func Selector(c seed.Seed) string

Selector returns the css selector of this seed.

func SetSelector

func SetSelector(selector string) seed.Option

SetSelector sets the CSS selector of this seed.

func Stylesheets

func Stylesheets(root seed.Seed) map[string]string

Stylesheets returns the external stylesheets needed by this seed.

Types

type AnimationName

type AnimationName string

func (AnimationName) Rule

func (a AnimationName) Rule() Rule

type Duration

type Duration time.Duration

func (Duration) Rule

func (d Duration) Rule() Rule

type FontFace

type FontFace struct {
	FontFamily   string
	Src          urlType
	FontStretch  fontStretchValue
	FontStyle    fontStyleValue
	FontWeight   fontWeightValue
	FontDisplay  fontDisplayValue
	UnicodeRange unicodeRange
}

func NewFontFace

func NewFontFace(name string, src string) FontFace

func (FontFace) Bytes

func (font FontFace) Bytes() []byte

func (FontFace) Rule

func (font FontFace) Rule() Rule

func (FontFace) Set

func (font FontFace) Set(property, value string)

type Int

type Int int

func (Int) Rule

func (i Int) Rule() Rule

type Number

type Number float64

func (Number) Rule

func (n Number) Rule() Rule

type OrderedMap

type OrderedMap struct {
	// contains filtered or unexported fields
}

func NewOrderedMap

func NewOrderedMap() *OrderedMap

New creates a new OrderedMap.

func (*OrderedMap) Delete

func (om *OrderedMap) Delete(key string) (string, bool)

Delete removes the key-value pair, and returns what `Get` would have returned on that key prior to the call to `Delete`.

func (*OrderedMap) Get

func (om *OrderedMap) Get(key string) (string, bool)

Get looks for the given key, and returns the value associated with it, or nil if not found. The boolean it returns says whether the key is present in the map.

func (*OrderedMap) Len

func (om *OrderedMap) Len() int

Len returns the length of the ordered map.

func (*OrderedMap) Newest

func (om *OrderedMap) Newest() *Pair

Newest returns a pointer to the newest pair. It's meant to be used to iterate on the ordered map's pairs from the newest to the oldest, e.g.: for pair := orderedMap.Oldest(); pair != nil; pair = pair.Next() { fmt.Printf("%v => %v\n", pair.Key, pair.Value) }

func (*OrderedMap) Oldest

func (om *OrderedMap) Oldest() *Pair

Oldest returns a pointer to the oldest pair. It's meant to be used to iterate on the ordered map's pairs from the oldest to the newest, e.g.: for pair := orderedMap.Oldest(); pair != nil; pair = pair.Next() { fmt.Printf("%v => %v\n", pair.Key, pair.Value) }

func (*OrderedMap) Set

func (om *OrderedMap) Set(key string, value string) (string, bool)

Set sets the key-value pair, and returns what `Get` would have returned on that key prior to the call to `Set`.

type Pair

type Pair struct {
	Key   string
	Value string
	// contains filtered or unexported fields
}

func (*Pair) Next

func (p *Pair) Next() *Pair

Next returns a pointer to the next pair.

func (*Pair) Prev

func (p *Pair) Prev() *Pair

Previous returns a pointer to the previous pair.

type RGB

type RGB struct {
	color_go.Color
}

Colour is the CSS color type.

func (RGB) Rule

func (c RGB) Rule() Rule

type Renderer

type Renderer func(root seed.Seed) []byte

type Rule

type Rule string

Rule is a single css Rule.

func Set

func Set(property, value string) Rule

Set sets the CSS property to be set to the given value.

func SetAlignContent

func SetAlignContent(value alignContentValue) Rule

func SetAlignItems

func SetAlignItems(value alignItemsValue) Rule

func SetAlignSelf

func SetAlignSelf(value alignSelfValue) Rule

func SetAll

func SetAll(value allValue) Rule

func SetAnimation

func SetAnimation(value animationValue) Rule

func SetAnimationDelay

func SetAnimationDelay(value durationValue) Rule

func SetAnimationDirection

func SetAnimationDirection(value animationDirectionValue) Rule

func SetAnimationDuration

func SetAnimationDuration(value durationValue) Rule

func SetAnimationFillMode

func SetAnimationFillMode(value animationFillModeValue) Rule

func SetAnimationIterationCount

func SetAnimationIterationCount(value animationIterationCountValue) Rule

func SetAnimationName

func SetAnimationName(value animationNameValue) Rule

func SetAnimationPlayState

func SetAnimationPlayState(value animationPlayStateValue) Rule

func SetAnimationTimingFunction

func SetAnimationTimingFunction(value animationTimingFunctionValue) Rule

func SetBackfaceVisibility

func SetBackfaceVisibility(value backfaceVisibilityValue) Rule

func SetBackground

func SetBackground(value backgroundValue) Rule

func SetBackgroundAttachment

func SetBackgroundAttachment(value backgroundAttachmentValue) Rule

func SetBackgroundBlendMode

func SetBackgroundBlendMode(value backgroundBlendModeValue) Rule

func SetBackgroundClip

func SetBackgroundClip(value boxValue) Rule

func SetBackgroundColor

func SetBackgroundColor(value colorValue) Rule

func SetBackgroundImage

func SetBackgroundImage(value imageValue) Rule

func SetBackgroundOrigin

func SetBackgroundOrigin(value backgroundOriginValue) Rule

func SetBackgroundPosition

func SetBackgroundPosition(value unitAndUnitValue) Rule

func SetBackgroundRepeat

func SetBackgroundRepeat(value backgroundRepeatValue) Rule

func SetBackgroundSize

func SetBackgroundSize(value sizeValue) Rule

func SetBorder

func SetBorder(value borderValue) Rule

func SetBorderBottom

func SetBorderBottom(value borderBottomValue) Rule

func SetBorderBottomColor

func SetBorderBottomColor(value colorValue) Rule

func SetBorderBottomLeftRadius

func SetBorderBottomLeftRadius(value unitValue) Rule

func SetBorderBottomRightRadius

func SetBorderBottomRightRadius(value unitValue) Rule

func SetBorderBottomStyle

func SetBorderBottomStyle(value borderStyleValue) Rule

func SetBorderBottomWidth

func SetBorderBottomWidth(value thicknessValue) Rule

func SetBorderCollapse

func SetBorderCollapse(value borderCollapseValue) Rule

func SetBorderColor

func SetBorderColor(value colorValue) Rule

func SetBorderImage

func SetBorderImage(value borderImageValue) Rule

func SetBorderImageOutset

func SetBorderImageOutset(value uintOrUnitValue) Rule

func SetBorderImageRepeat

func SetBorderImageRepeat(value borderImageRepeatValue) Rule

func SetBorderImageSlice

func SetBorderImageSlice(value borderImageSliceValue) Rule

func SetBorderImageSource

func SetBorderImageSource(value imageValue) Rule

func SetBorderImageWidth

func SetBorderImageWidth(value sizeValue) Rule

func SetBorderLeft

func SetBorderLeft(value borderLeftValue) Rule

func SetBorderLeftColor

func SetBorderLeftColor(value sizeValue) Rule

func SetBorderLeftStyle

func SetBorderLeftStyle(value borderStyleValue) Rule

func SetBorderLeftWidth

func SetBorderLeftWidth(value thicknessValue) Rule

func SetBorderRadius

func SetBorderRadius(value borderRadiusValue) Rule

func SetBorderRight

func SetBorderRight(value borderRightValue) Rule

func SetBorderRightColor

func SetBorderRightColor(value colorValue) Rule

func SetBorderRightStyle

func SetBorderRightStyle(value borderStyleValue) Rule

func SetBorderRightWidth

func SetBorderRightWidth(value thicknessValue) Rule

func SetBorderSpacing

func SetBorderSpacing(value unitValue) Rule

func SetBorderStyle

func SetBorderStyle(value borderStyleValue) Rule

func SetBorderTop

func SetBorderTop(value borderTopValue) Rule

func SetBorderTopColor

func SetBorderTopColor(value colorValue) Rule

func SetBorderTopLeftRadius

func SetBorderTopLeftRadius(value borderTopLeftRadiusValue) Rule

func SetBorderTopRightRadius

func SetBorderTopRightRadius(value borderTopRightRadiusValue) Rule

func SetBorderTopStyle

func SetBorderTopStyle(value borderStyleValue) Rule

func SetBorderTopWidth

func SetBorderTopWidth(value thicknessValue) Rule

func SetBorderWidth

func SetBorderWidth(value thicknessValue) Rule

func SetBottom

func SetBottom(value unitOrAutoValue) Rule

func SetBoxDecorationBreak

func SetBoxDecorationBreak(value boxDecorationBreakValue) Rule

func SetBoxShadow

func SetBoxShadow(value shadowValue) Rule

func SetBoxSizing

func SetBoxSizing(value boxValue) Rule

func SetBreakAfter

func SetBreakAfter(value breakValue) Rule

func SetBreakBefore

func SetBreakBefore(value breakValue) Rule

func SetBreakInside

func SetBreakInside(value breakInsideValue) Rule

func SetCaptionSide

func SetCaptionSide(value captionSideValue) Rule

func SetClear

func SetClear(value clearValue) Rule

func SetClip

func SetClip(value clipValue) Rule

func SetColor

func SetColor(value colorValue) Rule

func SetColumnCount

func SetColumnCount(value columnCountValue) Rule

func SetColumnFill

func SetColumnFill(value columnFillValue) Rule

func SetColumnGap

func SetColumnGap(value columnGapValue) Rule

func SetColumnRule

func SetColumnRule(value columnRuleValue) Rule

func SetColumnRuleColor

func SetColumnRuleColor(value colorValue) Rule

func SetColumnRuleStyle

func SetColumnRuleStyle(value borderStyleValue) Rule

func SetColumnRuleWidth

func SetColumnRuleWidth(value columnRuleWidthValue) Rule

func SetColumnSpan

func SetColumnSpan(value unitOrAutoValue) Rule

func SetColumnWidth

func SetColumnWidth(value columnWidthValue) Rule

func SetColumns

func SetColumns(value columnsValue) Rule

func SetContent

func SetContent(value contentValue) Rule

func SetCounterIncrement

func SetCounterIncrement(value counterIncrementValue) Rule

func SetCounterReset

func SetCounterReset(value nameValue) Rule

func SetCursor

func SetCursor(value cursorValue) Rule

func SetDirection

func SetDirection(value directionValue) Rule

func SetDisplay

func SetDisplay(value displayValue) Rule

func SetEmptyCells

func SetEmptyCells(value emptyCellsValue) Rule

func SetFilter

func SetFilter(value filterValue) Rule

func SetFlex

func SetFlex(value flexValue) Rule

func SetFlexBasis

func SetFlexBasis(value unitOrAutoValue) Rule

func SetFlexDirection

func SetFlexDirection(value flexDirectionValue) Rule

func SetFlexFlow

func SetFlexFlow(value flexFlowValue) Rule

func SetFlexGrow

func SetFlexGrow(value numberValue) Rule

func SetFlexShrink

func SetFlexShrink(value numberValue) Rule

func SetFlexWrap

func SetFlexWrap(value flexWrapValue) Rule

func SetFloat

func SetFloat(value floatValue) Rule

func SetFont

func SetFont(value fontValue) Rule

func SetFontDisplay

func SetFontDisplay(value fontDisplayValue) Rule

func SetFontFamily

func SetFontFamily(value fontFamilyValue) Rule

func SetFontFeatureSettings

func SetFontFeatureSettings(value fontFeatureSettingsValue) Rule

func SetFontKerning

func SetFontKerning(value normalOrAutoValue) Rule

func SetFontLanguageOverride

func SetFontLanguageOverride(value fontLanguageOverrideValue) Rule

func SetFontSize

func SetFontSize(value fontSizeValue) Rule

func SetFontSizeAdjust

func SetFontSizeAdjust(value fontSizeAdjustValue) Rule

func SetFontStretch

func SetFontStretch(value fontStretchValue) Rule

func SetFontStyle

func SetFontStyle(value fontStyleValue) Rule

func SetFontSynthesis

func SetFontSynthesis(value fontSynthesisValue) Rule

func SetFontVariant

func SetFontVariant(value fontVariantValue) Rule

func SetFontVariantAlternates

func SetFontVariantAlternates(value fontVariantAlternatesValue) Rule

func SetFontVariantCaps

func SetFontVariantCaps(value fontVariantCapsValue) Rule

func SetFontVariantEastAsian

func SetFontVariantEastAsian(value fontVariantEastAsianValue) Rule

func SetFontVariantLigatures

func SetFontVariantLigatures(value fontVariantLigaturesValue) Rule

func SetFontVariantNumeric

func SetFontVariantNumeric(value fontVariantNumericValue) Rule

func SetFontVariantPosition

func SetFontVariantPosition(value fontVariantPositionValue) Rule

func SetFontWeight

func SetFontWeight(value fontWeightValue) Rule

func SetGrid

func SetGrid(value gridValue) Rule

func SetGridArea

func SetGridArea(value gridAreaValue) Rule

func SetGridAutoColumns

func SetGridAutoColumns(value gridAutoValue) Rule

func SetGridAutoFlow

func SetGridAutoFlow(value gridAutoFlowValue) Rule

func SetGridAutoRows

func SetGridAutoRows(value gridAutoValue) Rule

func SetGridColumn

func SetGridColumn(value gridColumnValue) Rule

func SetGridColumnEnd

func SetGridColumnEnd(value gridStopValue) Rule

func SetGridColumnGap

func SetGridColumnGap(value unitValue) Rule

func SetGridColumnStart

func SetGridColumnStart(value gridStopValue) Rule

func SetGridGap

func SetGridGap(value gridGapValue) Rule

func SetGridRow

func SetGridRow(value gridRowValue) Rule

func SetGridRowEnd

func SetGridRowEnd(value gridStopValue) Rule

func SetGridRowGap

func SetGridRowGap(value unitValue) Rule

func SetGridRowStart

func SetGridRowStart(value gridStopValue) Rule

func SetGridTemplate

func SetGridTemplate(value gridTemplateValue) Rule

func SetGridTemplateAreas

func SetGridTemplateAreas(names []string) Rule

func SetGridTemplateColumns

func SetGridTemplateColumns(values []gridTemplateValue) Rule

func SetGridTemplateRows

func SetGridTemplateRows(values []gridTemplateValue) Rule

func SetHangingPunctuation

func SetHangingPunctuation(value hangingPunctuationValue) Rule

func SetHeight

func SetHeight(value unitOrAutoValue) Rule

func SetHyphens

func SetHyphens(value hyphensValue) Rule

func SetImageRendering

func SetImageRendering(value imageRenderingValue) Rule

func SetIsolation

func SetIsolation(value isolationValue) Rule

func SetJustifyContent

func SetJustifyContent(value justifyContentValue) Rule

func SetLeft

func SetLeft(value unitOrAutoValue) Rule

func SetLetterSpacing

func SetLetterSpacing(value normalOrUnitOrAutoValue) Rule

func SetLineBreak

func SetLineBreak(value lineBreakValue) Rule

func SetLineHeight

func SetLineHeight(value lineHeightValue) Rule

func SetListStyle

func SetListStyle(value listStyleValue) Rule

func SetListStyleImage

func SetListStyleImage(value imageValue) Rule

func SetListStylePosition

func SetListStylePosition(value listStylePositionValue) Rule

func SetListStyleType

func SetListStyleType(value listStyleTypeValue) Rule

func SetMargin

func SetMargin(value marginValue) Rule

func SetMarginBottom

func SetMarginBottom(value unitOrAutoValue) Rule

func SetMarginLeft

func SetMarginLeft(value unitOrAutoValue) Rule

func SetMarginRight

func SetMarginRight(value unitOrAutoValue) Rule

func SetMarginTop

func SetMarginTop(value unitOrAutoValue) Rule

func SetMaxHeight

func SetMaxHeight(value unitOrNoneValue) Rule

func SetMaxWidth

func SetMaxWidth(value unitOrNoneValue) Rule

func SetMinHeight

func SetMinHeight(value unitOrNoneValue) Rule

func SetMinWidth

func SetMinWidth(value unitOrNoneValue) Rule

func SetMixBlendMode

func SetMixBlendMode(value mixBlendModeValue) Rule

func SetObjectFit

func SetObjectFit(value objectFitValue) Rule

func SetObjectPosition

func SetObjectPosition(value unitAndUnitValue) Rule

func SetOpacity

func SetOpacity(value numberValue) Rule

func SetOrder

func SetOrder(value orderValue) Rule

func SetOrphans

func SetOrphans(value uintValue) Rule

func SetOutline

func SetOutline(value outlineValue) Rule

func SetOutlineColor

func SetOutlineColor(value colorValue) Rule

func SetOutlineOffset

func SetOutlineOffset(value unitValue) Rule

func SetOutlineStyle

func SetOutlineStyle(value borderStyleValue) Rule

func SetOutlineWidth

func SetOutlineWidth(value thicknessValue) Rule

func SetOverflow

func SetOverflow(value overflowValue) Rule

func SetOverflowWrap

func SetOverflowWrap(value overflowWrapValue) Rule

func SetOverflowX

func SetOverflowX(value overflowValue) Rule

func SetOverflowY

func SetOverflowY(value overflowValue) Rule

func SetPadding

func SetPadding(value paddingValue) Rule

func SetPaddingBottom

func SetPaddingBottom(value unitValue) Rule

func SetPaddingLeft

func SetPaddingLeft(value unitValue) Rule

func SetPaddingRight

func SetPaddingRight(value unitValue) Rule

func SetPaddingTop

func SetPaddingTop(value unitValue) Rule

func SetPageBreakAfter

func SetPageBreakAfter(value pageBreakValue) Rule

func SetPageBreakBefore

func SetPageBreakBefore(value pageBreakValue) Rule

func SetPageBreakInside

func SetPageBreakInside(value pageBreakInsideValue) Rule

func SetPerspective

func SetPerspective(value unitOrNoneValue) Rule

func SetPerspectiveOrigin

func SetPerspectiveOrigin(value unitAndUnitValue) Rule

func SetPointerEvents

func SetPointerEvents(value pointerEventsValue) Rule

func SetPosition

func SetPosition(value positionValue) Rule

func SetQuotes

func SetQuotes(quotes []string) Rule

func SetResize

func SetResize(value resizeValue) Rule

func SetRight

func SetRight(value unitOrAutoValue) Rule

func SetScrollBehavior

func SetScrollBehavior(value scrollBehaviorValue) Rule

func SetTabSize

func SetTabSize(value numberValue) Rule

func SetTableLayout

func SetTableLayout(value tableLayoutValue) Rule

func SetTextAlign

func SetTextAlign(value textAlignValue) Rule

func SetTextAlignLast

func SetTextAlignLast(value textAlignLastValue) Rule

func SetTextCombineUpright

func SetTextCombineUpright(value textCombineUprightValue) Rule

func SetTextDecoration

func SetTextDecoration(value textDecorationValue) Rule

func SetTextDecorationColor

func SetTextDecorationColor(value colorValue) Rule

func SetTextDecorationLine

func SetTextDecorationLine(value textDecorationLineValue) Rule

func SetTextDecorationStyle

func SetTextDecorationStyle(value textDecorationStyleValue) Rule

func SetTextIndent

func SetTextIndent(value unitValue) Rule

func SetTextJustify

func SetTextJustify(value textJustifyValue) Rule

func SetTextOrientation

func SetTextOrientation(value textOrientationValue) Rule

func SetTextOverflow

func SetTextOverflow(value textOverflowValue) Rule

func SetTextShadow

func SetTextShadow(value shadowValue) Rule

func SetTextTransform

func SetTextTransform(value textTransformValue) Rule

func SetTextUnderlinePosition

func SetTextUnderlinePosition(value textUnderlinePositionValue) Rule

func SetTop

func SetTop(value unitOrAutoValue) Rule

func SetTransform

func SetTransform(value transformValue) Rule

func SetTransformOrigin

func SetTransformOrigin(p positionValue, z ...unitValue) Rule

func SetTransformStyle

func SetTransformStyle(value transformStyleValue) Rule

func SetTransition

func SetTransition(value transitionValue) Rule

func SetTransitionDelay

func SetTransitionDelay(value transitionDelayValue) Rule

func SetTransitionDuration

func SetTransitionDuration(value transitionDurationValue) Rule

func SetTransitionProperty

func SetTransitionProperty(properties ...interface{}) Rule

func SetTransitionTimingFunction

func SetTransitionTimingFunction(value transitionTimingFunctionValue) Rule

func SetUnicodeBidi

func SetUnicodeBidi(value unicodeBidiValue) Rule

func SetUserSelect

func SetUserSelect(value userSelectValue) Rule

func SetVerticalAlign

func SetVerticalAlign(value verticalAlignValue) Rule

func SetVisibility

func SetVisibility(value visibilityValue) Rule

func SetWhiteSpace

func SetWhiteSpace(value uintValue) Rule

func SetWidows

func SetWidows(value widowsValue) Rule

func SetWidth

func SetWidth(value unitOrAutoValue) Rule

func SetWillChange

func SetWillChange(properties ...interface{}) Rule

func SetWordBreak

func SetWordBreak(value wordBreakValue) Rule

func SetWordSpacing

func SetWordSpacing(value wordSpacingValue) Rule

func SetWordWrap

func SetWordWrap(value wordWrapValue) Rule

func SetWritingMode

func SetWritingMode(value writingModeValue) Rule

func SetZIndex

func SetZIndex(value integerOrAutoValue) Rule

func (Rule) AddTo

func (r Rule) AddTo(c seed.Seed)

func (Rule) And

func (r Rule) And(options ...seed.Option) seed.Option

func (Rule) Important

func (r Rule) Important() Rule

Important returns an important version of this rule.

func (Rule) Property

func (r Rule) Property() string

func (Rule) Rules

func (r Rule) Rules() Rules

func (Rule) Split

func (r Rule) Split() (property, value string)

func (Rule) Value

func (r Rule) Value() string

type Rules

type Rules []Rule

func (Rules) AddTo

func (r Rules) AddTo(c seed.Seed)

func (Rules) And

func (r Rules) And(options ...seed.Option) seed.Option

func (Rules) Rules

func (r Rules) Rules() Rules

type Style

type Style interface {
	Rules() Rules
}

type Unit

type Unit struct {
	// contains filtered or unexported fields
}

func Em

func Em(v float64) Unit

func Measure

func Measure(u units.Unit) Unit

func Percent

func Percent(v float64) Unit

func Px

func Px(v float64) Unit

func Rem

func Rem(v float64) Unit

func Vh

func Vh(v float64) Unit

func Vmin

func Vmin(v float64) Unit

func Vw

func Vw(v float64) Unit

func (Unit) Rule

func (u Unit) Rule() Rule

func (Unit) String

func (u Unit) String() string

Directories

Path Synopsis
fr
px
rem
vh

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL