Mixins
Alignment
Float
| Variable | Type | Default | Description | Required |
| @value | preset | left | Left or right | - |
| @width | unit | - | Width value | - |
Left & Right
If a value is passed to the left or right mixins they reflect the left and right CSS properties and not float settings.
Clearfix
Clear
| Variable | Type | Default | Description | Required |
| @value | preset | both | Both, left, or right | - |
Vertical Align
| Variable | Type | Default | Description | Required |
| @value | value | - | Alignment value | ✔ |
Display
| Variable | Type | Default | Description | Required |
| @value | value | - | Display value | ✔ |
Inline
Inline-Block
| Variable | Type | Default | Description | Required |
| @width | unit | - | Width value | - |
| @height | unit | - | Height value | - |
Animation
| Variable | Type | Default | Description | Required |
| @arguments | value | - | Animation rules | ✔ |
Keyframes
| Variable | Type | Default | Description | Required |
| @name | value | - | Animation name | ✔ |
| @start | value | - | Starting value | ✔ |
| @end | value | - | Ending value | ✔ |
Backgrounds
| Variable | Type | Default | Description | Required |
| @value | string, keyword | - | Background rules | ✔ |
| Variable | Type | Default | Description | Required |
| @color | color | @bodyBackground = @white | Background color | - |
| @filename | string | - | Image file | - |
| @repeat | string, keyword | - | Image repeat | - |
| Variable | Type | Default | Description | Required |
| @color | color | - | Background color | ✔ |
| @opacity | unit | - | Background opacity | ✔ |
| Variable | Type | Default | Description | Required |
| @color | color | - | Background color | ✔ |
| @filename | string | - | Image file | ✔ |
| @x | unit | - | Horizontal offset | ✔ |
| @y | unit | 0 | Vertical offset | - |
| @repeat | keyword | no-repeat | Image repeat | - |
| Variable | Type | Default | Description | Required |
| @value | preset | - | Light or dark | ✔ |
| @opacity | unit | @defaultOpacity = .2 | Background | - |
| @fallback | color | # fff, #000 # | Fallback background color | - |
Background Color
| Variable | Type | Default | Description | Required |
| @color | color | base = @white | Background color | - |
Background Image
| Variable | Type | Default | Description | Required |
| @value | keyword | - | Image file | ✔ |
| Variable | Type | Default | Description | Required |
| @filename | string | - | Image file | ✔ |
| @repeat | keyword | - | Image repeat | - |
| Variable | Type | Default | Description | Required |
| retina | keyword | - | Retina preset | ✔ |
| @filename | string | - | Image file | ✔ |
| @width | unit | auto | Size or width | - |
| @height | unit | auto | Height | - |
| Variable | Type | Default | Description | Required |
| @filename | string | - | Image file | ✔ |
| @x | unit | - | Horizontal offset | ✔ |
| @y | unit | 0 | Vertical offset | - |
| @repeat | keyword | no-repeat | Repeat | - |
| Variable | Type | Default | Description | Required |
| retina | keyword | - | Retina present | ✔ |
| @filename | string | - | Image file | ✔ |
| @width | unit | - | Width | ✔ |
| height | unit | - | Height | ✔ |
| @x | unit | 0 | Vertical offset | - |
| @repeat | keyword | no-repeat | Image repeat | - |
The value of the retina filename suffix is set by the @retinaSuffixvariable.
| Variable | Type | Default | Description | Required |
| @filename | string | - | Image file | ✔ |
| @x | unit | - | Horizontal offset | ✔ |
| @y | unit | 0 | Vertical offset | ✔ |
| @repeat | keyword | no-repeat | Image repeat | ✔ |
| @attachment | keyword | - | Image attachment | ✔ |
| Variable | Type | Default | Description | Required |
| retina | preset | - | Retina | ✔ |
| @filename | string | - | Image file | ✔ |
| @width | unit | - | Width value | ✔ |
| height | unit | - | Height value | ✔ |
| @x | unit | - | Horizontal offset | ✔ |
| @y | unit | - | Vertical offset | ✔ |
| @repeat | keyword | - | Image repeat | ✔ |
| @attachment | keyword | - | Attachment value | ✔ |
| Variable | Type | Default | Description | Required |
| @filename | string | - | Image file | ✔ |
| @x | unit | - | Horizontal offset | ✔ |
| @y | unit | - | Vertical offset | ✔ |
| @repeat | keyword | - | Repeat | ✔ |
| @attachment | keyword | - | Attachment value | ✔ |
| @size | unit | - | Size | ✔ |
| Variable | Type | Default | Description | Required |
| @filename | string | - | Image file | ✔ |
| @x | unit | - | Horizontal offset | ✔ |
| @y | unit | - | Vertical offset | ✔ |
| @repeat | keyword | - | Repeat | ✔ |
| @attachment | keyword | - | Attachment value | ✔ |
| @width | unit | - | Width | ✔ |
| @height | unit | - | Height | ✔ |
Background Gradient
| Variable | Type | Default | Description | Required |
| @color | color | @gray | Fallback color | - |
| @start | color | rgba(0,0,0,0.8) | Starting color | - |
| @end | color | rgba(0,0,0,0.2) | Ending color | - |
| @angle | integer | 180 | Angle | - |
| Variable | Type | Default | Description | Required |
| @color | color | @gray | Fallback color | - |
| @spread | percentage | - | Color range | ✔ |
| @angle | integer | 180 | Angle | - |
Background Attachment
| Variable | Type | Default | Description | Required |
| @arguments | keyword | - | Attachment value | ✔ |
Background Position
| Variable | Type | Default | Description | Required |
| @x | unit | 0 | Horizontal offset | - |
| @y | unit | 0 | Vertical offset | - |
Background Repeat
| Variable | Type | Default | Description | Required |
| @arguments | keyword | - | Repeat value | ✔ |
Background Size
| Variable | Type | Default | Description | Required |
| @size | unit | - | Size value | ✔ |
Background Clip
| Variable | Type | Default | Description | Required |
| @value | keyword | border-box | Clip value | - |
Sprite
| Variable | Type | Default | Description | Required |
| @color | color | - | Background color | ✔ |
| @x | unit | 0 | Horizontal offset | - |
| @y | unit | 0 | Vertical offset | - |
| @repeat | keyword | no-repeat | Repeat | - |
| @filename | string | @spriteFilename | Image file | - |
| Variable | Type | Default | Description | Required |
| retina | keyword | - | Retina preset | ✔ |
| @color | color | - | Background Color | ✔ |
| @width | unit | auto | Width | - |
| @height | unit | auto | Height | - |
| @x | unit | 0 | Horizontal offset | - |
| @y | unit | 0 | Vertical offset | - |
| @repeat | keyword | no-repeat | Repeat | - |
| @filename | string | @spriteFilename | Image file | - |
| Variable | Type | Default | Description | Required |
| @x | unit | 0 | Horizontal offset | - |
| @y | unit | -0 | Vertical offset | - |
| @repeat | keyword | no-repeat | Repeat | - |
| @filename | string | @spriteFilename | Image file | - |
| Variable | Type | Default | Description | Required |
| retina | keyword | - | Retina preset | ✔ |
| @x | unit | 0 | Horizontal offset | - |
| @y | unit | 0 | Vertical offset | - |
| @width | unit | @retinaSpriteWidth | Width | - |
| @height | unit | @retinaSpriteHeight | Height | - |
| @repeat | keyword | no-repeat | Repeat | - |
| @filename | string | @spriteFilename | Image file | - |
:::
All image paths are relative to the @imagePath variable which defaults to "…/img". It can be overridden in variables.less.
Blocks
Centered Block
| Variable | Type | Default | Description | Required |
| @maxWidth | unit | - | Max width | - |
| @margin | unit | - | Bottom margin | - |
Borders
Border
| Variable | Type | Default | Description | Required |
| @value | string, keyword | '1px solid #404040' | Border rules | ✔ |
| Variable | Type | Default | Description | Required |
| @color | color | @lighterGray | Color | - |
| @value | unit | 1px | Size | - |
| @style | keyword | solid | Style | - |
| Variable | Type | Default | Description | Required |
| light, dark | keyword | - | Light or dark preset | ✔ |
| @opacity | integer | @defaultOpacity = .2 | Opacity | - |
| @value | unit | 1px | Width | - |
| @style | keyword | solid | Border style | - |
| @fallback | color | @black = #000 | Fallback color | - |
| Variable | Type | Default | Description | Required |
| top, right, bottom, left | keyword | - | Side preset | ✔ |
| @color | color | @lighterGray = @darkestGray | Color | - |
| @value | unit | 1px | Width | - |
| @style | keyword | solid | Style | - |
| Variable | Type | Default | Description | Required |
| top, right, bottom, left | keyword | - | Side preset | ✔ |
| light, dark | keyword | - | Light or dark preset | ✔ |
| @opacity | integer | @defaultOpacity = .2 | Color | - |
| @value | unit | 1px | Width | - |
| @style | keyword | solid | Style | - |
| @fallback | color | @white = #fff, @black = #000 | Fallback color | - |
| Variable | Type | Default | Description | Required |
| horizontal, vertical | keyword | - | Horizontal or vertical preset | ✔ |
| @color | color | @lighterGray = @darkestGray | Color | - |
| @value | unit | 1px | Width | - |
| @style | keyword | solid | Style | - |
| Variable | Type | Default | Description | Required |
| horizontal, vertical | keyword | - | Horizontal or vertical preset | ✔ |
| light, dark | keyword | - | Light or dark preset | ✔ |
| @opacity | integer | @defaultOpacity = .2 | Opacity | - |
| @value | unit | 1px | Width | - |
| @style | keyword | solid | Style | - |
| Variable | Type | Default | Description | Required |
| @top | unit | - | Top size | ✔ |
| @right | unit | - | Right size | - |
| @bottom | unit | - | Bottom size | - |
| @left | unit | - | Left size | - |
| @color | color | @lighterGray = @darkestGray | Color | - |
| @style | keyword | solid | Style | - |
Border Image
| Variable | Type | Default | Description | Required |
| @filename | string | - | Name of file | - |
| @slice | unit | 100% | Slice offset | - |
| @width | unit | 1 | Border width | - |
| @outset | unit | 0 | Extend beyond border box | - |
| @repeat | keyword | stretch | Match size of border | - |
Border Color, Style & Width
| Variable | Type | Default | Description | Required |
| @color, @style, @width | color, keyword, unit | - | Color, style, or width | ✔ |
| Variable | Type | Default | Description | Required |
| top, right, bottom, left | keyword | - | Side presets | ✔ |
| @color, @style, @width | color, keyword, unit | - | Color, style, or width | ✔ |
Box Shadows
| Variable | Type | Default | Description | Required |
| @value | string, keyword | '1px 1px 0 0 rgba(0, 0, 0, @{defaultOpacity})' | Box-shadow rules | - |
| Variable | Type | Default | Description | Required |
| inner | keyword | - | Inner preset | - |
| @color | color | - | Shadow color | ✔ |
| @x | value | 1px | Horizontal offset | - |
| @y | value | 1px | Vertical offset | - |
| @blur | value | 0 | Blur distance | - |
| @spread | value | 0 | Shadow size | - |
| Variable | Type | Default | Description | Required |
| light, dark | keyword | - | Light or dark preset | ✔ |
| @value | @percentage | @defaultOpacity = .2 | Opacity | - |
| @x | unit | 1px | Horizontal offset | - |
| @y | unit | 1px | Vertical offset | - |
| @blur | unit | 0 | Blur | - |
| @spread | unit | 0 | Spread | - |
| Variable | Type | Default | Description | Required |
| inner | keyword | - | Inner preset | ✔ |
| light, dark | keyword | - | Light or dark preset | ✔ |
| @opacity | percentage | @defaultOpacity = .2 | Opacity | - |
| @x | unit | 1px | Horizontal offset | - |
| @y | unit | 1px | Vertical offset | - |
| @blur | unit | 0 | Blur | - |
| @spread | unit | 0 | Spread | - |
Circle
Clearfix
Color
| Variable | Type | Default | Description | Required |
| @color | color | @baseColor = @darkestGray | Color value | - |
Shortcuts
The values for all the above colors are configurable with variables.less.
Content
| Variable | Type | Default | Description | Required |
| @value | string, keyword | '' | Content | - |
| @font | string, keyword | false | Font family | - |
| @size | unit | false | Font size | - |
Prefix, Suffix & Bookends
| Variable | Type | Default | Description | Required |
| @value | string, keyword | '-' | Content | - |
| @margin | unit | 0.5em | Left or right margin | - |
| @font | string, keyword | false | Font family | - |
| @color | color | false | Font color | - |
Display
Hide
Show
Hidden
Visible
Block
| Variable | Type | Default | Description | Required |
| @width | unit | - | Width | ✔ |
| @height | unit | - | Height | - |
Spaced
| Variable | Type | Default | Description | Required |
| @margin | unit | @blockMarginBottom = 4 | Bottom margin | - |
Spaced Block
| Variable | Type | Default | Description | Required |
| @margin | unit | @blockMarginBottom = 4 | Bottom margin | - |
| @width | unit | - | Width | - |
| @height | unit | - | Height | - |
Box Sizing
| Variable | Type | Default | Description | Required |
| @val | keyword | border-box | Box-sizing value | - |
Border Box
Content Box
Fill
Filters
Filter
| Variable | Type | Default | Description | Required |
| @value | string, keyword | - | Filter rules | ✔ |
Blur
| Variable | Type | Default | Description | Required |
| @value | unit | 2px | Radius | - |
Brightness
| Variable | Type | Default | Description | Required |
| @value | unit | 0.5 | Multiplier | - |
Contrast
| Variable | Type | Default | Description | Required |
| @value | unit | 1.5 | Multiplier | - |
Grayscale
| Variable | Type | Default | Description | Required |
| @value | unit | 1 | Amount | - |
Hue Rotate
| Variable | Type | Default | Description | Required |
| @value | unit | 180deg | Angle | - |
Invert
| Variable | Type | Default | Description | Required |
| @value | unit | 1 | Amount | - |
Saturate
| Variable | Type | Default | Description | Required |
| @value | unit | 0.5 | Amount | - |
Sepia
| Variable | Type | Default | Description | Required |
| @value | unit | 0.5 | Amount | - |
Drop Shadow
| Variable | Type | Default | Description | Required |
| @value | string, keyword | '1px 1px 0 rgba(0, 0, 0, @{defaultOpacity})' | Drop-shadow rules | - |
| Variable | Type | Default | Description | Required |
| @color | color | - | Color | ✔ |
| @x | unit | 1px | X-offset | - |
| @y | unit | 1px | Y-offset | - |
| @blur | unit | 0 | Blur radius | - |
Font Family
| Variable | Type | Default | Description | Required |
| @value | string, keyword | @baseFont = Arial, Helvetica, sans-serif | Font family rules | - |
Font Loading
Load Font
| Variable | Type | Default | Description | Required |
| @name | string | - | Font family rules | ✔ |
| @file | file | @name | Font file | - |
| @weight | integer, keyword | normal | Font weight | - |
| @style | keyword | normal | Font style | - |
Font Selection
| Variable | Type | Default | Description | Required |
| @family | font | @baseFont = Arial, Helvetica, sans-serif | Font family rules | - |
| @size | unit | - | Font size | - |
| @weight | unit | - | Font weight | - |
| @lineHeight | unit | - | Line height | - |
| @style | keyword | - | Font style | - |
Font Size
| Variable | Type | Default | Description | Required |
| @value | unit | @baseFontSize = 1.6 | Font size | - |
| Variable | Type | Default | Description | Required |
| @value | unit | - | Font size rules | ✔ |
| @lineHeight | unit | - | Line height rules | ✔ |
Font Style
| Variable | Type | Default | Description | Required |
| @value | keyword | normal | Font style | - |
Font Weight
| Variable | Type | Default | Description | Required |
| @value | unit | @baseFontWeight = normal | Font weight | - |
| Variable | Type | Default | Description | Required |
| @color | color | @inputPlaceholderColor = lighten(@inputColor, 40%) | Placeholder color | - |
Grid
Row & Row-Modify
| Variable | Type | Default | Description | Required |
| @margin | percentage | @gridMargin = 5% | Left margin | - |
Row Reset
Column & Column-Modify
| Variable | Type | Default | Description | Required |
| @width | unit | false | Column width | - |
| Variable | Type | Default | Description | Required |
| spaced | keyword | - | Set margin between columns | - |
| @share | integer | - | Column span | ✔ |
| @columns | integer | @gridColumns = 8 | Number of columns | - |
| @margin | percentage | @gridMargin = 5% | Left margin | - |
Column Reset
| Variable | Type | Default | Description | Required |
| @resetMargin | boolean | false | Reset left margin | - |
Column Pull & Push
| Variable | Type | Default | Description | Required |
| @share | integer | - | Column span | ✔ |
| @columns | integer | @gridColumns = 8 | Number of columns | - |
Column Offset
| Variable | Type | Default | Description | Required |
| spaced | keyword | - | Set margin between columns | - |
| @share | integer | - | Column span | ✔ |
| @columns | integer | @gridColumns = 8 | Number of columns | - |
| @margin | percentage | (@gridMargin / 2) | Left margin | - |
Hidden
Hide
Inline Grid
Inline Row
| Variable | Type | Default | Description | Required |
| @margin | percentage | @gridMargin = 5% | Left margin | - |
| @gridSpaceless | boolean | @gridMargin = 5% | Add whitespace hack | - |
Inline Column
| Variable | Type | Default | Description | Required |
| spaced | keyword | - | Set margin between columns | - |
| @share | integer | - | Column span | ✔ |
| @columns | integer | @gridColumns = 8 | Number of columns | - |
| @gridSpaceless | boolean | @gridMargin = 5% | Add whitespace hack | - |
Line Height
| Variable | Type | Default | Description | Required |
| @value | unit | @baseLineHeight | Line Height | - |
The default unit is em. To use a different unit update the @defaultLineHeightUnit variable in the variables file.
Line Through
Lists
Inline List
| Variable | Type | Default | Description | Required |
| @spacing | unit | - | Left margin | - |
| Variable | Type | Default | Description | Required |
| @content | string | - | Content | - |
| @margin | unit | 0 | Right margin | - |
List Style
| Variable | Type | Default | Description | Required |
| @value | keyword(s) | - | List-style rules | ✔ |
List Position
| Variable | Type | Default | Description | Required |
| @value | keyword | outside | List-style position | - |
Unstyled
Lowercase
Margin
| Variable | Type | Default | Description | Required |
| @value | unit | - | Margin value | ✔ |
| Variable | Type | Default | Description | Required |
| top, right, bottom, left | keyword | - | Side presets | ✔ |
| @value | unit | - | Margin value | - |
| Variable | Type | Default | Description | Required |
| horizontal, vertical | keyword | - | Horizontal or vertical preset | ✔ |
| @value | unit | - | Margin value | - |
| Variable | Type | Default | Description | Required |
| horizontal, vertical | keyword | - | Horizontal or vertical preset | ✔ |
| @left, @top | unit | - | Margin value | - |
| @right, @bottom | unit | - | Margin value | - |
| Variable | Type | Default | Description | Required |
| @y | unit | - | Vertical margins | - |
| @x | unit | - | Horizontal margins | - |
| Variable | Type | Default | Description | Required |
| @top | unit | - | Top margin | - |
| @right | unit | - | Right margin | - |
| @bottom | unit | - | Bottom margin | - |
| @left | unit | - | Left margin | - |
Multiple Columns
| Variable | Type | Default | Description | Required |
| @count | integer | 2 | Column width | - |
| @gap | unit | - | Column gap | - |
| @style | keyword | @gridColumns = 8 | Column rule style | - |
| @width | unit | @gridMargin = 5% | Column width | - |
Column Count
| Variable | Type | Default | Description | Required |
| @value | integer | - | Column count | ✔ |
Column Gap
| Variable | Type | Default | Description | Required |
| @value | unit | - | Column gap width | ✔ |
Column Style
| Variable | Type | Default | Description | Required |
| @value | keyword | - | Column style | ✔ |
Column Width
| Variable | Type | Default | Description | Required |
| @value | integer | - | Column width | ✔ |
No Clear
Opacity
| Variable | Type | Default | Description | Required |
| @value | unit | - | Opacity | ✔ |
Transparent
Opaque
Other
Resize
| Variable | Type | Default | Description | Required |
| @value | keyword | - | Resize value | ✔ |
Resizable
| Variable | Type | Default | Description | Required |
| @value | keyword | both | Resize value | - |
Hide Text
Selection
| Variable | Type | Default | Description | Required |
| @color | color | @selectionColor = @white | Selection color | - |
| @background | color, string, keyword | @selectionBackground = @linkColor | Selection background | - |
Cursor
| Variable | Type | Default | Description | Required |
| @value | keyword | pointer | Cursor value | - |
Overflow
| Variable | Type | Default | Description | Required |
| x, y | keyword | - | Overflow axis | - |
| @value | keyword | - | Overflow value | ✔ |
| Variable | Type | Default | Description | Required |
| @x | keyword | - | Overflow-x value | - |
| @y | keyword | - | Overflow-y value | - |
| Variable | Type | Default | Description | Required |
| horizontal, vertical | keyword | - | Horizontal or vertical preset | - |
| @value | keyword | true | Overflow value | - |
Fill
| Variable | Type | Default | Description | Required |
| horizontal, vertical, both | keyword | - | Horizontal, vertical, or both preset | - |
| @value | keyword, color | true | Fill value | - |
No Clear
Padding
| Variable | Type | Default | Description | Required |
| @value | unit | - | Padding value | ✔ |
| Variable | Type | Default | Description | Required |
| top, right, bottom, left | keyword | - | Side presets | ✔ |
| @value | unit | - | Padding value | ✔ |
| Variable | Type | Default | Description | Required |
| horizontal | keyword | - | Sets padding to @bumperPadding | ✔ |
| Variable | Type | Default | Description | Required |
| horizontal, vertical | keyword | - | Horizontal or vertical preset | ✔ |
| @value | unit | - | Padding value | ✔ |
| Variable | Type | Default | Description | Required |
| horizontal, vertical | keyword | - | Horizontal or vertical preset | ✔ |
| @left, @top | unit | - | Left or top padding value | ✔ |
| @right, @bottom | unit | - | Right or bottom padding value | ✔ |
| Variable | Type | Default | Description | Required |
| @vertical | unit | - | Vertical padding | ✔ |
| @horizontal | unit | - | Horizontal | ✔ |
| Variable | Type | Default | Description | Required |
| @top | unit | - | Top padding | ✔ |
| @right | unit | - | Right padding | ✔ |
| @bottom | unit | - | Bottom padding | ✔ |
| @left | unit | - | Left padding | ✔ |
| Variable | Type | Default | Description | Required |
| @padding | unit | @bumperPadding = 6% | Padding value | - |
Padded
Position
Top, Right, Bottom & Left
| Variable | Type | Default | Description | Required |
| @value | unit | 0 | Amount | - |
Position
| Variable | Type | Default | Description | Required |
| @value | keyword | - | Positioning | ✔ |
| @top | unit | - | Top | - |
| @right | unit | - | Right | - |
| @bottom | unit | - | Bottom | - |
| @left | unit | - | Left | - |
Absolute & Fixed
| Variable | Type | Default | Description | Required |
| @top | unit | - | Top position | - |
| @right | unit | - | Right position | - |
| @bottom | unit | - | Bottom position | - |
| @left | unit | - | Left position | - |
Relative
Static
Z-Index
| Variable | Type | Default | Description | Required |
| @index | integer | 1 | Z-Index | - |
Responsive
| Variable | Type | Default | Description | Required |
| @maxWidth | unit | - | Breakpoint maximum width | ✔ |
| @rules | rules | - | CSS rules | ✔ |
Right
Rounded Corners
| Variable | Type | Default | Description | Required |
| @value | unit | @defaultRadius = 3px | Size of radius | - |
| Variable | Type | Default | Description | Required |
| top, right, bottom, left | keyword | - | Side presets | ✔ |
| @value | unit | @defaultRadius = 3px | Radius | - |
| Variable | Type | Default | Description | Required |
| top, bottom | keyword | - | Top or bottom preset | ✔ |
| left, right | keyword | - | Left or right preset | ✔ |
| @value | unit | @defaultRadius = 3px | Radius | - |
| Variable | Type | Default | Description | Required |
| @top | unit | - | Top radius | ✔ |
| @right | unit | - | Right radius | ✔ |
| @bottom | unit | - | Bottom radius | ✔ |
| @left | unit | - | Left radius | ✔ |
Sepia
Shapes
Caret
| Variable | Type | Default | Description | Required |
| up, down, right, left | keyword | - | Direction | ✔ |
| @color | color | @darkGray = lighten(#000, 45%) | Color | - |
| @size | unit | 5px | Size | - |
| @horizontalSize, @verticalSize | unit | @size | Horizontal or vertical size | - |
Show
Sizing
| Variable | Type | Default | Description | Required |
| @value | unit | - | Width or Height | ✔ |
| @maxWidth, @maxHeight | unit | - | Maximum | - |
| Variable | Type | Default | Description | Required |
| @value | unit | - | Minimum or maximum | ✔ |
Size
| Variable | Type | Default | Description | Required |
| @width | unit | - | Width or Width/Height | ✔ |
| @height | unit | - | Height | - |
Square
| Variable | Type | Default | Description | Required |
| @size | unit | - | Width & height | ✔ |
Ratio
| Variable | Type | Default | Description | Required |
| embed | keyword | - | Embed | - |
| @ratio | unit | (16/9) | Ratio | - |
Circle
| Variable | Type | Default | Description | Required |
| @diameter | unit | - | Diameter | ✔ |
| @crop | boolean | false | Crop | - |
| @display | block, inline | block | Display value | - |
SVG
Fill
| Variable | Type | Default | Description | Required |
| @color | color | @baseColor = @darkestGray | Color value | - |
| @value | unit | - | Opacity | - |
Fill Dark/Light
| Variable | Type | Default | Description | Required |
| light, dark | keyword | - | Light or dark preset | ✔ |
| @opacity | unit | @defaultOpacity = .2 | Fill opacity | - |
Stroke
| Variable | Type | Default | Description | Required |
| @color | color | @baseColor = @darkestGray | Color value | - |
| @width | unit | - | Stroke width | - |
Tables
Responsive Table
Text Shadows
| Variable | Type | Default | Description | Required |
| @value | string, keyword | '1px 1px 0 rgba(0, 0, 0, @{defaultOpacity})' | Text shadow rules | - |
| Variable | Type | Default | Description | Required |
| inner | keyword | - | Inner preset | - |
| @color | color | - | Shadow color | ✔ |
| @x | value | 1px | Horizontal offset | - |
| @y | value | 1px | Vertical offset | - |
| @blur | value | 0 | Blur distance | - |
| Variable | Type | Default | Description | Required |
| inner | keyword | - | Inner preset | - |
| light, dark | keyword | - | Light or dark preset | ✔ |
| @value, @opacity | number | @defaultOpacity = .2 | Opacity | - |
| @x | unit | 1px | Horizontal offset | - |
| @y | unit | 1px | Vertical offset | - |
| @blur | unit | 0 | Blur | - |
Text Styling
Text Sharpen
Capitalize
Lowercase
Uppercase
Text Transform
| Variable | Type | Default | Description | Required |
| @value | keyword | none | Text transform rules | - |
Wrap
No-Wrap
Ellipsis
| Variable | Type | Default | Description | Required |
| @maxWidth | keyword | - | Maximum width for element | - |
Underline
| Variable | Type | Default | Description | Required |
| @style | keyword | - | Text decoration style | ✔ |
| @color | color | inheret | Text decoration color | - |
Line-Through
Text Decoration
| Variable | Type | Default | Description | Required |
| @value | keyword | underline | Text decoration rules | - |
| Variable | Type | Default | Description | Required |
| @line | keyword | - | Line type | ✔ |
| @style | keyword | - | Line style | ✔ |
| @color | color | inheret | Line color | - |
Outline
| Variable | Type | Default | Description | Required |
| @value | keyword | 'thin dotted' | Element outline rules | - |
Text Overflow
| Variable | Type | Default | Description | Required |
| @value | keyword | - | Element text overflow value | - |
Text Overflow
| Variable | Type | Default | Description | Required |
| @value | keyword | - | Element text overflow value | - |
White Space
| Variable | Type | Default | Description | Required |
| @value | keyword | - | Element white space value | - |
Letter Spacing
| Variable | Type | Default | Description | Required |
| @value | unit | - | Letter kerning rules | ✔ |
Word Spacing
| Variable | Type | Default | Description | Required |
| @value | unit | - | Word spacing rules | ✔ |
Text Indent
| Variable | Type | Default | Description | Required |
| @value | unit | - | Text indention rules | ✔ |
User Select
| Variable | Type | Default | Description | Required |
| @value | keyword | none | Controls selection operation | - |
Tab Size
| Variable | Type | Default | Description | Required |
| @value | integer | @codeBlockTabSize = 4 | Tab length | - |
textSharpen
| Variable | Type | Default | Description | Required |
| @arguments | keyword | - | Transform rules | ✔ |
Rotate
| Variable | Type | Default | Description | Required |
| @angle | integer | 45 | Angle | - |
Scale
| Variable | Type | Default | Description | Required |
| @value, x, y | integer, keyword | 1 | Scale or dimension | - |
| @value | integer | 1 | Scale | - |
Skew
| Variable | Type | Default | Description | Required |
| @x | integer | 45 | Horizontal skew | - |
| @y | integer | 0 | Vertical skew | - |
| Variable | Type | Default | Description | Required |
| x, y | keyword | - | X or Y preset | ✔ |
| @x, @y | integer | 45 | Vertical skew | - |
| Variable | Type | Default | Description | Required |
| @x | integer | - | Horizontal | ✔ |
| @y | integer | 0 | Vertical origin | - |
Translate
| Variable | Type | Default | Description | Required |
| @x | integer | 0 | X translation | - |
| @y | integer | 0 | Y translation | - |
| @z | integer | - | Z translation | - |
Transitions
Transition
| Variable | Type | Default | Description | Required |
| @value | string | 'all 0.2s ease-in-out 0s' | Transition rules | ✔ |
| Variable | Type | Default | Description | Required |
| @property | keyword | all | Animatable Property | - |
| @duration | seconds | @defaultDuration = .2s | Duration | - |
| @ease | keyword | ease-in-out | Timing function | - |
| @delay | seconds | 0s | Delay | - |
Transition Delay
| Variable | Type | Default | Description | Required |
| @delay | seconds | 1s | Delay value | - |
Transition Duration
| Variable | Type | Default | Description | Required |
| @duration | seconds | @defaultDuration = .2s | Duration value | - |
Unstyled
Uppercase
Visible
Wrap