diff --git a/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/FileExtensions/CssFile.svg b/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/FileExtensions/CssFile.svg new file mode 100644 index 0000000..fd8d65e --- /dev/null +++ b/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/FileExtensions/CssFile.svg @@ -0,0 +1,54 @@ + + diff --git a/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/FileExtensions/CssFile.svg.import b/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/FileExtensions/CssFile.svg.import new file mode 100644 index 0000000..1f7fb6e --- /dev/null +++ b/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/FileExtensions/CssFile.svg.import @@ -0,0 +1,18 @@ +[remap] + +importer="svg" +type="DPITexture" +uid="uid://b6m4rm5u8hd1c" +path="res://.godot/imported/CssFile.svg-a222c5217f82da5291b9dcfcf8afd77c.dpitex" + +[deps] + +source_file="res://Features/SolutionExplorer/Resources/FileExtensions/CssFile.svg" +dest_files=["res://.godot/imported/CssFile.svg-a222c5217f82da5291b9dcfcf8afd77c.dpitex"] + +[params] + +base_scale=1.0 +saturation=1.0 +color_map={} +compress=true diff --git a/src/SharpIDE.Godot/Features/SolutionExplorer/SolutionExplorerPanel.FileIcons.cs b/src/SharpIDE.Godot/Features/SolutionExplorer/SolutionExplorerPanel.FileIcons.cs index ad6499f..63f2a41 100644 --- a/src/SharpIDE.Godot/Features/SolutionExplorer/SolutionExplorerPanel.FileIcons.cs +++ b/src/SharpIDE.Godot/Features/SolutionExplorer/SolutionExplorerPanel.FileIcons.cs @@ -10,6 +10,7 @@ public partial class SolutionExplorerPanel private readonly Texture2D _jsonIcon = ResourceLoader.Load("uid://csrwpjk77r731"); private readonly Texture2D _jsIcon = ResourceLoader.Load("uid://cpdobpjrm2suc"); private readonly Texture2D _htmlIcon = ResourceLoader.Load("uid://q0cktiwdkt1e"); + private readonly Texture2D _cssIcon = ResourceLoader.Load("uid://b6m4rm5u8hd1c"); private readonly Texture2D _txtIcon = ResourceLoader.Load("uid://b6bpjhs2o1j2l"); private Texture2D GetIconForFileExtension(string fileExtension) @@ -21,6 +22,7 @@ public partial class SolutionExplorerPanel ".json" => _jsonIcon, ".js" => _jsIcon, ".html" or ".htm" => _htmlIcon, + ".css" => _cssIcon, ".txt" => _txtIcon, _ => _csIcon };