diff options
Diffstat (limited to 'imports/Bootstrap')
-rw-r--r-- | imports/Bootstrap/Bootstrap.qml | 14 | ||||
-rw-r--r-- | imports/Bootstrap/qmldir | 2 |
2 files changed, 16 insertions, 0 deletions
diff --git a/imports/Bootstrap/Bootstrap.qml b/imports/Bootstrap/Bootstrap.qml new file mode 100644 index 0000000..d31cfb0 --- /dev/null +++ b/imports/Bootstrap/Bootstrap.qml @@ -0,0 +1,14 @@ +pragma Singleton +import QtQuick 2.15 + +QtObject { + enum Mode { + Light, + Dark + } + property int mode: Bootstrap.Mode.Light + + readonly property color bodyColor: mode ? "#a1a1a8" : "#747579" + readonly property color bodyBg: mode ? "#222529" : "#fff" + readonly property color borderColor: mode ? "#12ffffff" : "#eff1f2" +} diff --git a/imports/Bootstrap/qmldir b/imports/Bootstrap/qmldir new file mode 100644 index 0000000..8e5154b --- /dev/null +++ b/imports/Bootstrap/qmldir @@ -0,0 +1,2 @@ +module Eduport +singleton Bootstrap 5.3 Bootstrap.qml |