theme.tres 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. [gd_resource type="Theme" load_steps=14 format=2]
  2. [ext_resource path="res://theme/fonts/montserrat_extra_bold_32.tres" type="DynamicFont" id=1]
  3. [ext_resource path="res://theme/button/button_rect.png" type="Texture" id=2]
  4. [ext_resource path="res://theme/button/button_rect_pressed.png" type="Texture" id=3]
  5. [ext_resource path="res://theme/fonts/montserrat_extra_bold_24.tres" type="DynamicFont" id=4]
  6. [ext_resource path="res://theme/panel/panel_rect.png" type="Texture" id=5]
  7. [ext_resource path="res://theme/progressbar/background.png" type="Texture" id=6]
  8. [ext_resource path="res://theme/progressbar/foreground_stylebox_red.tres" type="StyleBox" id=7]
  9. [sub_resource type="StyleBoxEmpty" id=1]
  10. resource_name = "button_focus_style"
  11. content_margin_left = -1.0
  12. content_margin_right = -1.0
  13. content_margin_top = -1.0
  14. content_margin_bottom = -1.0
  15. _sections_unfolded = [ "Resource" ]
  16. [sub_resource type="StyleBoxTexture" id=2]
  17. content_margin_left = -1.0
  18. content_margin_right = -1.0
  19. content_margin_top = -1.0
  20. content_margin_bottom = -1.0
  21. texture = ExtResource( 2 )
  22. region_rect = Rect2( 0, 0, 128, 142 )
  23. margin_left = 32.0
  24. margin_right = 32.0
  25. margin_top = 36.0
  26. margin_bottom = 43.0
  27. expand_margin_left = 0.0
  28. expand_margin_right = 0.0
  29. expand_margin_top = 0.0
  30. expand_margin_bottom = 0.0
  31. modulate_color = Color( 1, 1, 1, 1 )
  32. draw_center = true
  33. _sections_unfolded = [ "Axis Stretch", "Margin", "Modulate", "Resource" ]
  34. [sub_resource type="StyleBoxTexture" id=3]
  35. content_margin_left = -1.0
  36. content_margin_right = -1.0
  37. content_margin_top = -1.0
  38. content_margin_bottom = -1.0
  39. texture = ExtResource( 2 )
  40. region_rect = Rect2( 0, 0, 128, 142 )
  41. margin_left = 32.0
  42. margin_right = 32.0
  43. margin_top = 36.0
  44. margin_bottom = 43.0
  45. expand_margin_left = 0.0
  46. expand_margin_right = 0.0
  47. expand_margin_top = 0.0
  48. expand_margin_bottom = 0.0
  49. modulate_color = Color( 1, 1, 1, 1 )
  50. draw_center = true
  51. _sections_unfolded = [ "Axis Stretch", "Margin", "Modulate", "Resource" ]
  52. [sub_resource type="StyleBoxTexture" id=4]
  53. content_margin_left = -1.0
  54. content_margin_right = -1.0
  55. content_margin_top = -1.0
  56. content_margin_bottom = -1.0
  57. texture = ExtResource( 3 )
  58. region_rect = Rect2( 0, 0, 128, 142 )
  59. margin_left = 32.0
  60. margin_right = 32.0
  61. margin_top = 40.0
  62. margin_bottom = 32.0
  63. expand_margin_left = 0.0
  64. expand_margin_right = 0.0
  65. expand_margin_top = 0.0
  66. expand_margin_bottom = 0.0
  67. modulate_color = Color( 1, 1, 1, 1 )
  68. draw_center = true
  69. _sections_unfolded = [ "Axis Stretch", "Margin", "Resource" ]
  70. [sub_resource type="StyleBoxTexture" id=5]
  71. content_margin_left = -1.0
  72. content_margin_right = -1.0
  73. content_margin_top = -1.0
  74. content_margin_bottom = -1.0
  75. texture = ExtResource( 5 )
  76. region_rect = Rect2( 0, 0, 128, 141 )
  77. margin_left = 90.0
  78. margin_right = 90.0
  79. margin_top = 35.0
  80. margin_bottom = 45.0
  81. expand_margin_left = 0.0
  82. expand_margin_right = 0.0
  83. expand_margin_top = 0.0
  84. expand_margin_bottom = 0.0
  85. modulate_color = Color( 1, 1, 1, 1 )
  86. draw_center = true
  87. _sections_unfolded = [ "Axis Stretch", "Resource" ]
  88. [sub_resource type="StyleBoxTexture" id=6]
  89. content_margin_left = -1.0
  90. content_margin_right = -1.0
  91. content_margin_top = -1.0
  92. content_margin_bottom = -1.0
  93. texture = ExtResource( 6 )
  94. region_rect = Rect2( 0, 0, 64, 64 )
  95. margin_left = 20.0
  96. margin_right = 20.0
  97. margin_top = 20.0
  98. margin_bottom = 20.0
  99. expand_margin_left = 0.0
  100. expand_margin_right = 0.0
  101. expand_margin_top = 0.0
  102. expand_margin_bottom = 0.0
  103. modulate_color = Color( 1, 1, 1, 1 )
  104. draw_center = true
  105. _sections_unfolded = [ "Margin", "Resource" ]
  106. [resource]
  107. default_font = ExtResource( 4 )
  108. Button/colors/font_color = Color( 0.686275, 0.741176, 0.768627, 1 )
  109. Button/colors/font_color_disabled = Color( 0.686275, 0.741176, 0.768627, 1 )
  110. Button/colors/font_color_hover = Color( 1, 1, 1, 1 )
  111. Button/colors/font_color_pressed = Color( 1, 1, 1, 1 )
  112. Button/constants/hseparation = 2
  113. Button/fonts/font = ExtResource( 1 )
  114. Button/styles/disabled = null
  115. Button/styles/focus = SubResource( 1 )
  116. Button/styles/hover = SubResource( 2 )
  117. Button/styles/normal = SubResource( 3 )
  118. Button/styles/pressed = SubResource( 4 )
  119. Label/colors/font_color = Color( 0.690196, 0.745098, 0.772549, 1 )
  120. Label/colors/font_color_shadow = Color( 1, 0.596078, 0, 0 )
  121. Label/constants/line_spacing = 3
  122. Label/constants/shadow_as_outline = 0
  123. Label/constants/shadow_offset_x = 0
  124. Label/constants/shadow_offset_y = 4
  125. Label/fonts/font = ExtResource( 4 )
  126. Label/styles/normal = null
  127. Panel/styles/panel = SubResource( 5 )
  128. Panel/styles/panelf = null
  129. Panel/styles/panelnc = null
  130. PanelContainer/styles/panel = SubResource( 5 )
  131. ProgressBar/colors/font_color = Color( 0.941176, 0.941176, 0.941176, 1 )
  132. ProgressBar/colors/font_color_shadow = Color( 0, 0, 0, 1 )
  133. ProgressBar/fonts/font = ExtResource( 4 )
  134. ProgressBar/styles/bg = SubResource( 6 )
  135. ProgressBar/styles/fg = ExtResource( 7 )
  136. _sections_unfolded = [ "Button", "Button/colors", "Label", "Panel/styles", "PanelContainer/styles", "ProgressBar", "ProgressBar/styles" ]