View Source Tremorx.Theme (tremorx v0.1.0)

Defines various Tremor theme configurations

Summary

Functions

Defines align_items for the theme

Defines the badge icons size

Defines the badge proportions

Defines the badge proportions icon only

Defines border for the theme

Defines border radius for the theme

Defines box shadow for the theme

Defines button_proportions for the theme

Defines col_span for the theme

Defines the color names from color and shade

defines the color palettes

Defines colors for theme

Defines flex_direction for the theme

Defines font_size for the theme

Defines font_weight for the theme

Returns the value from align_items for key

Returns the value from badge_icon for size

Returns the value from badge_proportion icon only for size and key

Returns the value from badge_proportion for size

Returns the value from border for key

Returns the value from button_proportion for variant and size

Returns the value from col_span for key

Returns the value from col_span for size and key

Returns the color classes using the color and type

Returns the color classes using the color, palette and type

Returns the value from decoration_alignment for key

Returns the value from flex_direction for key

Returns the value from font_size for key

Returns the value from font_weight for key

Returns the value from grid_cols for key

Returns the value from grid_cols for size and key

Returns the value from icon_size for variant and size

Returns the value from justify_content for key

Returns the value from size for key

Returns the value from spacing for key

Defines grid_cols for the theme

Defines horizontal_positions for the theme

Defines icon_sizes for the theme

Defines justify_content for the theme

Creates a css class name from the component name and class

Defines sizing for the theme

Defines spacing for the theme

Defines vertical_positions for the theme

Functions

Defines align_items for the theme

Defines the badge icons size

Defines the badge proportions

Defines the badge proportions icon only

Defines border for the theme

Defines border radius for the theme

Defines box shadow for the theme

Link to this function

button_proportion(variant)

View Source

Defines button_proportions for the theme

Defines col_span for the theme

Link to this function

color_names(color, shade \\ nil)

View Source

Defines the color names from color and shade

defines the color palettes

Defines colors for theme

Defines flex_direction for the theme

Defines font_size for the theme

Defines font_weight for the theme

Link to this function

get_align_items_style(key)

View Source

Returns the value from align_items for key

Link to this function

get_badge_icon_style(size, key)

View Source

Returns the value from badge_icon for size

Link to this function

get_badge_proportion_icon_only_style(size, key)

View Source

Returns the value from badge_proportion icon only for size and key

Link to this function

get_badge_proportion_style(size, key)

View Source

Returns the value from badge_proportion for size

Link to this function

get_border_style(size, key)

View Source

Returns the value from border for key

Link to this function

get_button_proportion_style(variant, size)

View Source

Returns the value from button_proportion for variant and size

Returns the value from col_span for key

Link to this function

get_col_span_style(size, key)

View Source

Returns the value from col_span for size and key

Link to this function

get_color_style(color, type)

View Source

Returns the color classes using the color and type

Link to this function

get_color_style(color, palette, type)

View Source

Returns the color classes using the color, palette and type

Link to this function

get_decoration_alignment_style(key)

View Source

Returns the value from decoration_alignment for key

Link to this function

get_flex_direction_style(key)

View Source

Returns the value from flex_direction for key

Link to this function

get_font_size_style(key)

View Source

Returns the value from font_size for key

Link to this function

get_font_weight_style(key)

View Source

Returns the value from font_weight for key

Link to this function

get_grid_cols_style(key)

View Source

Returns the value from grid_cols for key

Link to this function

get_grid_cols_style(size, key)

View Source

Returns the value from grid_cols for size and key

Link to this function

get_icon_size_style(size, key)

View Source

Returns the value from icon_size for variant and size

Link to this function

get_justify_content_style(key)

View Source

Returns the value from justify_content for key

Link to this function

get_sizing_style(size, key)

View Source

Returns the value from size for key

Link to this function

get_spacing_style(size, key)

View Source

Returns the value from spacing for key

Defines grid_cols for the theme

Defines horizontal_positions for the theme

Defines icon_sizes for the theme

Defines justify_content for the theme

Link to this function

make_class_name(component, class)

View Source

Creates a css class name from the component name and class

Defines sizing for the theme

Defines spacing for the theme

Defines vertical_positions for the theme