diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-03-30 21:07:54 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-30 13:54:12 -0700 |
commit | 17027474593903792060f88a2522a05c3228558c (patch) | |
tree | 626ac55ba410a872025fffdbc6188fd3b5b7eaa0 /mobile-widgets/themeinterface.cpp | |
parent | 79bf243ec0055f546efa2b4dee20424f291f968d (diff) | |
download | subsurface-17027474593903792060f88a2522a05c3228558c.tar.gz |
cleanup: make color-constants in themeinterface.cpp static
There were no outside users - no point in exporting them.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/themeinterface.cpp')
-rw-r--r-- | mobile-widgets/themeinterface.cpp | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/mobile-widgets/themeinterface.cpp b/mobile-widgets/themeinterface.cpp index 3ce0203b4..905262f89 100644 --- a/mobile-widgets/themeinterface.cpp +++ b/mobile-widgets/themeinterface.cpp @@ -5,44 +5,44 @@ #include "core/settings/qPrefDisplay.h" #include <QFontInfo> -const QColor BLUE_BACKGROUND_COLOR = "#eff0f1"; -const QColor BLUE_CONTRAST_ACCENT_COLOR = "#FF5722"; -const QColor BLUE_DARKER_PRIMARY_COLOR = "#303F9f"; -const QColor BLUE_DARKER_PRIMARY_TEXT_COLOR = "#ECECEC"; -const QColor BLUE_DRAWER_COLOR = "#FFFFFF"; -const QColor BLUE_LIGHT_DRAWER_COLOR = "#FFFFFF"; -const QColor BLUE_LIGHT_PRIMARY_COLOR = "#C5CAE9"; -const QColor BLUE_LIGHT_PRIMARY_TEXT_COLOR = "#212121"; -const QColor BLUE_PRIMARY_COLOR = "#3F51B5"; -const QColor BLUE_PRIMARY_TEXT_COLOR = "#FFFFFF"; -const QColor BLUE_SECONDARY_TEXT_COLOR = "#757575"; -const QColor BLUE_TEXT_COLOR = "#212121"; - -const QColor PINK_BACKGROUND_COLOR = "#eff0f1"; -const QColor PINK_CONTRAST_ACCENT_COLOR = "#FF5722"; -const QColor PINK_DARKER_PRIMARY_COLOR = "#C2185B"; -const QColor PINK_DARKER_PRIMARY_TEXT_COLOR = "#ECECEC"; -const QColor PINK_DRAWER_COLOR = "#FFFFFF"; -const QColor PINK_LIGHT_DRAWER_COLOR = "#FFFFFF"; -const QColor PINK_LIGHT_PRIMARY_COLOR = "#FFDDF4"; -const QColor PINK_LIGHT_PRIMARY_TEXT_COLOR = "#212121"; -const QColor PINK_PRIMARY_COLOR = "#FF69B4"; -const QColor PINK_PRIMARY_TEXT_COLOR = "#212121"; -const QColor PINK_SECONDARY_TEXT_COLOR = "#757575"; -const QColor PINK_TEXT_COLOR = "#212121"; - -const QColor DARK_BACKGROUND_COLOR = "#303030"; -const QColor DARK_CONTRAST_ACCENT_COLOR = "#FF5722"; -const QColor DARK_DARKER_PRIMARY_COLOR = "#303F9f"; -const QColor DARK_DARKER_PRIMARY_TEXT_COLOR = "#ECECEC"; -const QColor DARK_DRAWER_COLOR = "#424242"; -const QColor DARK_LIGHT_DRAWER_COLOR = "#FFFFFF"; -const QColor DARK_LIGHT_PRIMARY_COLOR = "#C5CAE9"; -const QColor DARK_LIGHT_PRIMARY_TEXT_COLOR = "#ECECEC"; -const QColor DARK_PRIMARY_COLOR = "#3F51B5"; -const QColor DARK_PRIMARY_TEXT_COLOR = "#ECECEC"; -const QColor DARK_SECONDARY_TEXT_COLOR = "#757575"; -const QColor DARK_TEXT_COLOR = "#ECECEC"; +static const QColor BLUE_BACKGROUND_COLOR = "#eff0f1"; +static const QColor BLUE_CONTRAST_ACCENT_COLOR = "#FF5722"; +static const QColor BLUE_DARKER_PRIMARY_COLOR = "#303F9f"; +static const QColor BLUE_DARKER_PRIMARY_TEXT_COLOR = "#ECECEC"; +static const QColor BLUE_DRAWER_COLOR = "#FFFFFF"; +static const QColor BLUE_LIGHT_DRAWER_COLOR = "#FFFFFF"; +static const QColor BLUE_LIGHT_PRIMARY_COLOR = "#C5CAE9"; +static const QColor BLUE_LIGHT_PRIMARY_TEXT_COLOR = "#212121"; +static const QColor BLUE_PRIMARY_COLOR = "#3F51B5"; +static const QColor BLUE_PRIMARY_TEXT_COLOR = "#FFFFFF"; +static const QColor BLUE_SECONDARY_TEXT_COLOR = "#757575"; +static const QColor BLUE_TEXT_COLOR = "#212121"; + +static const QColor PINK_BACKGROUND_COLOR = "#eff0f1"; +static const QColor PINK_CONTRAST_ACCENT_COLOR = "#FF5722"; +static const QColor PINK_DARKER_PRIMARY_COLOR = "#C2185B"; +static const QColor PINK_DARKER_PRIMARY_TEXT_COLOR = "#ECECEC"; +static const QColor PINK_DRAWER_COLOR = "#FFFFFF"; +static const QColor PINK_LIGHT_DRAWER_COLOR = "#FFFFFF"; +static const QColor PINK_LIGHT_PRIMARY_COLOR = "#FFDDF4"; +static const QColor PINK_LIGHT_PRIMARY_TEXT_COLOR = "#212121"; +static const QColor PINK_PRIMARY_COLOR = "#FF69B4"; +static const QColor PINK_PRIMARY_TEXT_COLOR = "#212121"; +static const QColor PINK_SECONDARY_TEXT_COLOR = "#757575"; +static const QColor PINK_TEXT_COLOR = "#212121"; + +static const QColor DARK_BACKGROUND_COLOR = "#303030"; +static const QColor DARK_CONTRAST_ACCENT_COLOR = "#FF5722"; +static const QColor DARK_DARKER_PRIMARY_COLOR = "#303F9f"; +static const QColor DARK_DARKER_PRIMARY_TEXT_COLOR = "#ECECEC"; +static const QColor DARK_DRAWER_COLOR = "#424242"; +static const QColor DARK_LIGHT_DRAWER_COLOR = "#FFFFFF"; +static const QColor DARK_LIGHT_PRIMARY_COLOR = "#C5CAE9"; +static const QColor DARK_LIGHT_PRIMARY_TEXT_COLOR = "#ECECEC"; +static const QColor DARK_PRIMARY_COLOR = "#3F51B5"; +static const QColor DARK_PRIMARY_TEXT_COLOR = "#ECECEC"; +static const QColor DARK_SECONDARY_TEXT_COLOR = "#757575"; +static const QColor DARK_TEXT_COLOR = "#ECECEC"; themeInterface *themeInterface::instance() { |