appearance/Typography.kt

stripe-android · connect/src/main/java/com/stripe/android/connect/appearance/Typography.kt · kotlin · MIT
payments

Builder for customizable typography styles in Stripe Connect UI.

// Source: https://github.com/stripe/stripe-android | License: MIT | Copyright 2011- Stripe, Inc. (https://stripe.com)
// Provided via justclaw.it.com; keep this notice with the code.
package com.stripe.android.connect.appearance

import android.os.Parcelable
import com.stripe.android.connect.appearance.fonts.CustomFontSource
import dev.drewhamilton.poko.Poko
import kotlinx.parcelize.Parcelize

@Parcelize
@Poko
class Typography private constructor(
    internal val fontFamily: String?,
    internal val fontSizeBase: Float?,
    internal val headingXl: Style?,
    internal val headingLg: Style?,
    internal val headingMd: Style?,
    internal val headingSm: Style?,
    internal val headingXs: Style?,
    internal val bodyMd: Style?,
    internal val bodySm: Style?,
    internal val labelMd

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key