diff options
Diffstat (limited to 'imports/Bootstrap')
-rw-r--r-- | imports/Bootstrap/Bootstrap.qml | 56 | ||||
-rw-r--r-- | imports/Bootstrap/qmldir | 2 |
2 files changed, 0 insertions, 58 deletions
diff --git a/imports/Bootstrap/Bootstrap.qml b/imports/Bootstrap/Bootstrap.qml deleted file mode 100644 index 845e4f1..0000000 --- a/imports/Bootstrap/Bootstrap.qml +++ /dev/null @@ -1,56 +0,0 @@ -pragma Singleton -import QtQuick 2.15 - -QtObject { - readonly property color primary: "#066ac9" - readonly property real badgeFontSize: 13.6 - - readonly property real btnPaddingX: 16 - readonly property real btnPaddingY: 8 - readonly property font btnFont: Qt.font({ - family: haveRoboto ? "Roboto" : medium.name, - weight: Font.Medium, - pointSize: 15 - }) - readonly property color btnColor: "#ffffff" - readonly property color btnBg: "transparent" - readonly property real btnBorderWidth: 1 - readonly property color btnBorderColor: btnBg - readonly property real btnBorderRadius: 5.2 - readonly property real btnLgFontSize: 16 - readonly property real btnLgBorderRadius: 8 - readonly property color btnPrimaryBg: primary - readonly property color btnPrimaryBorderColor: primary - readonly property color btnPrimaryActiveBg: "#0555a1" - readonly property color btnPrimaryActiveBorderColor: "#055097" - readonly property color btnPrimaryDisabledBg: "#a6066ac9" - readonly property color btnPrimaryDisabledBorderColor: btnPrimaryDisabledBg - readonly property color btnSuccessBg: "#0cbc87" - readonly property color btnSuccessBorderColor: btnSuccessBg - readonly property color btnSuccessActiveBg: "#0a966c" - readonly property color btnSuccessActiveBorderColor: "#098d65" - readonly property color btnSuccessDisabledBg: "#a60cbc87" - readonly property color btnSuccessDisabledBorderColor: btnSuccessDisabledBg - - readonly property real navPillsBorderRadius: btnBorderRadius - readonly property color navPillsLinkActiveColor: btnColor - readonly property color navPillsLinkActiveBg: primary - - readonly property font bodyFont: Qt.font({ - family: haveRoboto ? "Roboto" : regular.name, - weight: Font.Normal, - pointSize: 15 - }) - - readonly property bool haveRoboto: Qt.platform.os === "android" - || Qt.platform.os === "linux" - || Qt.platform.os === "osx" - || Qt.platform.os === "unix" - || Qt.platform.os === "windows" - readonly property FontLoader medium: FontLoader { - source: haveRoboto ? "" : "../../Roboto/Roboto-Medium.ttf" - } - readonly property FontLoader regular: FontLoader { - source: haveRoboto ? "" : "../../Roboto/Roboto-Regular.ttf" - } -} diff --git a/imports/Bootstrap/qmldir b/imports/Bootstrap/qmldir deleted file mode 100644 index 53e8824..0000000 --- a/imports/Bootstrap/qmldir +++ /dev/null @@ -1,2 +0,0 @@ -module Bootstrap -singleton Bootstrap 5.3 Bootstrap.qml |