diff options
Diffstat (limited to 'src/plugins/coreplugin/welcomepagehelper.h')
-rw-r--r-- | src/plugins/coreplugin/welcomepagehelper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/welcomepagehelper.h b/src/plugins/coreplugin/welcomepagehelper.h index 6856a59a99..84a6ec358b 100644 --- a/src/plugins/coreplugin/welcomepagehelper.h +++ b/src/plugins/coreplugin/welcomepagehelper.h @@ -59,6 +59,10 @@ public: CORE_EXPORT void setBackgroundColor(QWidget *widget, Utils::Theme::Color colorRole); constexpr qreal defaultCardBackgroundRounding = 3.75; +constexpr Utils::Theme::Color cardDefaultBackground = Utils::Theme::Token_Background_Muted; +constexpr Utils::Theme::Color cardDefaultStroke = Utils::Theme::Token_Stroke_Subtle; +constexpr Utils::Theme::Color cardHoverBackground = Utils::Theme::Token_Foreground_Subtle; +constexpr Utils::Theme::Color cardHoverStroke = cardHoverBackground; CORE_EXPORT void drawCardBackground(QPainter *painter, const QRectF &rect, const QBrush &fill, const QPen &pen = QPen(Qt::NoPen), qreal rounding = defaultCardBackgroundRounding); |