Add the beginnings of a cura theme

This commit is contained in:
Arjen Hiemstra 2015-03-25 13:40:02 +01:00
commit 96ce3efb7f
2 changed files with 37 additions and 0 deletions

7
styles.qml Normal file
View File

@ -0,0 +1,7 @@
import QtQuick 2.1
import QtQuick.Controls 1.1
import QtQuick.Controls.Styles 1.1
QtObject {
}

30
theme.json Normal file
View File

@ -0,0 +1,30 @@
{
"fonts": {
"large": {
"size": 1.5,
"bold": true
},
"default": {
"size": 1
},
"small": {
"size": 0.8
},
"tiny": {
"size": 0.5
}
},
"colors": {
"primary": [1.0, 0.0, 0.0, 1.0],
"border": [0.0, 1.0, 0.0, 1.0]
},
"sizes": {
"toolbar_button": [2.0, 2.0],
"window_margin": [1.0, 1.0],
"default_margin": [1.0, 1.0],
"panel": [10.0, 10.0],
"toolbar_spacing": [1.0, 1.0]
}
}