mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
using sourcesanspro fonts
This commit is contained in:
parent
35b022e5a7
commit
b979ab0ae2
17 changed files with 46 additions and 13 deletions
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-Black.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-Black.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-BlackIt.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-BlackIt.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-Bold.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-Bold.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-BoldIt.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-BoldIt.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-ExtraLight.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-ExtraLight.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-ExtraLightIt.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-ExtraLightIt.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-It.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-It.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-Light.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-Light.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-LightIt.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-LightIt.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-Regular.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-Regular.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-Semibold.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-Semibold.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-SemiboldIt.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSansPro-SemiboldIt.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSerifPro-Bold.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSerifPro-Bold.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSerifPro-Regular.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSerifPro-Regular.ttf
Normal file
Binary file not shown.
BIN
cmd/mist/assets/qml/fonts/SourceSerifPro-Semibold.ttf
Normal file
BIN
cmd/mist/assets/qml/fonts/SourceSerifPro-Semibold.ttf
Normal file
Binary file not shown.
|
|
@ -9,6 +9,7 @@ import Ethereum 1.0
|
||||||
import "../ext/filter.js" as Eth
|
import "../ext/filter.js" as Eth
|
||||||
import "../ext/http.js" as Http
|
import "../ext/http.js" as Http
|
||||||
|
|
||||||
|
|
||||||
ApplicationWindow {
|
ApplicationWindow {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
|
@ -375,6 +376,25 @@ ApplicationWindow {
|
||||||
Layout.minimumWidth: 192
|
Layout.minimumWidth: 192
|
||||||
Layout.maximumWidth: 192
|
Layout.maximumWidth: 192
|
||||||
|
|
||||||
|
FontLoader {
|
||||||
|
id: sourceSansPro
|
||||||
|
source: "fonts/SourceSansPro-Regular.ttf"
|
||||||
|
}
|
||||||
|
FontLoader {
|
||||||
|
source: "fonts/SourceSansPro-Semibold.ttf"
|
||||||
|
}
|
||||||
|
FontLoader {
|
||||||
|
source: "fonts/SourceSansPro-Bold.ttf"
|
||||||
|
}
|
||||||
|
FontLoader {
|
||||||
|
source: "fonts/SourceSansPro-Black.ttf"
|
||||||
|
}
|
||||||
|
FontLoader {
|
||||||
|
source: "fonts/SourceSansPro-Light.ttf"
|
||||||
|
}
|
||||||
|
FontLoader {
|
||||||
|
source: "fonts/SourceSansPro-ExtraLight.ttf"
|
||||||
|
}
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: parent.height
|
width: parent.height
|
||||||
|
|
@ -503,7 +523,21 @@ ApplicationWindow {
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
id: buttonLabel
|
||||||
|
visible: false
|
||||||
|
text: "GO TO NEW APP"
|
||||||
|
font.family: sourceSansPro.name
|
||||||
|
font.weight: Font.DemiBold
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
color: "#AAA0A0"
|
||||||
|
//font.family: SourceSansProRegular.name
|
||||||
|
}
|
||||||
|
|
||||||
|
Text {
|
||||||
id: label
|
id: label
|
||||||
|
font.family: sourceSansPro.name
|
||||||
|
font.weight: Font.DemiBold
|
||||||
anchors {
|
anchors {
|
||||||
left: icon.right
|
left: icon.right
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
|
|
@ -513,19 +547,12 @@ ApplicationWindow {
|
||||||
color: "#665F5F"
|
color: "#665F5F"
|
||||||
font.pixelSize: 14
|
font.pixelSize: 14
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
|
||||||
id: buttonLabel
|
|
||||||
visible: false
|
|
||||||
text: "GO TO NEW APP"
|
|
||||||
font.bold: true
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
color: "#AAA0A0"
|
|
||||||
}
|
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
id: secondary
|
id: secondary
|
||||||
|
font.family: sourceSansPro.name
|
||||||
|
font.weight: Font.Light
|
||||||
anchors {
|
anchors {
|
||||||
right: parent.right
|
right: parent.right
|
||||||
rightMargin: 8
|
rightMargin: 8
|
||||||
|
|
@ -619,7 +646,8 @@ ApplicationWindow {
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
Text {
|
Text {
|
||||||
text: "ETHEREUM"
|
text: "ETHEREUM"
|
||||||
font.bold: true
|
font.family: sourceSansPro.name
|
||||||
|
font.weight: Font.DemiBold
|
||||||
anchors {
|
anchors {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
top: parent.verticalCenter
|
top: parent.verticalCenter
|
||||||
|
|
@ -644,7 +672,8 @@ ApplicationWindow {
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
Text {
|
Text {
|
||||||
text: "APPS"
|
text: "APPS"
|
||||||
font.bold: true
|
font.family: sourceSansPro.name
|
||||||
|
font.weight: Font.DemiBold
|
||||||
anchors {
|
anchors {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
top: parent.verticalCenter
|
top: parent.verticalCenter
|
||||||
|
|
@ -668,7 +697,8 @@ ApplicationWindow {
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
Text {
|
Text {
|
||||||
text: "DEBUG"
|
text: "DEBUG"
|
||||||
font.bold: true
|
font.family: sourceSansPro.name
|
||||||
|
font.weight: Font.DemiBold
|
||||||
anchors {
|
anchors {
|
||||||
left: parent.left
|
left: parent.left
|
||||||
top: parent.verticalCenter
|
top: parent.verticalCenter
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import QtWebEngine 1.0
|
||||||
//import QtWebEngine.experimental 1.0
|
//import QtWebEngine.experimental 1.0
|
||||||
import QtQuick.Window 2.0;
|
import QtQuick.Window 2.0;
|
||||||
|
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: window
|
id: window
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
@ -20,6 +21,8 @@ Rectangle {
|
||||||
property alias windowTitle: webview.title
|
property alias windowTitle: webview.title
|
||||||
property alias webView: webview
|
property alias webView: webview
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
property var cleanPath: false
|
property var cleanPath: false
|
||||||
property var open: function(url) {
|
property var open: function(url) {
|
||||||
if(!window.cleanPath) {
|
if(!window.cleanPath) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue