Add titlebar colors to Kirigami::PlatformTheme
ClosedPublic

Authored by cblack on Apr 18 2020, 4:38 PM.

Details

Summary

This is a prerequisite for implementing the tools area in QML applications, which requires having access to the titlbar colour.

Test Plan
import QtQuick 2.0
import org.kde.kirigami 2.12 as Kirigami

Rectangle {
    color: Kirigami.Theme.titlebarBackgroundColor
}

Diff Detail

Repository
R169 Kirigami
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
cblack created this revision.Apr 18 2020, 4:38 PM
Restricted Application added a project: Kirigami. · View Herald TranscriptApr 18 2020, 4:38 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
cblack requested review of this revision.Apr 18 2020, 4:38 PM
mart added a subscriber: mart.Apr 20 2020, 4:11 PM

what's the "tools area"?
are there other use cases than client side decorations? (which we don't want to support)

mart accepted this revision.Apr 20 2020, 4:15 PM

ok, thanks for the clarification

This revision is now accepted and ready to land.Apr 20 2020, 4:15 PM
This revision was automatically updated to reflect the committed changes.