mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add focus font color to Button and derivatives
This commit is contained in:
@@ -119,6 +119,9 @@
|
||||
<theme_item name="font_disabled_color" data_type="color" type="Color" default="Color(0.9, 0.9, 0.9, 0.2)">
|
||||
Text [Color] used when the [Button] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="font_focus_color" data_type="color" type="Color" default="Color(0.94, 0.94, 0.94, 1)">
|
||||
Text [Color] used when the [Button] is focused. Only replaces the normal text color of the button. Disabled, hovered, and pressed states take precedence over this color.
|
||||
</theme_item>
|
||||
<theme_item name="font_hover_color" data_type="color" type="Color" default="Color(0.94, 0.94, 0.94, 1)">
|
||||
Text [Color] used when the [Button] is being hovered.
|
||||
</theme_item>
|
||||
@@ -143,6 +146,9 @@
|
||||
<theme_item name="icon_disabled_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Icon modulate [Color] used when the [Button] is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="icon_focus_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Icon modulate [Color] used when the [Button] is focused. Only replaces the normal modulate color of the button. Disabled, hovered, and pressed states take precedence over this color.
|
||||
</theme_item>
|
||||
<theme_item name="icon_hover_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Icon modulate [Color] used when the [Button] is being hovered.
|
||||
</theme_item>
|
||||
|
||||
Reference in New Issue
Block a user