solana-app-kit


solana-app-kit / components/thread/thread.styles / createThreadStyles

Function: createThreadStyles()

createThreadStyles(theme, overrideStyles?, userStyleSheet?): object

Defined in: src/components/thread/thread.styles.ts:14

Parameters

theme

—thread-avatar-size

number = 40

—thread-bg-primary

string = '#FFFFFF'

—thread-bg-secondary

string = '#F2F3F5'

—thread-border-color

string = '#EDEFF3'

—thread-composer-bg

string = '#FAFAFA'

—thread-cta-container-width

"84%" = ...

—thread-font-size

number = 14

—thread-item-margin-left-step

number = 16

string = '#2B8EF0'

—thread-poll-bg

string = '#F5F5F5'

—thread-poll-option-bg

string = '#ECECEC'

—thread-post-border-color

string = '#E0E0E0'

—thread-post-padding-horizontal

number = 16

—thread-post-padding-vertical

number = 12

—thread-reaction-icon-size

number = 20

—thread-reply-line-color

string = '#E0E0E0'

—thread-replying-bg

string = '#F9F9F9'

—thread-replying-border-radius

number = 6

—thread-replying-margin-vertical

number = 8

—thread-replying-padding

number = 8

—thread-section-spacing

number = 8

—thread-text-placeholder

string = '#737373'

—thread-text-primary

string = '#232324'

—thread-text-secondary

string = '#434445'

overrideStyles?

userStyleSheet?

Returns

object