Insource Systems
  • Intro
  • Change Log
  • API Reference
  • Insource Bot
    • Getting Started
    • Commands
      • Settings
      • Moderation
      • Info
      • Account
      • InStore
  • InStore
    • Getting Started
      • Linking Your Account
      • Create Your Store
      • Create a Product
    • Framework
      • RemoteEvent
        • Alert
        • LaunchProduct
      • RemoteFunction
        • GetCurrentUser
        • GetProductById
        • GetProducts
        • RequestPromptPurchase
      • Resources
        • Configuration
        • Product
        • Theme
        • User
      • Utils
        • TeleportToAccount
        • TimeStringToEpoch
    • API Resources
      • License
      • Product
      • Store
  • API Resources
    • User
Powered by GitBook
On this page

Was this helpful?

  1. InStore
  2. Framework
  3. Resources

Theme

An InStore theme module.

PreviousProductNextUser

Last updated 1 year ago

Was this helpful?

File Structure

File Name
Type
Description

MainModule

ModuleScript

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
}

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

Theme Module