1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00
qBittorrent/src/gui/color.h
Chocobo1 e4f1485c82
Fix wrong color code
Must have been a copy-paste error...
2022-11-30 15:23:49 +08:00

73 lines
2.9 KiB
C++

/*
* Bittorrent Client using Qt and libtorrent.
* Copyright (C) 2022 Mike Tzou (Chocobo1)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* In addition, as a special exception, the copyright holders give permission to
* link this program with the OpenSSL project's "OpenSSL" library (or with
* modified versions of it that use the same license as the "OpenSSL" library),
* and distribute the linked executables. You must obey the GNU General Public
* License in all respects for all of the code used other than "OpenSSL". If you
* modify file(s), you may extend this exception to your version of the file(s),
* but you are not obligated to do so. If you do not wish to do so, delete this
* exception statement from your version.
*/
#pragma once
namespace Color
{
/*
* Documentation: https://primer.style/primitives/colors
* Repository: https://github.com/primer/primitives
* Primer Primitives v7.9
*/
namespace Primer
{
namespace Dark
{
// Functional variables
inline const QColor accentEmphasis = 0x1f6feb;
inline const QColor accentFg = 0x58a6ff;
inline const QColor dangerFg = 0xf85149;
inline const QColor doneFg = 0xa371f7;
inline const QColor fgMuted = 0x8b949e;
inline const QColor fgSubtle = 0x6e7681;
inline const QColor severeFg = 0xdb6d28;
inline const QColor successEmphasis = 0x238636;
inline const QColor successFg = 0x3fb950;
// Scale variables
inline const QColor scaleYellow6 = 0x845306;
}
namespace Light
{
// Functional variables
inline const QColor accentEmphasis = 0x0969da;
inline const QColor accentFg = 0x0969da;
inline const QColor dangerFg = 0xcf222e;
inline const QColor doneFg = 0x8250df;
inline const QColor fgMuted = 0x57606a;
inline const QColor fgSubtle = 0x6e7781;
inline const QColor severeFg = 0xbc4c00;
inline const QColor successEmphasis = 0x2da44e;
inline const QColor successFg = 0x1a7f37;
// Scale variables
inline const QColor scaleYellow6 = 0x7d4e00;
}
}
}