Changes most uses of Color.Green to Color.LimeGreen for better visuals (#4666)

This commit is contained in:
Swept
2021-09-20 21:50:02 -07:00
committed by GitHub
parent 610ff0083f
commit ae54ad188e
14 changed files with 15 additions and 15 deletions

View File

@@ -270,7 +270,7 @@ namespace Content.Client.AI
}
else
{
_cachedRegionColors[gridId][region] = Color.Green.WithAlpha(0.3f);
_cachedRegionColors[gridId][region] = Color.LimeGreen.WithAlpha(0.3f);
}
Timer.Spawn(3000, () =>

View File

@@ -87,11 +87,11 @@ namespace Content.Client.Atmos.Overlays
// Red-Green-Blue interpolation
if (interp < 0.5f)
{
res = Color.InterpolateBetween(Color.Red, Color.Green, interp * 2);
res = Color.InterpolateBetween(Color.Red, Color.LimeGreen, interp * 2);
}
else
{
res = Color.InterpolateBetween(Color.Green, Color.Blue, (interp - 0.5f) * 2);
res = Color.InterpolateBetween(Color.LimeGreen, Color.Blue, (interp - 0.5f) * 2);
}
}
res = res.WithAlpha(0.75f);

View File

@@ -9,7 +9,7 @@ namespace Content.Client.Chat
channel switch
{
ChatChannel.Server => Color.Orange,
ChatChannel.Radio => Color.Green,
ChatChannel.Radio => Color.LimeGreen,
ChatChannel.OOC => Color.LightSkyBlue,
ChatChannel.Dead => Color.MediumPurple,
ChatChannel.Admin => Color.Red,

View File

@@ -490,7 +490,7 @@ namespace Content.Client.Chat.UI
{
return channel switch
{
ChatSelectChannel.Radio => Color.Green,
ChatSelectChannel.Radio => Color.LimeGreen,
ChatSelectChannel.OOC => Color.LightSkyBlue,
ChatSelectChannel.Dead => Color.MediumPurple,
ChatSelectChannel.Admin => Color.Red,

View File

@@ -116,7 +116,7 @@ namespace Content.Client.Cloning.UI
_cloningProgressBar.MaxValue = state.Maximum;
UpdateProgress();
_mindState.Text = Loc.GetString(state.MindPresent ? "cloning-pod-mind-present-text" : "cloning-pod-no-activity-text");
_mindState.FontColorOverride = state.MindPresent ? Color.Green : Color.Red;
_mindState.FontColorOverride = state.MindPresent ? Color.LimeGreen : Color.Red;
}
protected override void FrameUpdate(FrameEventArgs args)

View File

@@ -34,7 +34,7 @@ namespace Content.Client.HealthOverlay.UI
{
Visible = false,
VerticalAlignment = VAlignment.Center,
Color = Color.Green
Color = Color.LimeGreen
};
AddChild(Panel = new PanelContainer

View File

@@ -44,7 +44,7 @@ namespace Content.Client.Light.Components
private static readonly StyleBoxFlat StyleBoxLit = new()
{
BackgroundColor = Color.Green
BackgroundColor = Color.LimeGreen
};
private static readonly StyleBoxFlat StyleBoxUnlit = new()

View File

@@ -171,7 +171,7 @@ namespace Content.Client.PDA
}
if (x <= 5)
{
weightedColor = Color.Green;
weightedColor = Color.LimeGreen;
}
else if (x > 5 && x < 10)
{

View File

@@ -102,7 +102,7 @@ namespace Content.Client.StationEvents
}
_transitions[entity] = (!easingIn, transitionTime);
_colors[entity] = Color.Green.WithAlpha(0.0f);
_colors[entity] = Color.LimeGreen.WithAlpha(0.0f);
_alphaRateOfChange[entity] = 1.0f / (float) (transitionTime - currentTime).TotalSeconds;
}

View File

@@ -375,7 +375,7 @@ namespace Content.Client.Stylesheets
sliderForeBox.SetPatchMargin(StyleBox.Margin.All, 12);
sliderGrabBox.SetPatchMargin(StyleBox.Margin.All, 12);
var sliderFillGreen = new StyleBoxTexture(sliderFillBox) {Modulate = Color.Green};
var sliderFillGreen = new StyleBoxTexture(sliderFillBox) {Modulate = Color.LimeGreen};
var sliderFillRed = new StyleBoxTexture(sliderFillBox) {Modulate = Color.Red};
var sliderFillBlue = new StyleBoxTexture(sliderFillBox) {Modulate = Color.Blue};

View File

@@ -111,7 +111,7 @@ namespace Content.Client.Suspicion
buttonText = Loc.GetString(buttonText);
RoleButton.Text = buttonText;
RoleButton.ModulateSelfOverride = _previousAntagonist ? Color.Red : Color.Green;
RoleButton.ModulateSelfOverride = _previousAntagonist ? Color.Red : Color.LimeGreen;
Visible = true;
}

View File

@@ -132,7 +132,7 @@ namespace Content.Client.Weapons.Ranged.Barrels.Components
{
Texture = texture,
TextureScale = (scale, scale),
ModulateSelfOverride = Color.Green,
ModulateSelfOverride = Color.LimeGreen,
});
}
Color color;

View File

@@ -337,7 +337,7 @@ namespace Content.Server.ParticleAccelerator.Components
}
var powerBlock = _wirePowerBlocked;
var keyboardLight = new StatusLightData(Color.Green,
var keyboardLight = new StatusLightData(Color.LimeGreen,
_wireInterfaceBlocked
? StatusLightState.BlinkingFast
: StatusLightState.On,

View File

@@ -208,7 +208,7 @@ namespace Content.Shared.Wires
{
WireColor.Red => Color.Red,
WireColor.Blue => Color.Blue,
WireColor.Green => Color.Green,
WireColor.Green => Color.LimeGreen,
WireColor.Orange => Color.Orange,
WireColor.Brown => Color.Brown,
WireColor.Gold => Color.Gold,