Skip to content

Theme

@blobs/sdk v0.1.0


@blobs/sdk / types/Themes / Theme

Defined in: types/Themes.ts:16

A persisted theme record.

Owned by a user. config holds CSS variables (e.g., --color-primary) that the client applies via applyTheme.

Properties

id

id: string

Defined in: types/Themes.ts:18

Stable UUID for the theme record.


user_id

user_id: string

Defined in: types/Themes.ts:20

Owning user’s ID.


name

name: string

Defined in: types/Themes.ts:22

Display name shown in the theme picker.


config

config: Record<string, any>

Defined in: types/Themes.ts:24

CSS variable map (key → value, e.g., '--color-primary': '#3b82f6').


published

published: boolean

Defined in: types/Themes.ts:26

Whether the theme has been published (visible to others).


version

version: string

Defined in: types/Themes.ts:28

Semver-like version string for the published theme.


theme_id

theme_id: string

Defined in: types/Themes.ts:30

Stable theme identifier separate from id (used for cross-version refs).


created_at

created_at: string

Defined in: types/Themes.ts:32

ISO-8601 timestamp the theme was created.


updated_at

updated_at: string

Defined in: types/Themes.ts:34

ISO-8601 timestamp of the last update.