File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,12 +131,12 @@ is applied to them. Those methods accept the theme type as one of the arguments.
131131 .. code-tab :: gdscript
132132
133133 var accent_color = get_theme_color("accent_color", "MyType")
134- label.add_color_override ("font_color", accent_color)
134+ label.add_theme_color_override ("font_color", accent_color)
135135
136136 .. code-tab :: csharp
137137
138138 Color accentColor = GetThemeColor("accent_color", "MyType");
139- label.AddColorOverride ("font_color", accentColor);
139+ label.AddThemeColorOverride ("font_color", accentColor);
140140
141141To give more customization opportunities types can also be linked together as
142142type variations. This is another use-case for custom theme types. For example,
You can’t perform that action at this time.
0 commit comments