Preparing search index...
The search index is not available
@shopify/cli-kit
@shopify/cli-kit
node/themes/theme-manager
ThemeManager
Class ThemeManager
Abstract
Index
Constructors
constructor
Properties
admin
Session
context
theme
Id
Methods
create
fetch
find
Or
Create
generate
Theme
Name
remove
Theme
set
Theme
Constructors
constructor
new
Theme
Manager
(
adminSession
)
:
ThemeManager
Parameters
adminSession
:
AdminSession
Returns
ThemeManager
Properties
Protected
admin
Session
admin
Session
:
AdminSession
Protected
Abstract
context
context
:
string
Protected
theme
Id
theme
Id
:
undefined
|
string
Methods
create
create
(
themeRole
?
,
themeName
?
)
:
Promise
<
Theme
>
Parameters
Optional
themeRole
:
Role
Optional
themeName
:
string
Returns
Promise
<
Theme
>
fetch
fetch
(
)
:
Promise
<
undefined
|
Theme
>
Returns
Promise
<
undefined
|
Theme
>
find
Or
Create
find
Or
Create
(
)
:
Promise
<
Theme
>
Returns
Promise
<
Theme
>
generate
Theme
Name
generate
Theme
Name
(
context
)
:
string
Parameters
context
:
string
Returns
string
Protected
Abstract
remove
Theme
remove
Theme
(
)
:
void
Returns
void
Protected
Abstract
set
Theme
set
Theme
(
themeId
)
:
void
Parameters
themeId
:
string
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
admin
Session
context
theme
Id
create
fetch
find
Or
Create
generate
Theme
Name
remove
Theme
set
Theme
@shopify/cli-kit
Loading...