[gd_scene load_steps=4 format=3 uid="uid://157npdwcov77"]

[ext_resource type="Script" path="res://addons/PaletteTools/Scripts/color_sample.gd" id="1_8rxjv"]
[ext_resource type="Texture2D" path="res://addons/PaletteTools/Images/Blank.png" id="1_jr35n"]

[sub_resource type="LabelSettings" id="LabelSettings_s1xg4"]
font_size = 20
font_color = Color(0.113725, 0.113725, 0.113725, 1)

[node name="ColorSample" type="MarginContainer" node_paths=PackedStringArray("color_picker_button", "remove_button", "remove_button_text")]
custom_minimum_size = Vector2(50, 50)
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -12.5
offset_top = -12.5
offset_right = 12.5
offset_bottom = 12.5
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 5
theme_override_constants/margin_top = 5
theme_override_constants/margin_right = 5
theme_override_constants/margin_bottom = 5
script = ExtResource("1_8rxjv")
color_picker_button = NodePath("Color")
remove_button = NodePath("Color/Remove")
remove_button_text = NodePath("Color/Remove/Label")

[node name="Color" type="ColorPickerButton" parent="."]
custom_minimum_size = Vector2(50, 50)
layout_mode = 2
mouse_default_cursor_shape = 2

[node name="Remove" type="TextureButton" parent="Color"]
self_modulate = Color(0.980392, 0.513726, 0.47451, 1)
custom_minimum_size = Vector2(10, 10)
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -14.0
offset_top = 4.0
offset_right = -4.0
offset_bottom = 14.0
grow_horizontal = 0
mouse_default_cursor_shape = 2
texture_normal = ExtResource("1_jr35n")
ignore_texture_size = true
stretch_mode = 4

[node name="Label" type="Label" parent="Color/Remove"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -13.0
offset_right = 20.0
offset_bottom = 13.0
grow_horizontal = 2
grow_vertical = 2
text = "X"
label_settings = SubResource("LabelSettings_s1xg4")
horizontal_alignment = 1
vertical_alignment = 1
