parent
648c943c53
commit
f900e7c00e
|
@ -1 +1 @@
|
||||||
Subproject commit a94d9338bf0f51a36c82169b432a5184143d09e1
|
Subproject commit d892a842277dd78199b608c40da297a73de24c91
|
|
@ -69,7 +69,7 @@ Rectangle {
|
||||||
id: addressText
|
id: addressText
|
||||||
width: 108
|
width: 108
|
||||||
text: address
|
text: address
|
||||||
font.family: Style.current.fontHexRegular.name
|
font.family: Style.current.monoFont.name
|
||||||
elide: Text.ElideMiddle
|
elide: Text.ElideMiddle
|
||||||
anchors.bottom: accountImage.bottom
|
anchors.bottom: accountImage.bottom
|
||||||
anchors.bottomMargin: 0
|
anchors.bottomMargin: 0
|
||||||
|
|
|
@ -165,7 +165,7 @@ Item {
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
font.family: Style.current.fontHexRegular.name
|
font.family: Style.current.monoFont.name
|
||||||
color: Theme.palette.directColor1
|
color: Theme.palette.directColor1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -189,7 +189,7 @@ Item {
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
font.family: Style.current.fontHexRegular.name
|
font.family: Style.current.monoFont.name
|
||||||
color: Theme.palette.directColor1
|
color: Theme.palette.directColor1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ Rectangle {
|
||||||
anchors.leftMargin: headerButton.margin
|
anchors.leftMargin: headerButton.margin
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.family: Style.current.fontMedium.name
|
font.family: Style.current.baseFont.name
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
color: Style.current.blue
|
color: Style.current.blue
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@ Rectangle {
|
||||||
text: qsTr("Back up")
|
text: qsTr("Back up")
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
font.family: Style.current.fontRegular.name
|
font.family: Style.current.baseFont.name
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
|
|
|
@ -2,17 +2,19 @@ import QtQuick 2.13
|
||||||
import utils 1.0
|
import utils 1.0
|
||||||
|
|
||||||
QtObject {
|
QtObject {
|
||||||
property QtObject fontMedium: FontLoader { id: _fontMedium; source: "../../fonts/Inter/Inter-Medium.otf"; }
|
readonly property FontLoader baseFont: FontLoader { source: "../../fonts/Inter/Inter-Regular.otf" }
|
||||||
property QtObject fontBold: FontLoader { id: _fontBold; source: "../../fonts/Inter/Inter-Bold.otf"; }
|
readonly property FontLoader monoFont: FontLoader { source: "../../fonts/InterStatus/InterStatus-Regular.otf" }
|
||||||
property QtObject fontLight: FontLoader { id: _fontLight; source: "../../fonts/Inter/Inter-Light.otf"; }
|
readonly property FontLoader codeFont: FontLoader { source: "../../fonts/RobotoMono/RobotoMono-Regular.ttf" }
|
||||||
property QtObject fontRegular: FontLoader { id: _fontRegular; source: "../../fonts/Inter/Inter-Regular.otf"; }
|
|
||||||
|
|
||||||
property QtObject fontHexMedium: FontLoader { id: _fontHexMedium; source: "../../fonts/InterStatus/InterStatus-Medium.otf"; }
|
readonly property QtObject _d: QtObject {
|
||||||
property QtObject fontHexBold: FontLoader { id: _fontHexBold; source: "../../fonts/InterStatus/InterStatus-Bold.otf"; }
|
readonly property FontLoader baseFontMedium: FontLoader { source: "../../fonts/Inter/Inter-Medium.otf" }
|
||||||
property QtObject fontHexLight: FontLoader { id: _fontHexLight; source: "../../fonts/InterStatus/InterStatus-Light.otf"; }
|
readonly property FontLoader baseFontBold: FontLoader { source: "../../fonts/Inter/Inter-Bold.otf" }
|
||||||
property QtObject fontHexRegular: FontLoader { id: _fontHexRegular; source: "../../fonts/InterStatus/InterStatus-Regular.otf"; }
|
readonly property FontLoader baseFontLight: FontLoader { source: "../../fonts/Inter/Inter-Light.otf" }
|
||||||
|
|
||||||
property QtObject fontCodeRegular: FontLoader { id: _fontCodeRegular; source: "../../fonts/RobotoMono/RobotoMono-Regular.ttf"; }
|
readonly property FontLoader monoFontMedium: FontLoader { source: "../../fonts/InterStatus/InterStatus-Medium.otf" }
|
||||||
|
readonly property FontLoader monoFontBold: FontLoader { source: "../../fonts/InterStatus/InterStatus-Bold.otf" }
|
||||||
|
readonly property FontLoader monoFontLight: FontLoader { source: "../../fonts/InterStatus/InterStatus-Light.otf" }
|
||||||
|
}
|
||||||
|
|
||||||
property string name
|
property string name
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,7 @@ Item {
|
||||||
visible: label !== ""
|
visible: label !== ""
|
||||||
text: qsTr("Recipient")
|
text: qsTr("Recipient")
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.family: Style.current.fontRegular.name
|
font.family: Style.current.baseFont.name
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
color: Style.current.textColor
|
color: Style.current.textColor
|
||||||
height: 18
|
height: 18
|
||||||
|
@ -131,7 +131,7 @@ Item {
|
||||||
visible: text !== ""
|
visible: text !== ""
|
||||||
text: ""
|
text: ""
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.family: Style.current.fontRegular.name
|
font.family: Style.current.baseFont.name
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
color: Style.current.danger
|
color: Style.current.danger
|
||||||
height: 18
|
height: 18
|
||||||
|
|
|
@ -60,7 +60,7 @@ Item {
|
||||||
anchors.bottomMargin: Style.current.smallPadding
|
anchors.bottomMargin: Style.current.smallPadding
|
||||||
anchors.topMargin: Style.current.smallPadding
|
anchors.topMargin: Style.current.smallPadding
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
font.family: Style.current.fontRegular.name
|
font.family: Style.current.baseFont.name
|
||||||
color: Style.current.textColor
|
color: Style.current.textColor
|
||||||
placeholderTextColor: Style.current.secondaryText
|
placeholderTextColor: Style.current.secondaryText
|
||||||
selectionColor: Style.current.primarySelectionColor
|
selectionColor: Style.current.primarySelectionColor
|
||||||
|
|
|
@ -3,7 +3,7 @@ import QtQuick 2.13
|
||||||
import utils 1.0
|
import utils 1.0
|
||||||
|
|
||||||
TextEdit {
|
TextEdit {
|
||||||
font.family: Style.current.fontRegular.name
|
font.family: Style.current.baseFont.name
|
||||||
color: Style.current.textColor
|
color: Style.current.textColor
|
||||||
selectedTextColor: Style.current.textColor
|
selectedTextColor: Style.current.textColor
|
||||||
selectionColor: Style.current.primarySelectionColor
|
selectionColor: Style.current.primarySelectionColor
|
||||||
|
|
|
@ -4,7 +4,7 @@ import QtQuick.Controls 2.13
|
||||||
import utils 1.0
|
import utils 1.0
|
||||||
|
|
||||||
TextField {
|
TextField {
|
||||||
font.family: Style.current.fontRegular.name
|
font.family: Style.current.baseFont.name
|
||||||
color: readOnly ? Style.current.secondaryText : Style.current.textColor
|
color: readOnly ? Style.current.secondaryText : Style.current.textColor
|
||||||
selectByMouse: !readOnly
|
selectByMouse: !readOnly
|
||||||
selectedTextColor: Style.current.textColor
|
selectedTextColor: Style.current.textColor
|
||||||
|
|
|
@ -10,7 +10,7 @@ StyledText {
|
||||||
id: addressComponent
|
id: addressComponent
|
||||||
text: "0x9ce0056c5fc6bb9459a4dcfa35eaad8c1fee5ce9"
|
text: "0x9ce0056c5fc6bb9459a4dcfa35eaad8c1fee5ce9"
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.family: Style.current.fontHexRegular.name
|
font.family: Style.current.monoFont.name
|
||||||
elide: Text.ElideMiddle
|
elide: Text.ElideMiddle
|
||||||
color: Style.current.secondaryText
|
color: Style.current.secondaryText
|
||||||
|
|
||||||
|
|
|
@ -145,7 +145,7 @@ Item {
|
||||||
text: button.text
|
text: button.text
|
||||||
font.pixelSize: 12
|
font.pixelSize: 12
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
font.family: Style.current.fontRegular.name
|
font.family: Style.current.baseFont.name
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
color: Theme.palette.indirectColor1
|
color: Theme.palette.indirectColor1
|
||||||
|
|
|
@ -3,6 +3,6 @@ import QtQuick 2.13
|
||||||
import utils 1.0
|
import utils 1.0
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
font.family: Style.current.fontRegular.name
|
font.family: Style.current.baseFont.name
|
||||||
color: Style.current.textColor
|
color: Style.current.textColor
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ import "./"
|
||||||
Item {
|
Item {
|
||||||
property string text: "My Text"
|
property string text: "My Text"
|
||||||
property string label: "My Label"
|
property string label: "My Label"
|
||||||
property string fontFamily: Style.current.fontRegular.name
|
property string fontFamily: Style.current.baseFont.name
|
||||||
property string textToCopy: ""
|
property string textToCopy: ""
|
||||||
property alias value: textItem
|
property alias value: textItem
|
||||||
property bool wrap: false
|
property bool wrap: false
|
||||||
|
|
|
@ -1072,7 +1072,7 @@ Rectangle {
|
||||||
|
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
font.family: Style.current.fontRegular.name
|
font.family: Style.current.baseFont.name
|
||||||
wrapMode: TextArea.Wrap
|
wrapMode: TextArea.Wrap
|
||||||
placeholderText: control.chatInputPlaceholder
|
placeholderText: control.chatInputPlaceholder
|
||||||
placeholderTextColor: Style.current.secondaryText
|
placeholderTextColor: Style.current.secondaryText
|
||||||
|
|
|
@ -27,7 +27,7 @@ Item {
|
||||||
id: addressText
|
id: addressText
|
||||||
text: root.address
|
text: root.address
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.family: Style.current.fontHexRegular.name
|
font.family: Style.current.monoFont.name
|
||||||
color: Style.current.secondaryText
|
color: Style.current.secondaryText
|
||||||
elide: Text.ElideMiddle
|
elide: Text.ElideMiddle
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
|
|
@ -127,7 +127,7 @@ Item {
|
||||||
TextMetrics {
|
TextMetrics {
|
||||||
id: textMetrics
|
id: textMetrics
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
font.family: Style.current.fontBold.name
|
font.family: Style.current.baseFont.name
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
text: root.text
|
text: root.text
|
||||||
}
|
}
|
||||||
|
@ -215,7 +215,7 @@ Item {
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
text: root.text
|
text: root.text
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
font.family: Style.current.fontBold.name
|
font.family: Style.current.baseFont.name
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
states: [
|
states: [
|
||||||
State {
|
State {
|
||||||
|
|
|
@ -31,14 +31,14 @@ Item {
|
||||||
StyledText {
|
StyledText {
|
||||||
id: txtPackName
|
id: txtPackName
|
||||||
text: packName
|
text: packName
|
||||||
font.family: Style.current.fontBold.name
|
font.family: Style.current.baseFont.name
|
||||||
font.weight: Font.Bold
|
font.weight: Font.Bold
|
||||||
font.pixelSize: packNameFontSize
|
font.pixelSize: packNameFontSize
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
color: Style.current.secondaryText
|
color: Style.current.secondaryText
|
||||||
text: packAuthor
|
text: packAuthor
|
||||||
font.family: Style.current.fontRegular.name
|
font.family: Style.current.baseFont.name
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue