-
@Immutable() public final class StreamTypographyContains all the typography we provide for our components.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classStreamTypography.Companion
-
Field Summary
Fields Modifier and Type Field Description private final TextStyletitle1private final TextStyletitle3private final TextStyletitle3Boldprivate final TextStylebodyprivate final TextStylebodyItalicprivate final TextStylebodyBoldprivate final TextStylefootnoteprivate final TextStylefootnoteItalicprivate final TextStylefootnoteBoldprivate final TextStylecaptionBoldprivate final TextStyletabBarprivate final TextStylesingleEmojiprivate final TextStyleemojiOnly
-
Constructor Summary
Constructors Constructor Description StreamTypography(TextStyle title1, TextStyle title3, TextStyle title3Bold, TextStyle body, TextStyle bodyItalic, TextStyle bodyBold, TextStyle footnote, TextStyle footnoteItalic, TextStyle footnoteBold, TextStyle captionBold, TextStyle tabBar, TextStyle singleEmoji, TextStyle emojiOnly)
-
Method Summary
Modifier and Type Method Description final TextStylegetTitle1()final TextStylegetTitle3()final TextStylegetTitle3Bold()final TextStylegetBody()final TextStylegetBodyItalic()final TextStylegetBodyBold()final TextStylegetFootnote()final TextStylegetFootnoteItalic()final TextStylegetFootnoteBold()final TextStylegetCaptionBold()final TextStylegetTabBar()final TextStylegetSingleEmoji()final TextStylegetEmojiOnly()-
-
Constructor Detail
-
StreamTypography
StreamTypography(TextStyle title1, TextStyle title3, TextStyle title3Bold, TextStyle body, TextStyle bodyItalic, TextStyle bodyBold, TextStyle footnote, TextStyle footnoteItalic, TextStyle footnoteBold, TextStyle captionBold, TextStyle tabBar, TextStyle singleEmoji, TextStyle emojiOnly)
- Parameters:
title1- Used for big titles, like the image attachment overlay text.title3- Used for empty content text.title3Bold- Used for titles of app bars and bottom bars.body- Used for body content, such as messages.bodyItalic- Used for body content, italicized, like deleted message components.bodyBold- Used for emphasized body content, like small titles.footnote- Used for footnote information, like timestamps.footnoteItalic- Used for footnote information that's less important, like the deleted message text.footnoteBold- Used for footnote information in certain important items, like the thread reply text, or user info components.captionBold- Used for unread count indicator.singleEmoji- Used for messages whose content consists only of a single emoji.emojiOnly- Used for messages whose content consists only if emojis.
-
-
Method Detail
-
getTitle1
final TextStyle getTitle1()
-
getTitle3
final TextStyle getTitle3()
-
getTitle3Bold
final TextStyle getTitle3Bold()
-
getBody
final TextStyle getBody()
-
getBodyItalic
final TextStyle getBodyItalic()
-
getBodyBold
final TextStyle getBodyBold()
-
getFootnote
final TextStyle getFootnote()
-
getFootnoteItalic
final TextStyle getFootnoteItalic()
-
getFootnoteBold
final TextStyle getFootnoteBold()
-
getCaptionBold
final TextStyle getCaptionBold()
-
getTabBar
final TextStyle getTabBar()
-
getSingleEmoji
final TextStyle getSingleEmoji()
-
getEmojiOnly
final TextStyle getEmojiOnly()
-
-
-
-