Use an editor theme in the actual Game?
Asked Answered
J

4

0

The Godot editor has a choice of several built-in UI themes. Is there a way to apply one of those built-in editor themes to the current project itself? If I change the editor theme from dark to light, it doesn't change my game UI. Is there some setting to apply the current editor setting to the game?

(I know one can create my own custom theme with the Theme editor, but being lazy, I'd like to simply reuse one of the Editor themes.)

Jeraldjeraldine answered 19/12, 2023 at 0:27 Comment(0)
U
0

https://mcmap.net/q/6044/godot-theme-collection

And to use editor themes you have to create their copies via the theme editor, not hard. Basically automatic.

Uttasta answered 19/12, 2023 at 1:24 Comment(0)
J
0

Uttasta

And to use editor themes you have to create their copies via the theme editor

One property at a time, or is there a button to 'copy the current editor's theme'? (I didn't find such an option)

Jeraldjeraldine answered 19/12, 2023 at 1:41 Comment(0)
U
0

Jeraldjeraldine It's been a while since I last did it, but I clearly remember creating a complete theme in one go.

Uttasta answered 19/12, 2023 at 2:20 Comment(0)
J
0

Uttasta You're right, it's there. It's just not immediately obvious. (at least not to me)

To copy the editor's theme to your project (or subset of your project):

  1. Select the root control node.
  2. In the control's inspector, go to "Theme" and create a new theme.
  3. Click on the new theme to edit it.
  4. On the 'theme' editor panel, click "Manage Items..." in the upper right corner. This will open the "Manage Theme Items" dialog.
  5. Select the "Editor Theme" tab.
  6. At the bottom center of the dialog, click "Select With Data" to select all the editor theme values and their data.
  7. Click "Import Selected" (bottom right).
  8. Close the dialog.
Jeraldjeraldine answered 19/12, 2023 at 16:8 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.