Aurora.Uix.Templates.Basic.Themes.Base (Aurora UIX v0.1.4-rc.8)

Copy Markdown

The base theme for the Basic template.

This theme defines a set of CSS rules for the base theme.

Summary

Functions

Returns the CSS breakpoint value in pixels for the given size atom.

Functions

breakpoint(atom)

@spec breakpoint(atom()) :: binary()

Returns the CSS breakpoint value in pixels for the given size atom.

Parameters

  • size (atom()) - The breakpoint size. Supported values: :sm, :md, :lg, :xl, :xxl.

Returns

binary() - The CSS pixel value string for the breakpoint.

Examples

iex> Aurora.Uix.Templates.Basic.Themes.Base.breakpoint(:md)
"768px"