What are the properties of default theme?

Godot Version

v4.2.1

Question

The default theme for almost every node is StyleBoxFlat, but when I’m creating a new StyleBoxFlat in the theme editor, it’s a whole new one without border and shadow and everything, which makes it very hard to mimic the default theme especially when you only want to adjust a few properties a little bit. So is there any way to get to know these default values?

Read the source code.

I think it could be this one

You can import the default theme’s styles in a theme using the theme editor. Use the With Data option. It should let you edit the default styleboxes styles. More info Using the theme editor — Godot Engine (stable) documentation in English

1 Like