ui-redesign #40

Merged
choco merged 15 commits from ui-redesign into 1.12.0 2025-10-03 21:41:40 +00:00
Showing only changes of commit e8a3d87ff0 - Show all commits

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;