Changes most uses of Color.Green to Color.LimeGreen for better visuals (#4666)
This commit is contained in:
@@ -270,7 +270,7 @@ namespace Content.Client.AI
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_cachedRegionColors[gridId][region] = Color.Green.WithAlpha(0.3f);
|
_cachedRegionColors[gridId][region] = Color.LimeGreen.WithAlpha(0.3f);
|
||||||
}
|
}
|
||||||
|
|
||||||
Timer.Spawn(3000, () =>
|
Timer.Spawn(3000, () =>
|
||||||
|
|||||||
@@ -87,11 +87,11 @@ namespace Content.Client.Atmos.Overlays
|
|||||||
// Red-Green-Blue interpolation
|
// Red-Green-Blue interpolation
|
||||||
if (interp < 0.5f)
|
if (interp < 0.5f)
|
||||||
{
|
{
|
||||||
res = Color.InterpolateBetween(Color.Red, Color.Green, interp * 2);
|
res = Color.InterpolateBetween(Color.Red, Color.LimeGreen, interp * 2);
|
||||||
}
|
}
|
||||||
else
|
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);
|
res = res.WithAlpha(0.75f);
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace Content.Client.Chat
|
|||||||
channel switch
|
channel switch
|
||||||
{
|
{
|
||||||
ChatChannel.Server => Color.Orange,
|
ChatChannel.Server => Color.Orange,
|
||||||
ChatChannel.Radio => Color.Green,
|
ChatChannel.Radio => Color.LimeGreen,
|
||||||
ChatChannel.OOC => Color.LightSkyBlue,
|
ChatChannel.OOC => Color.LightSkyBlue,
|
||||||
ChatChannel.Dead => Color.MediumPurple,
|
ChatChannel.Dead => Color.MediumPurple,
|
||||||
ChatChannel.Admin => Color.Red,
|
ChatChannel.Admin => Color.Red,
|
||||||
|
|||||||
@@ -490,7 +490,7 @@ namespace Content.Client.Chat.UI
|
|||||||
{
|
{
|
||||||
return channel switch
|
return channel switch
|
||||||
{
|
{
|
||||||
ChatSelectChannel.Radio => Color.Green,
|
ChatSelectChannel.Radio => Color.LimeGreen,
|
||||||
ChatSelectChannel.OOC => Color.LightSkyBlue,
|
ChatSelectChannel.OOC => Color.LightSkyBlue,
|
||||||
ChatSelectChannel.Dead => Color.MediumPurple,
|
ChatSelectChannel.Dead => Color.MediumPurple,
|
||||||
ChatSelectChannel.Admin => Color.Red,
|
ChatSelectChannel.Admin => Color.Red,
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ namespace Content.Client.Cloning.UI
|
|||||||
_cloningProgressBar.MaxValue = state.Maximum;
|
_cloningProgressBar.MaxValue = state.Maximum;
|
||||||
UpdateProgress();
|
UpdateProgress();
|
||||||
_mindState.Text = Loc.GetString(state.MindPresent ? "cloning-pod-mind-present-text" : "cloning-pod-no-activity-text");
|
_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)
|
protected override void FrameUpdate(FrameEventArgs args)
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ namespace Content.Client.HealthOverlay.UI
|
|||||||
{
|
{
|
||||||
Visible = false,
|
Visible = false,
|
||||||
VerticalAlignment = VAlignment.Center,
|
VerticalAlignment = VAlignment.Center,
|
||||||
Color = Color.Green
|
Color = Color.LimeGreen
|
||||||
};
|
};
|
||||||
|
|
||||||
AddChild(Panel = new PanelContainer
|
AddChild(Panel = new PanelContainer
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ namespace Content.Client.Light.Components
|
|||||||
|
|
||||||
private static readonly StyleBoxFlat StyleBoxLit = new()
|
private static readonly StyleBoxFlat StyleBoxLit = new()
|
||||||
{
|
{
|
||||||
BackgroundColor = Color.Green
|
BackgroundColor = Color.LimeGreen
|
||||||
};
|
};
|
||||||
|
|
||||||
private static readonly StyleBoxFlat StyleBoxUnlit = new()
|
private static readonly StyleBoxFlat StyleBoxUnlit = new()
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ namespace Content.Client.PDA
|
|||||||
}
|
}
|
||||||
if (x <= 5)
|
if (x <= 5)
|
||||||
{
|
{
|
||||||
weightedColor = Color.Green;
|
weightedColor = Color.LimeGreen;
|
||||||
}
|
}
|
||||||
else if (x > 5 && x < 10)
|
else if (x > 5 && x < 10)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ namespace Content.Client.StationEvents
|
|||||||
}
|
}
|
||||||
|
|
||||||
_transitions[entity] = (!easingIn, transitionTime);
|
_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;
|
_alphaRateOfChange[entity] = 1.0f / (float) (transitionTime - currentTime).TotalSeconds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -375,7 +375,7 @@ namespace Content.Client.Stylesheets
|
|||||||
sliderForeBox.SetPatchMargin(StyleBox.Margin.All, 12);
|
sliderForeBox.SetPatchMargin(StyleBox.Margin.All, 12);
|
||||||
sliderGrabBox.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 sliderFillRed = new StyleBoxTexture(sliderFillBox) {Modulate = Color.Red};
|
||||||
var sliderFillBlue = new StyleBoxTexture(sliderFillBox) {Modulate = Color.Blue};
|
var sliderFillBlue = new StyleBoxTexture(sliderFillBox) {Modulate = Color.Blue};
|
||||||
|
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ namespace Content.Client.Suspicion
|
|||||||
buttonText = Loc.GetString(buttonText);
|
buttonText = Loc.GetString(buttonText);
|
||||||
|
|
||||||
RoleButton.Text = buttonText;
|
RoleButton.Text = buttonText;
|
||||||
RoleButton.ModulateSelfOverride = _previousAntagonist ? Color.Red : Color.Green;
|
RoleButton.ModulateSelfOverride = _previousAntagonist ? Color.Red : Color.LimeGreen;
|
||||||
|
|
||||||
Visible = true;
|
Visible = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ namespace Content.Client.Weapons.Ranged.Barrels.Components
|
|||||||
{
|
{
|
||||||
Texture = texture,
|
Texture = texture,
|
||||||
TextureScale = (scale, scale),
|
TextureScale = (scale, scale),
|
||||||
ModulateSelfOverride = Color.Green,
|
ModulateSelfOverride = Color.LimeGreen,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
Color color;
|
Color color;
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ namespace Content.Server.ParticleAccelerator.Components
|
|||||||
}
|
}
|
||||||
|
|
||||||
var powerBlock = _wirePowerBlocked;
|
var powerBlock = _wirePowerBlocked;
|
||||||
var keyboardLight = new StatusLightData(Color.Green,
|
var keyboardLight = new StatusLightData(Color.LimeGreen,
|
||||||
_wireInterfaceBlocked
|
_wireInterfaceBlocked
|
||||||
? StatusLightState.BlinkingFast
|
? StatusLightState.BlinkingFast
|
||||||
: StatusLightState.On,
|
: StatusLightState.On,
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ namespace Content.Shared.Wires
|
|||||||
{
|
{
|
||||||
WireColor.Red => Color.Red,
|
WireColor.Red => Color.Red,
|
||||||
WireColor.Blue => Color.Blue,
|
WireColor.Blue => Color.Blue,
|
||||||
WireColor.Green => Color.Green,
|
WireColor.Green => Color.LimeGreen,
|
||||||
WireColor.Orange => Color.Orange,
|
WireColor.Orange => Color.Orange,
|
||||||
WireColor.Brown => Color.Brown,
|
WireColor.Brown => Color.Brown,
|
||||||
WireColor.Gold => Color.Gold,
|
WireColor.Gold => Color.Gold,
|
||||||
|
|||||||
Reference in New Issue
Block a user