Themes - kartFr/Asset-Reuploader GitHub Wiki
Overview
its just json vro... Make sure file extension is .json otherwise face the consequences
Themes are designed to be backwards/forwards compatible. Hopefully this doesn't change so you shouldn't worry too much.
Example
This is what the current default theme as of 1.2.0 looks like:
{
"Name": "Studio",
"Font": "SourceSansPro",
"TextSize": 15,
"TextColor": ["MainText"],
"DimmedTextColor": ["DimmedText"],
"StrokeColor": [0, 0, 0],
"StrokeTransparency": 0.75,
"BorderColor": ["Border"],
"BackgroundColor": ["Light"],
"BackgroundImage": "",
"ForegroundColor": ["MainBackground"],
"ForegroundImage": "",
"UnselectedColor": ["Button"],
"SelectedColor": ["Button", "Pressed"],
"ToggleBackgroundColor": ["DialogMainButton"],
"ToggleImage": "rbxassetid://97413807029185",
"TipColor": ["MainText"],
"TipImage": "rbxassetid://110240163333510",
"XColor": ["MainText"],
"XImage": "rbxassetid://116654648035158",
"NotificationTransparency": 0,
"NotificationImage": "",
"NotificationBackgroundImage": "",
}
Types
[Number, Number, Number]
Color [Red, Green, Blue]
just an array...
colors are numbers on a scale of 0-255. (not clamped)
[String, String, String]
Font [Font, FontWeight, FontStyle]
Font
: documentationFontWeight
: documentationFontStyle
: documentation
[String, String]
StudioThemeColor [StudioStyleGuideColor, StudioStyleGuideModifier?]
-
StudioStyleGuideColor
: documentation -
StudioStyleGuideModifier
: documentation
Color from current studio theme.
Fields
String
Name Required
Number
TextSize Default=15
String
| Font
Font Default="SourceSansPro"
If String
must use Font name
Color
| StudioThemeColor
TextColor Default=["MainText"]
Color
| StudioThemeColor
DimmedTextColor Default=["DimmedText"]
Currently only used in list input box when it's empty.
Color
| StudioThemeColor
StrokeColor Default=[0,0,0]
Number
StrokeTransparency Default=0.75|1
Has range of 0-1.
If not set then it will be 0.75 in in dark mode and 1 in light mode.
Color
| StudioThemeColor
BorderColor Default=["Border"]
Color
| StudioThemeColor
BackgroundColor Default=["Light"]
String
BackgroundImage Recommended 500x250 image
Color
| StudioThemeColor
ForegroundColor Default=["MainBackground"]
String
ForegroundImage Recommended 488x208 image
Color
| StudioThemeColor
UnselectedColor Default=["Button"]
Colors for buttons and toggles when unselected.
Color
| StudioThemeColor
SelectedColor Default=["Button", "Pressed"]
Color for buttons when pressed.
Color
| StudioThemeColor
ToggleBackgroundColor Default=["DialogMainButton"]
Color for toggles when its toggled.
Color
| StudioThemeColor
ToggleImage Default="rbxassetid://97413807029185"
16x16 Image
Color
| StudioThemeColor
TipColor Default=["MainText"]
String
TipImage Default="rbxassetid://110240163333510"
15x15 Image
Color
| StudioThemeColor
XColor Default=["MainText"]
12x12 Image
Used in list elements to remove it.
String
XImage Default="rbxassetid://116654648035158"
12x12 Image
Number
NotificationTransparency Default=0
String
NotificationImage Recommended 150x100 image
String
NotificationBackgroundImage Recommended 500x250