Format: Variables - SteamCustomizer/Editor GitHub Wiki

Each skin can have a number of variables.
This page describes the basic concepts of skin variables and their specifics.

#Basics Each variable is defined inside variables object in skin.scc file and follow this basic format:

{
  "variableName":
  {
    "type": <DataType>,
    "value": <Object>
  }
}

This is the bare minimum to declare a skin variable.
The format suggests that each variable must have a type and a value.
All possible data types are declared in SteamCustomizer.Types namespace in .../SteamCustomizer/Types.js

Each data type dictates how the variable will be presented in HTML and rendered in Steam skin file (.styles, .layout, etc), along with specific type behaviour.

#Inheritance and Linking ##Inheritance ##Linking

⚠️ **GitHub.com Fallback** ⚠️