Typography

object Typography

A quick way to obtain text styles derived from the default TextStyle. These match the functionality provided by JBFont in the IntelliJ Platform.

Functions

Link copied to clipboard
@Composable
fun h0TextStyle(): TextStyle

The text style to use for h0 titles. Derived from JewelTheme.textStyle.

Link copied to clipboard
@Composable
fun h1TextStyle(): TextStyle

The text style to use for h1 titles. Derived from JewelTheme.textStyle.

Link copied to clipboard
@Composable
fun h2TextStyle(): TextStyle

The text style to use for h2 titles. Derived from JewelTheme.textStyle.

Link copied to clipboard
@Composable
fun h3TextStyle(): TextStyle

The text style to use for h3 titles. Derived from JewelTheme.textStyle.

Link copied to clipboard
@Composable
fun h4TextStyle(): TextStyle

The text style to use for h4 titles. Derived from JewelTheme.textStyle.

Link copied to clipboard
@Composable
fun labelTextSize(): TextUnit

The text size to use for labels. Identical to the size set in JewelTheme.textStyle.

Link copied to clipboard
@Composable
fun labelTextStyle(): TextStyle

The text style to use for labels. Identical to JewelTheme.textStyle.