|
12 | 12 | * for more details. |
13 | 13 | */ |
14 | 14 |
|
15 | | -#include "owncloudtheme.h" |
| 15 | +#include "opencloudtheme.h" |
16 | 16 |
|
17 | 17 | #include <QCoreApplication> |
18 | 18 | #include <QIcon> |
|
21 | 21 |
|
22 | 22 | namespace OCC { |
23 | 23 |
|
24 | | -ownCloudTheme::ownCloudTheme() |
| 24 | +OpenCloudTheme::OpenCloudTheme() |
25 | 25 | : Theme() |
26 | 26 | { |
27 | 27 | } |
28 | 28 |
|
29 | | -QColor ownCloudTheme::wizardHeaderBackgroundColor() const |
| 29 | +QColor OpenCloudTheme::wizardHeaderBackgroundColor() const |
30 | 30 | { |
31 | | - return QColor(4, 30, 66); |
| 31 | + return QColor("#20434F"); |
32 | 32 | } |
33 | 33 |
|
34 | | -QColor ownCloudTheme::wizardHeaderTitleColor() const |
| 34 | +QColor OpenCloudTheme::wizardHeaderTitleColor() const |
35 | 35 | { |
36 | 36 | return Qt::white; |
37 | 37 | } |
38 | 38 |
|
39 | | -QIcon ownCloudTheme::wizardHeaderLogo() const |
| 39 | +QIcon OpenCloudTheme::wizardHeaderLogo() const |
40 | 40 | { |
41 | 41 | return Resources::themeUniversalIcon(QStringLiteral("wizard_logo")); |
42 | 42 | } |
43 | | - |
44 | | -QIcon ownCloudTheme::aboutIcon() const |
| 43 | +QIcon OpenCloudTheme::aboutIcon() const |
45 | 44 | { |
46 | | - return Resources::themeUniversalIcon(QStringLiteral("oc-image-about")); |
| 45 | + return Resources::themeUniversalIcon(QStringLiteral("opencloud-icon")); |
47 | 46 | } |
48 | 47 |
|
49 | | -QmlButtonColor ownCloudTheme::primaryButtonColor() const |
| 48 | +QmlButtonColor OpenCloudTheme::primaryButtonColor() const |
50 | 49 | { |
51 | | - const QColor button("#709cd2"); |
52 | | - return {button, Qt::white, button.darker()}; |
| 50 | + return {"#E2BAFF", "#20434F", "#DADADA"}; |
53 | 51 | } |
54 | 52 |
|
55 | | -QmlButtonColor ownCloudTheme::secondaryButtonColor() const |
| 53 | +QmlButtonColor OpenCloudTheme::secondaryButtonColor() const |
56 | 54 | { |
57 | | - return {"#d4d3d0", Qt::black, QColor(Qt::black).lighter()}; |
| 55 | + return {"#CA8DF5", "#19353F", "#B0B0B0"}; |
58 | 56 | } |
59 | 57 | } |
0 commit comments