Colour changes, including our own colour library!

+ Also began work on namespace changes! Will need to be merged with any current pending namespace changes.
This commit is contained in:
2025-09-08 14:48:11 -04:00
parent 956d2009eb
commit 137db42446
7 changed files with 35 additions and 3 deletions

View File

@@ -105,7 +105,7 @@ public class CompactUi : WindowMediatorSubscriberBase
protected override void DrawInternal()
{
if (_serverManager.CurrentApiUrl.Equals(ApiController.SnowcloakServiceUri, StringComparison.Ordinal))
UiSharedService.AccentColor = new(0.4275f, 0.6863f, 1f, 1f);
UiSharedService.AccentColor = SnowcloakSync.Utils.Colours._snowcloakOnline;
else
UiSharedService.AccentColor = ImGuiColors.ParsedGreen;
ImGui.SetCursorPosY(ImGui.GetCursorPosY() - ImGui.GetStyle().WindowPadding.Y - 1f * ImGuiHelpers.GlobalScale + ImGui.GetStyle().ItemSpacing.Y);

View File

@@ -58,7 +58,7 @@ public class DrawUserPair : DrawPairBase
{
connectionIcon = FontAwesomeIcon.Snowflake;
connectionText = "You are paired with " + _pair.UserData.AliasOrUID;
connectionColor = _pair.IsOnline ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudGrey;
connectionColor = _pair.IsOnline ? SnowcloakSync.Utils.Colours._snowcloakOnline : ImGuiColors.DalamudGrey;
}
if (!_pair.IsVisible)
{
@@ -72,7 +72,7 @@ public class DrawUserPair : DrawPairBase
{
ImGui.SetCursorPosY(textPosY);
ImGui.PushFont(UiBuilder.IconFont);
UiSharedService.ColorText(FontAwesomeIcon.Eye.ToIconString(), ImGuiColors.ParsedGreen);
UiSharedService.ColorText(FontAwesomeIcon.Eye.ToIconString(), SnowcloakSync.Utils.Colours._snowcloakOnline);
if (ImGui.IsItemClicked())
{
_mediator.Publish(new TargetPairMessage(_pair));