Updated Color Scemes
This commit is contained in:
parent
36b821eb64
commit
623aa4694b
@ -48,31 +48,32 @@ namespace OX
|
||||
Color color;
|
||||
switch (type) {
|
||||
case MessageType::Info:
|
||||
color.r = 0.25f; color.g = 0.5f; color.b = 0.95f; // Calmer blue
|
||||
color = { 0.0f, 0.478f, 1.0f }; // Standard blue (iOS info blue / material blue)
|
||||
break;
|
||||
case MessageType::Warning:
|
||||
color.r = 1.0f; color.g = 0.75f; color.b = 0.1f; // Amber/goldenrod
|
||||
color = { 1.0f, 0.647f, 0.0f }; // Orange / amber (alert warning)
|
||||
break;
|
||||
case MessageType::Error:
|
||||
color.r = 0.9f; color.g = 0.2f; color.b = 0.3f; // Strong crimson red
|
||||
color = { 0.863f, 0.078f, 0.235f }; // Crimson / alert red
|
||||
break;
|
||||
case MessageType::Debug:
|
||||
color.r = 0.6f; color.g = 0.6f; color.b = 0.7f; // Neutral cool gray
|
||||
color = { 0.56f, 0.56f, 0.58f }; // Slate gray
|
||||
break;
|
||||
case MessageType::Ok:
|
||||
color.r = 0.3f; color.g = 0.85f; color.b = 0.4f; // Balanced green
|
||||
color = { 0.0f, 0.8f, 0.4f }; // Vibrant green / success
|
||||
break;
|
||||
case MessageType::Verbose:
|
||||
color.r = 0.7f; color.g = 0.7f; color.b = 0.9f; // Soft lavender/gray
|
||||
color = { 0.6f, 0.6f, 0.7f }; // Dim blue-gray
|
||||
break;
|
||||
default:
|
||||
color = Color::White(); // Default white
|
||||
color = { 1.0f, 1.0f, 1.0f }; // Default white
|
||||
break;
|
||||
}
|
||||
return color;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Logger::LogInternal(const std::string& text, MessageType type) {
|
||||
glm::vec3 color = Logger::GetRGBColor(type);
|
||||
float r = color.r;
|
||||
|
Loading…
Reference in New Issue
Block a user