summaryrefslogtreecommitdiff
path: root/imports/Bootstrap/Bootstrap.qml
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-04-11 16:07:10 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-04-11 16:07:10 +0800
commit6f46e95ed7e02bc16aaf26393942383ce8667e13 (patch)
tree3cf8f401e3ae9d0cffda3a09ee0f6a4a3905eca2 /imports/Bootstrap/Bootstrap.qml
parente47f0a86a8f7960d608945861aba1c522ba31eda (diff)
Qeduport now relies on Qootstrap
Qeduport should now be installed to the system too. When used from app, Qeduport will refer to libqootstrap installed in the system. When used from Designer / Design Studio, Qeduport will refer to the non attached property QML version instead.
Diffstat (limited to 'imports/Bootstrap/Bootstrap.qml')
-rw-r--r--imports/Bootstrap/Bootstrap.qml14
1 files changed, 14 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"
+}