TextStyles

class TextStyles(main: TextStyle, paragraph: TextStyle, body1: TextStyle, body2: TextStyle, button: TextStyle, footnote1: TextStyle, footnote2: TextStyle, headline1: TextStyle, headline2: TextStyle, subtitle: TextStyle, title1: TextStyle, title2: TextStyle, title3: TextStyle, title4: TextStyle)

The default text styles for the Miuix components.

Parameters

main

The main text style.

paragraph

The paragraph text style.

body1

The body1 text style.

body2

The body2 text style.

button

The button text style.

footnote1

The footnote1 text style.

footnote2

The footnote2 text style.

headline1

The headline1 text style.

headline2

The headline2 text style.

subtitle

The subtitle text style.

title1

The title1 text style.

title2

The title2 text style.

title3

The title3 text style.

title4

The title4 text style.

Constructors

Link copied to clipboard
constructor(main: TextStyle, paragraph: TextStyle, body1: TextStyle, body2: TextStyle, button: TextStyle, footnote1: TextStyle, footnote2: TextStyle, headline1: TextStyle, headline2: TextStyle, subtitle: TextStyle, title1: TextStyle, title2: TextStyle, title3: TextStyle, title4: TextStyle)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun copy(main: TextStyle = this.main, paragraph: TextStyle = this.paragraph, body1: TextStyle = this.body1, body2: TextStyle = this.body2, button: TextStyle = this.button, footnote1: TextStyle = this.footnote1, footnote2: TextStyle = this.footnote2, headline1: TextStyle = this.headline1, headline2: TextStyle = this.headline2, subtitle: TextStyle = this.subtitle, title1: TextStyle = this.title1, title2: TextStyle = this.title2, title3: TextStyle = this.title3, title4: TextStyle = this.title4): TextStyles