Theme

An InStore theme module.

File Structure

File Name
Type
Description

MainModule

ModuleScript

The primary module script for your theme, which should follow the Theme Module structure.

Gui

Folder

A folder containing UI components. These are automatically placed in a ScreenGui

Templates

?Folder

A folder that contains templates for your theme. This is recommended for organization.

ThemeScripts

Folder

This houses all client scripts for your theme.

MainModule
 |
 +-- Gui
 |
 +-- Templates
 |
 +-- ThemeScripts

Example File Structure

MainModule
 |
 +-- Gui
 |  |
 |  +-- Frame
 |     |
 |     +-- ProductsListFrame
 |
 +-- Templates
 |  |
 |  +-- ProductButton
 |
 +-- ThemeScripts
 |  |
 |  +-- LocalScript

Theme Module Structure

Field
Type
Description

Name

string

a unique name

Version

string

the current version number

Description

string

a short description

Author

string

the author

Keywords

?string[]

keywords describing the theme

script

script

must be the current script for internal processing

Example Theme Module

return {
  Name = 'My Theme',
  Version = '1.0.0',
  Description = 'This theme looks like the beach',
  Author = 'Hector',
  Keywords = {'Beach', 'Sunset', 'Sand'},
  script = script
}

Last updated

Was this helpful?