forked from Sepanta/console-emulator
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
771 B
31 lines
771 B
import QtQuick 2.0
|
|
import QtQuick.Controls 2.13
|
|
import QtGraphicalEffects 1.13
|
|
|
|
import "qrc:/theme"
|
|
|
|
LinearGradient {
|
|
anchors.fill: parent
|
|
start: Qt.point(parent.width, parent.height/2)
|
|
end: Qt.point(0, 0)
|
|
|
|
gradient: Gradient {
|
|
GradientStop {
|
|
position: 0
|
|
color: Theme.current.isDarkTheme ? "#10FFFFFF" : "#4DFFFFFF"
|
|
}
|
|
GradientStop {
|
|
position: 0.08
|
|
color: Theme.current.isDarkTheme ? "#20FFFFFF" : "#80FFFFFF"
|
|
}
|
|
GradientStop {
|
|
position: 0.27
|
|
color: Theme.current.isDarkTheme ? "#05FFFFFF" : "#21FFFFFF"
|
|
}
|
|
|
|
GradientStop {
|
|
position: 1
|
|
color: Theme.current.isDarkTheme ? "#05FFFFFF" : "#21FFFFFF"
|
|
}
|
|
}
|
|
}
|
|
|