Enable customizing the save statistics time interval
[qBittorrent.git] / src / gui / color.h
blob9859e19fcc9120ade8855840ddc557de664041e9
1 /*
2 * Bittorrent Client using Qt and libtorrent.
3 * Copyright (C) 2022 Mike Tzou (Chocobo1)
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 * In addition, as a special exception, the copyright holders give permission to
20 * link this program with the OpenSSL project's "OpenSSL" library (or with
21 * modified versions of it that use the same license as the "OpenSSL" library),
22 * and distribute the linked executables. You must obey the GNU General Public
23 * License in all respects for all of the code used other than "OpenSSL". If you
24 * modify file(s), you may extend this exception to your version of the file(s),
25 * but you are not obligated to do so. If you do not wish to do so, delete this
26 * exception statement from your version.
29 #pragma once
31 #include <QColor>
33 namespace Color
36 * Documentation: https://primer.style/primitives/colors
37 * Repository: https://github.com/primer/primitives
38 * Primer Primitives v7.9
40 namespace Primer
42 namespace Dark
44 // Functional variables
45 inline const QColor accentEmphasis = 0x1f6feb;
46 inline const QColor accentFg = 0x58a6ff;
47 inline const QColor dangerFg = 0xf85149;
48 inline const QColor doneFg = 0xa371f7;
49 inline const QColor fgMuted = 0x8b949e;
50 inline const QColor fgSubtle = 0x6e7681;
51 inline const QColor severeFg = 0xdb6d28;
52 inline const QColor successEmphasis = 0x238636;
53 inline const QColor successFg = 0x3fb950;
54 // Scale variables
55 inline const QColor scaleYellow6 = 0x845306;
58 namespace Light
60 // Functional variables
61 inline const QColor accentEmphasis = 0x0969da;
62 inline const QColor accentFg = 0x0969da;
63 inline const QColor dangerFg = 0xcf222e;
64 inline const QColor doneFg = 0x8250df;
65 inline const QColor fgMuted = 0x57606a;
66 inline const QColor fgSubtle = 0x6e7781;
67 inline const QColor severeFg = 0xbc4c00;
68 inline const QColor successEmphasis = 0x2da44e;
69 inline const QColor successFg = 0x1a7f37;
70 // Scale variables
71 inline const QColor scaleYellow6 = 0x7d4e00;