[irc] Partially fix IRC colors (#1594)
Doesn't fix #1379 but it is a big step forward. Needs some "real life" testing, but should be good.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <QColor>
|
||||
#include <QString>
|
||||
|
||||
namespace chatterino {
|
||||
@@ -11,4 +12,22 @@ inline QByteArray getDefaultClientID()
|
||||
return QByteArray("7ue61iz46fz11y3cugd0l3tawb4taal");
|
||||
}
|
||||
|
||||
static const std::vector<QColor> TWITCH_USERNAME_COLORS = {
|
||||
{255, 0, 0}, // Red
|
||||
{0, 0, 255}, // Blue
|
||||
{0, 255, 0}, // Green
|
||||
{178, 34, 34}, // FireBrick
|
||||
{255, 127, 80}, // Coral
|
||||
{154, 205, 50}, // YellowGreen
|
||||
{255, 69, 0}, // OrangeRed
|
||||
{46, 139, 87}, // SeaGreen
|
||||
{218, 165, 32}, // GoldenRod
|
||||
{210, 105, 30}, // Chocolate
|
||||
{95, 158, 160}, // CadetBlue
|
||||
{30, 144, 255}, // DodgerBlue
|
||||
{255, 105, 180}, // HotPink
|
||||
{138, 43, 226}, // BlueViolet
|
||||
{0, 255, 127}, // SpringGreen
|
||||
};
|
||||
|
||||
} // namespace chatterino
|
||||
|
||||
Reference in New Issue
Block a user