Something like custom icons but for the ThemeManager themes .json files and I don't see the technical limitation

As a Roblox developer, it is currently too hard to …

I wanted to change some of the colors. But I realized that this sucks:

Because my reference is DarkTheme.json which is not a Registry on Windows :thinking: So, it’s too annoying to copy the colors over, because I want to do bulk change, but I don’t want to save registry files to apply more colors at once and all that.

And MacOS doesn’t even have a Windows Registry. And someone I know has RGB 0,0,0 for the Luau type color highlights for some reason. Could be a issue or something that happened when updating Roblox Studio.
So, it does suck, it is broken, we should not worry about it and there should be something new.

If Roblox is able to address this issue, it would improve my development experience because …

Roblox!

Two things:

  • QtUI/themes/FoundationDarkTheme.json
  • QtUI/themes/FoundationLightTheme.json

image

Do you follow me so far? THERE ARE 2 themes to pick from, Coincidence? I don’t think so! :open_mouth:

So, my idea.

I want to make my own .json file, and I want to specify a folder where all these .json files are located at. Just like these:

Whenever you change it, it should tell you to restart Roblox Studio, because I imagine it loads all these things atstartup, and is not dynamic, → which is totally fine <-.

And then there’s two settings:
Theme and Custom Theme.

Where Theme is the base theme and Custom Theme (if available) the Theme that will try to override the .json of the base theme.

I think every theme needs to be named unique, but I don’t worry about that.

These .json files are structured like so:

{
  "Name": "Custom Theme",
  "Presets": {
     ...StudioScriptEditorColorPresets: {...StudioScriptEditorColorCategories: #COLOR}
  },
  "Colors": [
     (These defined the color for the theme, each entry is)
     {
       "A Enum.StudioStyleGuideColor Item": {
         "Default": "#default_value"
       }
     },
  ],
  "Paths": [
     (Avoid this, actually no include this, maybe this is why some icons are missing)
     (Imagine, if THIS is actually why the icons are missing...)
  ],
  "Package": {
      "ProgressBar": {...
      (I don't know, there's more and maybe not so important)
     },
     "BulkImport": {},
     "StartPage": {},
   ...(there is more... somehow, maybe unused)
}

So, basically something like this. The above is not made-up.

 

Now, maybe Roblox has a worry about, what if someone is missing one of these thousands of entries in their style? Like, what if I am missing “Colors” or a Enum.StudioScriptEditorColorPresets somewhere.

I don’t see the issue here. Because my next idea. Merge the .json together!

Maybe, you have a base theme. “Light” and “Dark”. These come with a .json that Roblox set. That means nothing can go wrong with these.

So, what I imagine is I make my own custom .json and Roblox Studio will merge it with the default one. So, if I have garbage or missing properties, it doesn’t matter, because nothing can go wrong if both get merged together! Where my custom .json is the one that can overwrite stuff.

And then you have a new theme to select from!

Yes, I see this possible and doable, please add this thanks.

2 Likes