From 17027474593903792060f88a2522a05c3228558c Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Mon, 30 Mar 2020 21:07:54 +0200 Subject: cleanup: make color-constants in themeinterface.cpp static There were no outside users - no point in exporting them. Signed-off-by: Berthold Stoeger --- mobile-widgets/themeinterface.cpp | 76 +++++++++++++++++++-------------------- 1 file changed, 38 insertions(+), 38 deletions(-) (limited to 'mobile-widgets') 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 -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() { -- cgit v1.2.3-70-g09d2