mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Improve the default project theme
The new default project theme uses StyleBoxFlat extensively for a more modern design and better scalability to multiple resolutions. SVG icons are now used in place of PNG icons. While this does not allow for true vector-based icon drawing (icons are still rasterized at load-time), this makes the design work easier for contributors and opens the door to vector drawing in the future (e.g. with polygons or SDFs). Like for editor icons, the SVG header file is now built automatically when a SVG file is changed. This removing the need for running `make_header.py` manually (TODO). The "Use Hidpi" project setting has been removed in favor of a "Default Theme Scale" project setting, which allows creating the default theme at a higher/lower scale than the default. This can be used when designing GUIs with a high base resolution to ensure crisp visuals. Co-authored-by: Yuri Sizov <yuris@humnom.net>
This commit is contained in:
committed by
Yuri Sizov
parent
249c60e9d1
commit
84a69d7429
@@ -382,28 +382,28 @@
|
||||
</constant>
|
||||
</constants>
|
||||
<theme_items>
|
||||
<theme_item name="caret_color" data_type="color" type="Color" default="Color(0.94, 0.94, 0.94, 1)">
|
||||
<theme_item name="caret_color" data_type="color" type="Color" default="Color(0.95, 0.95, 0.95, 1)">
|
||||
Color of the [LineEdit]'s caret (text cursor). This can be set to a fully transparent color to hide the caret entirely.
|
||||
</theme_item>
|
||||
<theme_item name="clear_button_color" data_type="color" type="Color" default="Color(0.88, 0.88, 0.88, 1)">
|
||||
<theme_item name="clear_button_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 1)">
|
||||
Color used as default tint for the clear button.
|
||||
</theme_item>
|
||||
<theme_item name="clear_button_color_pressed" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Color used for the clear button when it's pressed.
|
||||
</theme_item>
|
||||
<theme_item name="font_color" data_type="color" type="Color" default="Color(0.88, 0.88, 0.88, 1)">
|
||||
<theme_item name="font_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 1)">
|
||||
Default font color.
|
||||
</theme_item>
|
||||
<theme_item name="font_outline_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
The tint of text outline of the [LineEdit].
|
||||
</theme_item>
|
||||
<theme_item name="font_selected_color" data_type="color" type="Color" default="Color(0, 0, 0, 1)">
|
||||
<theme_item name="font_selected_color" data_type="color" type="Color" default="Color(1, 1, 1, 1)">
|
||||
Font color for selected text (inside the selection rectangle).
|
||||
</theme_item>
|
||||
<theme_item name="font_uneditable_color" data_type="color" type="Color" default="Color(0.88, 0.88, 0.88, 0.5)">
|
||||
<theme_item name="font_uneditable_color" data_type="color" type="Color" default="Color(0.875, 0.875, 0.875, 0.5)">
|
||||
Font color when editing is disabled.
|
||||
</theme_item>
|
||||
<theme_item name="selection_color" data_type="color" type="Color" default="Color(0.49, 0.49, 0.49, 1)">
|
||||
<theme_item name="selection_color" data_type="color" type="Color" default="Color(0.5, 0.5, 0.5, 1)">
|
||||
Color of the selection rectangle.
|
||||
</theme_item>
|
||||
<theme_item name="caret_width" data_type="constant" type="int" default="1">
|
||||
|
||||
Reference in New Issue
Block a user