add theme
currently supported controls: Button, LineEdit, TextEdit, and VScrollBar.
This commit is contained in:
7
theme/FontMono.tres
Normal file
7
theme/FontMono.tres
Normal file
@ -0,0 +1,7 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://theme/FreeMonoBold.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
size = 18
|
||||
font_data = ExtResource( 1 )
|
6
theme/FontRg.tres
Normal file
6
theme/FontRg.tres
Normal file
@ -0,0 +1,6 @@
|
||||
[gd_resource type="DynamicFont" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://theme/FreeSans.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[resource]
|
||||
font_data = ExtResource( 1 )
|
BIN
theme/FreeMono.ttf
Normal file
BIN
theme/FreeMono.ttf
Normal file
Binary file not shown.
BIN
theme/FreeMonoBold.ttf
Normal file
BIN
theme/FreeMonoBold.ttf
Normal file
Binary file not shown.
BIN
theme/FreeSans.ttf
Normal file
BIN
theme/FreeSans.ttf
Normal file
Binary file not shown.
BIN
theme/default_theme.theme
Normal file
BIN
theme/default_theme.theme
Normal file
Binary file not shown.
14
theme/styleboxes/button/BtnDisabledStylebox.tres
Normal file
14
theme/styleboxes/button/BtnDisabledStylebox.tres
Normal file
@ -0,0 +1,14 @@
|
||||
[gd_resource type="StyleBoxFlat" format=2]
|
||||
|
||||
[resource]
|
||||
content_margin_left = 8.0
|
||||
content_margin_right = 8.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_bottom = 10.0
|
||||
bg_color = Color( 0.168, 0.192, 0.2, 1 )
|
||||
border_width_bottom = 3
|
||||
border_color = Color( 0.2788, 0.41, 0.296293, 1 )
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
17
theme/styleboxes/button/BtnHoverStylebox.tres
Normal file
17
theme/styleboxes/button/BtnHoverStylebox.tres
Normal file
@ -0,0 +1,17 @@
|
||||
[gd_resource type="StyleBoxFlat" format=2]
|
||||
|
||||
[resource]
|
||||
content_margin_left = 8.0
|
||||
content_margin_right = 8.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_bottom = 10.0
|
||||
bg_color = Color( 0.0705882, 0.164706, 0.196078, 1 )
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 5
|
||||
border_color = Color( 0.164706, 0.85098, 0.254902, 1 )
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
14
theme/styleboxes/button/BtnNormalStylebox.tres
Normal file
14
theme/styleboxes/button/BtnNormalStylebox.tres
Normal file
@ -0,0 +1,14 @@
|
||||
[gd_resource type="StyleBoxFlat" format=2]
|
||||
|
||||
[resource]
|
||||
content_margin_left = 8.0
|
||||
content_margin_right = 8.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_bottom = 10.0
|
||||
bg_color = Color( 0.0705882, 0.164706, 0.196078, 1 )
|
||||
border_width_bottom = 3
|
||||
border_color = Color( 0.164706, 0.85098, 0.254902, 1 )
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
17
theme/styleboxes/button/BtnPressedStylebox.tres
Normal file
17
theme/styleboxes/button/BtnPressedStylebox.tres
Normal file
@ -0,0 +1,17 @@
|
||||
[gd_resource type="StyleBoxFlat" format=2]
|
||||
|
||||
[resource]
|
||||
content_margin_left = 8.0
|
||||
content_margin_right = 8.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_bottom = 10.0
|
||||
bg_color = Color( 0.0705882, 0.164706, 0.196078, 1 )
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color( 0.164706, 0.85098, 0.254902, 1 )
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
17
theme/styleboxes/lineedit/LineEditNormalStylebox.tres
Normal file
17
theme/styleboxes/lineedit/LineEditNormalStylebox.tres
Normal file
@ -0,0 +1,17 @@
|
||||
[gd_resource type="StyleBoxFlat" format=2]
|
||||
|
||||
[resource]
|
||||
content_margin_left = 8.0
|
||||
content_margin_right = 8.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_bottom = 12.0
|
||||
bg_color = Color( 0.0705882, 0.164706, 0.196078, 1 )
|
||||
border_width_left = 2
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 6
|
||||
border_color = Color( 0.164706, 0.85098, 0.254902, 1 )
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
17
theme/styleboxes/lineedit/LineEditReadonlyStylebox.tres
Normal file
17
theme/styleboxes/lineedit/LineEditReadonlyStylebox.tres
Normal file
@ -0,0 +1,17 @@
|
||||
[gd_resource type="StyleBoxFlat" format=2]
|
||||
|
||||
[resource]
|
||||
content_margin_left = 8.0
|
||||
content_margin_right = 8.0
|
||||
content_margin_top = 10.0
|
||||
content_margin_bottom = 10.0
|
||||
bg_color = Color( 0.168, 0.192, 0.2, 1 )
|
||||
border_width_left = 2
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 6
|
||||
border_color = Color( 0.2788, 0.41, 0.296293, 1 )
|
||||
corner_radius_top_left = 4
|
||||
corner_radius_top_right = 4
|
||||
corner_radius_bottom_right = 4
|
||||
corner_radius_bottom_left = 4
|
@ -0,0 +1,8 @@
|
||||
[gd_resource type="StyleBoxFlat" format=2]
|
||||
|
||||
[resource]
|
||||
bg_color = Color( 0.4002, 0.87, 0.46284, 1 )
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
@ -0,0 +1,8 @@
|
||||
[gd_resource type="StyleBoxFlat" format=2]
|
||||
|
||||
[resource]
|
||||
bg_color = Color( 0.1764, 0.63, 0.23688, 1 )
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
8
theme/styleboxes/scrollbar/ScrollBarGrabberStylebox.tres
Normal file
8
theme/styleboxes/scrollbar/ScrollBarGrabberStylebox.tres
Normal file
@ -0,0 +1,8 @@
|
||||
[gd_resource type="StyleBoxFlat" format=2]
|
||||
|
||||
[resource]
|
||||
bg_color = Color( 0.164706, 0.85098, 0.254902, 1 )
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
13
theme/styleboxes/scrollbar/ScrollBarScrollStylebox.tres
Normal file
13
theme/styleboxes/scrollbar/ScrollBarScrollStylebox.tres
Normal file
@ -0,0 +1,13 @@
|
||||
[gd_resource type="StyleBoxFlat" format=2]
|
||||
|
||||
[resource]
|
||||
bg_color = Color( 0.168627, 0.192157, 0.2, 0 )
|
||||
border_width_left = 3
|
||||
border_width_top = 4
|
||||
border_width_right = 3
|
||||
border_width_bottom = 4
|
||||
border_color = Color( 0.168627, 0.192157, 0.2, 0 )
|
||||
corner_radius_top_left = 10
|
||||
corner_radius_top_right = 10
|
||||
corner_radius_bottom_right = 10
|
||||
corner_radius_bottom_left = 10
|
Reference in New Issue
Block a user