renamed color variables

This commit is contained in:
choco
2025-10-03 09:53:46 +02:00
parent 4862921b03
commit e8a3d87ff0

View File

@@ -1,4 +1,4 @@
using Dalamud.Bindings.ImGui;
using Dalamud.Bindings.ImGui;
using Dalamud.Interface;
using Dalamud.Interface.Colors;
using Dalamud.Interface.Utility;
@@ -978,19 +978,19 @@ public class SettingsUi : WindowMediatorSubscriberBase
var colorNames = new[]
{
("LightlessPurple", "Lightless Purple", "Section titles and dividers"),
("LightlessPurpleActive", "Lightless Purple Active", "Active tabs and hover highlights"),
("LightlessPurpleDefault", "Lightless Purple Inactive", "Inactive tabs and default dividers"),
("LightlessBlue", "Lightless Blue", "On/true toggles and 'Upload complete' status"),
("LightlessPurple", "Accent Purple", "Section titles and dividers"),
("LightlessPurpleActive", "Accent Purple (Active)", "Active tabs and hover highlights"),
("LightlessPurpleDefault", "Accent Purple (Inactive)", "Inactive tabs and default dividers"),
("LightlessBlue", "Status Blue", "On/true toggles and 'Upload complete' status"),
("LightlessGreen", "Lightless Green", "Join buttons and success messages"),
("LightlessGreen", "Success Green", "Join buttons and success messages"),
("LightlessYellow", "Lightless Yellow", "Warning colors"),
("LightlessYellow2", "Lightless Yellow 2", "Warning colors"),
("LightlessYellow", "Warning Yellow", "Warning colors"),
("LightlessYellow2", "Warning Yellow (Alt)", "Warning colors"),
("PairBlue", "Pair Blue", "Syncshell headers, toggle highlights, and moderator actions"),
("PairBlue", "Syncshell Blue", "Syncshell headers, toggle highlights, and moderator actions"),
("DimRed", "Dim Red", "Error and offline colors")
("DimRed", "Error Red", "Error and offline colors")
};
if (ImGui.BeginTable("##ColorTable", 3, ImGuiTableFlags.Borders | ImGuiTableFlags.RowBg | ImGuiTableFlags.SizingFixedFit))
{
@@ -1003,7 +1003,7 @@ public class SettingsUi : WindowMediatorSubscriberBase
{
ImGui.TableNextRow();
// olor column
// color column
ImGui.TableSetColumnIndex(0);
var currentColor = UIColors.Get(colorKey);
var colorToEdit = currentColor;