Commit 4ae52e4a authored by Noah Davis's avatar Noah Davis 🌵
Browse files

Add standard background components for modal and dimmed overlays

parent de07be82
/* SPDX-FileCopyrightText: 2020 Noah Davis <noahadvs@gmail.com>
* SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
import QtQuick 2.15
import org.kde.kirigami 2.14 as Kirigami
Rectangle {
color: Qt.rgba(0,0,0,0.125)
Behavior on opacity {
OpacityAnimator {
duration: Kirigami.Units.longDuration
}
}
}
/* SPDX-FileCopyrightText: 2020 Noah Davis <noahadvs@gmail.com>
* SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
import QtQuick 2.15
import org.kde.kirigami 2.14 as Kirigami
Rectangle {
color: Qt.rgba(0,0,0,0.4)
Behavior on opacity {
OpacityAnimator {
duration: Kirigami.Units.longDuration
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment