Interface: ThemeSectionResolverContext

twind.ThemeSectionResolverContext

Properties

breakpoints

Readonly breakpoints: (records: Record<string, undefined | string | { raw: string } | { max?: string ; min: string } | { max: string ; min?: string } | readonly ThemeScreenValue[]>) => Record<string, undefined | string>

Type declaration:

▸ (records: Record<string, undefined | string | { raw: string } | { max?: string ; min: string } | { max: string ; min?: string } | readonly ThemeScreenValue[]>): Record<string, undefined | string>

Parameters:

NameType
recordsRecord<string, undefined | string | { raw: string } | { max?: string ; min: string } | { max: string ; min?: string } | readonly ThemeScreenValue[]>

Returns: Record<string, undefined | string>

Defined in: src/types/theme.ts:67

Defined in: src/types/theme.ts:67


negative

Readonly negative: (records: Record<string, undefined | string>) => Record<string, undefined | string>

No-op function as negated values are automatically infered and do not not to be in the theme.

Type declaration:

▸ (records: Record<string, undefined | string>): Record<string, undefined | string>

Parameters:

NameType
recordsRecord<string, undefined | string>

Returns: Record<string, undefined | string>

Defined in: src/types/theme.ts:63

Defined in: src/types/theme.ts:63