diff --git a/resources/themes/cura/fonts/LICENSE.txt b/resources/themes/cura/fonts/LICENSE.txt
new file mode 100644
index 0000000000..75b52484ea
--- /dev/null
+++ b/resources/themes/cura/fonts/LICENSE.txt
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/resources/themes/cura/fonts/Roboto-Black.ttf b/resources/themes/cura/fonts/Roboto-Black.ttf
new file mode 100644
index 0000000000..9002aab5d4
Binary files /dev/null and b/resources/themes/cura/fonts/Roboto-Black.ttf differ
diff --git a/resources/themes/cura/fonts/Roboto-BlackItalic.ttf b/resources/themes/cura/fonts/Roboto-BlackItalic.ttf
new file mode 100644
index 0000000000..b87e025dff
Binary files /dev/null and b/resources/themes/cura/fonts/Roboto-BlackItalic.ttf differ
diff --git a/resources/themes/cura/fonts/Roboto-Bold.ttf b/resources/themes/cura/fonts/Roboto-Bold.ttf
new file mode 100644
index 0000000000..072b842925
Binary files /dev/null and b/resources/themes/cura/fonts/Roboto-Bold.ttf differ
diff --git a/resources/themes/cura/fonts/Roboto-BoldItalic.ttf b/resources/themes/cura/fonts/Roboto-BoldItalic.ttf
new file mode 100644
index 0000000000..74919ff649
Binary files /dev/null and b/resources/themes/cura/fonts/Roboto-BoldItalic.ttf differ
diff --git a/resources/themes/cura/fonts/Roboto-Italic.ttf b/resources/themes/cura/fonts/Roboto-Italic.ttf
new file mode 100644
index 0000000000..bd57775e44
Binary files /dev/null and b/resources/themes/cura/fonts/Roboto-Italic.ttf differ
diff --git a/resources/themes/cura/fonts/Roboto-Light.ttf b/resources/themes/cura/fonts/Roboto-Light.ttf
new file mode 100644
index 0000000000..13bf13af00
Binary files /dev/null and b/resources/themes/cura/fonts/Roboto-Light.ttf differ
diff --git a/resources/themes/cura/fonts/Roboto-LightItalic.ttf b/resources/themes/cura/fonts/Roboto-LightItalic.ttf
new file mode 100644
index 0000000000..130672a907
Binary files /dev/null and b/resources/themes/cura/fonts/Roboto-LightItalic.ttf differ
diff --git a/resources/themes/cura/fonts/Roboto-Medium.ttf b/resources/themes/cura/fonts/Roboto-Medium.ttf
new file mode 100644
index 0000000000..d0f6e2b64f
Binary files /dev/null and b/resources/themes/cura/fonts/Roboto-Medium.ttf differ
diff --git a/resources/themes/cura/fonts/Roboto-MediumItalic.ttf b/resources/themes/cura/fonts/Roboto-MediumItalic.ttf
new file mode 100644
index 0000000000..6153d48b49
Binary files /dev/null and b/resources/themes/cura/fonts/Roboto-MediumItalic.ttf differ
diff --git a/resources/themes/cura/fonts/Roboto-Regular.ttf b/resources/themes/cura/fonts/Roboto-Regular.ttf
new file mode 100644
index 0000000000..0ba95c98c4
Binary files /dev/null and b/resources/themes/cura/fonts/Roboto-Regular.ttf differ
diff --git a/resources/themes/cura/fonts/Roboto-Thin.ttf b/resources/themes/cura/fonts/Roboto-Thin.ttf
new file mode 100644
index 0000000000..309c22d358
Binary files /dev/null and b/resources/themes/cura/fonts/Roboto-Thin.ttf differ
diff --git a/resources/themes/cura/fonts/Roboto-ThinItalic.ttf b/resources/themes/cura/fonts/Roboto-ThinItalic.ttf
new file mode 100644
index 0000000000..0b53ba4d38
Binary files /dev/null and b/resources/themes/cura/fonts/Roboto-ThinItalic.ttf differ
diff --git a/resources/themes/cura/icons/application.svg b/resources/themes/cura/icons/application.svg
new file mode 100644
index 0000000000..1dc777aa10
--- /dev/null
+++ b/resources/themes/cura/icons/application.svg
@@ -0,0 +1,3377 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/category_adhesion.svg b/resources/themes/cura/icons/category_adhesion.svg
new file mode 100644
index 0000000000..e2636d51ad
--- /dev/null
+++ b/resources/themes/cura/icons/category_adhesion.svg
@@ -0,0 +1,3384 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/category_cool.svg b/resources/themes/cura/icons/category_cool.svg
new file mode 100644
index 0000000000..a07dc8f95c
--- /dev/null
+++ b/resources/themes/cura/icons/category_cool.svg
@@ -0,0 +1,3398 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/category_fixes.svg b/resources/themes/cura/icons/category_fixes.svg
new file mode 100644
index 0000000000..da83097fe6
--- /dev/null
+++ b/resources/themes/cura/icons/category_fixes.svg
@@ -0,0 +1,3377 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/category_infill.svg b/resources/themes/cura/icons/category_infill.svg
new file mode 100644
index 0000000000..24c94dbc2e
--- /dev/null
+++ b/resources/themes/cura/icons/category_infill.svg
@@ -0,0 +1,3386 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/category_material.svg b/resources/themes/cura/icons/category_material.svg
new file mode 100644
index 0000000000..db19effd51
--- /dev/null
+++ b/resources/themes/cura/icons/category_material.svg
@@ -0,0 +1,3396 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/category_quality.svg b/resources/themes/cura/icons/category_quality.svg
new file mode 100644
index 0000000000..bb0731b72e
--- /dev/null
+++ b/resources/themes/cura/icons/category_quality.svg
@@ -0,0 +1,3378 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/category_speed.svg b/resources/themes/cura/icons/category_speed.svg
new file mode 100644
index 0000000000..bae62fa841
--- /dev/null
+++ b/resources/themes/cura/icons/category_speed.svg
@@ -0,0 +1,3405 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/category_support.svg b/resources/themes/cura/icons/category_support.svg
new file mode 100644
index 0000000000..877dff48cb
--- /dev/null
+++ b/resources/themes/cura/icons/category_support.svg
@@ -0,0 +1,3382 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/category_unknown.svg b/resources/themes/cura/icons/category_unknown.svg
new file mode 100644
index 0000000000..3d47a262e4
--- /dev/null
+++ b/resources/themes/cura/icons/category_unknown.svg
@@ -0,0 +1,3390 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/mirror.svg b/resources/themes/cura/icons/mirror.svg
new file mode 100644
index 0000000000..27b317a250
--- /dev/null
+++ b/resources/themes/cura/icons/mirror.svg
@@ -0,0 +1,3376 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/open.svg b/resources/themes/cura/icons/open.svg
new file mode 100644
index 0000000000..32d52e48d4
--- /dev/null
+++ b/resources/themes/cura/icons/open.svg
@@ -0,0 +1,3378 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/plugin.svg b/resources/themes/cura/icons/plugin.svg
new file mode 100644
index 0000000000..5019f2b62a
--- /dev/null
+++ b/resources/themes/cura/icons/plugin.svg
@@ -0,0 +1,3374 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/printsetup.svg b/resources/themes/cura/icons/printsetup.svg
new file mode 100644
index 0000000000..3d47a262e4
--- /dev/null
+++ b/resources/themes/cura/icons/printsetup.svg
@@ -0,0 +1,3390 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/rotate.svg b/resources/themes/cura/icons/rotate.svg
new file mode 100644
index 0000000000..d12bbf0988
--- /dev/null
+++ b/resources/themes/cura/icons/rotate.svg
@@ -0,0 +1,3394 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/rotate_layflat.svg b/resources/themes/cura/icons/rotate_layflat.svg
new file mode 100644
index 0000000000..228c54218a
--- /dev/null
+++ b/resources/themes/cura/icons/rotate_layflat.svg
@@ -0,0 +1,3374 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/rotate_reset.svg b/resources/themes/cura/icons/rotate_reset.svg
new file mode 100644
index 0000000000..9fac4c1f7d
--- /dev/null
+++ b/resources/themes/cura/icons/rotate_reset.svg
@@ -0,0 +1,3388 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/save.svg b/resources/themes/cura/icons/save.svg
new file mode 100644
index 0000000000..9ba1035d75
--- /dev/null
+++ b/resources/themes/cura/icons/save.svg
@@ -0,0 +1,3382 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/save_sd.svg b/resources/themes/cura/icons/save_sd.svg
new file mode 100644
index 0000000000..85b6edf42e
--- /dev/null
+++ b/resources/themes/cura/icons/save_sd.svg
@@ -0,0 +1,3381 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/scale.svg b/resources/themes/cura/icons/scale.svg
new file mode 100644
index 0000000000..f00db38bf3
--- /dev/null
+++ b/resources/themes/cura/icons/scale.svg
@@ -0,0 +1,3377 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/scale_max.svg b/resources/themes/cura/icons/scale_max.svg
new file mode 100644
index 0000000000..73ae8c078f
--- /dev/null
+++ b/resources/themes/cura/icons/scale_max.svg
@@ -0,0 +1,3385 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/scale_reset.svg b/resources/themes/cura/icons/scale_reset.svg
new file mode 100644
index 0000000000..faa8af21d3
--- /dev/null
+++ b/resources/themes/cura/icons/scale_reset.svg
@@ -0,0 +1,3387 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/view_layer.svg b/resources/themes/cura/icons/view_layer.svg
new file mode 100644
index 0000000000..71691b1725
--- /dev/null
+++ b/resources/themes/cura/icons/view_layer.svg
@@ -0,0 +1,3378 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/view_normal.svg b/resources/themes/cura/icons/view_normal.svg
new file mode 100644
index 0000000000..daef253d4a
--- /dev/null
+++ b/resources/themes/cura/icons/view_normal.svg
@@ -0,0 +1,3373 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/view_xray.svg b/resources/themes/cura/icons/view_xray.svg
new file mode 100644
index 0000000000..2fcfa03020
--- /dev/null
+++ b/resources/themes/cura/icons/view_xray.svg
@@ -0,0 +1,3376 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/icons/viewmode.svg b/resources/themes/cura/icons/viewmode.svg
new file mode 100644
index 0000000000..b015d87df7
--- /dev/null
+++ b/resources/themes/cura/icons/viewmode.svg
@@ -0,0 +1,3384 @@
+
+
+
+
+
+
+
+
+
+
+]>
+
diff --git a/resources/themes/cura/images/logo.svg b/resources/themes/cura/images/logo.svg
new file mode 100644
index 0000000000..ad76518991
--- /dev/null
+++ b/resources/themes/cura/images/logo.svg
@@ -0,0 +1,83 @@
+
+
+
+
\ No newline at end of file
diff --git a/resources/themes/cura/styles.qml b/resources/themes/cura/styles.qml
new file mode 100644
index 0000000000..ef4ab8936e
--- /dev/null
+++ b/resources/themes/cura/styles.qml
@@ -0,0 +1,243 @@
+import QtQuick 2.1
+import QtQuick.Controls 1.1
+import QtQuick.Controls.Styles 1.1
+
+import UM 1.0 as UM
+
+QtObject {
+ property Component sidebar_header_button: Component {
+ ButtonStyle {
+ background: Item {
+ Label {
+ anchors.right: parent.right;
+ anchors.top: parent.top;
+
+ text: "▼";
+
+ property bool down: control.pressed || (control.checkable && control.checked);
+ color: down ? UM.Theme.colors.text_pressed : control.hovered ? UM.Theme.colors.text_hover : UM.Theme.colors.text;
+ }
+ }
+
+ label: Label {
+ property bool down: control.pressed || (control.checkable && control.checked);
+
+ font: UM.Theme.fonts.sidebar_header;
+ color: down ? UM.Theme.colors.text_pressed : control.hovered ? UM.Theme.colors.text_hover : UM.Theme.colors.text;
+
+ text: control.text;
+
+ elide: Text.ElideRight;
+ }
+ }
+ }
+
+ property Component tool_button: Component {
+ ButtonStyle {
+ background: UM.AngledCornerRectangle {
+ property bool down: control.pressed || (control.checkable && control.checked);
+
+ implicitWidth: UM.Theme.sizes.button.width;
+ implicitHeight: UM.Theme.sizes.button.height;
+ color: {
+ if(!control.enabled) {
+ return UM.Theme.colors.button_disabled;
+ } else if(control.checkable && control.checked && control.hovered) {
+ return UM.Theme.colors.button_active_hover;
+ } else if(control.pressed || (control.checkable && control.checked)) {
+ return UM.Theme.colors.button_active;
+ } else if(control.hovered) {
+ return UM.Theme.colors.button_hover;
+ } else {
+ return UM.Theme.colors.button;
+ }
+ }
+ Behavior on color { ColorAnimation { duration: 50; } }
+ cornerSize: UM.Theme.sizes.default_margin.width;
+
+ Rectangle {
+ anchors.bottom: parent.top;
+
+ width: parent.width;
+ height: control.hovered ? label.height : 0;
+ Behavior on height { NumberAnimation { duration: 75; } }
+
+ opacity: control.hovered ? 1.0 : 0.0;
+ Behavior on opacity { NumberAnimation { duration: 75; } }
+
+ Label {
+ id: label
+ anchors.horizontalCenter: parent.horizontalCenter;
+ text: control.text;
+ font: UM.Theme.fonts.button_tooltip;
+ }
+ }
+ }
+
+ label: Item {
+ Image {
+ anchors.centerIn: parent;
+
+ source: control.iconSource;
+ width: UM.Theme.sizes.button_icon.width;
+ height: UM.Theme.sizes.button_icon.height;
+
+ sourceSize: UM.Theme.sizes.button_icon;
+ }
+ }
+ }
+ }
+
+ property Component sidebar_category: Component {
+ ButtonStyle {
+ background: UM.AngledCornerRectangle {
+ implicitHeight: UM.Theme.sizes.section.height;
+ color: {
+ if(control.color) {
+ return control.color;
+ } else if(!control.enabled) {
+ return UM.Theme.colors.setting_category_disabled;
+ } else if(control.hovered && control.checkable && control.checked) {
+ return UM.Theme.colors.setting_category_active_hover;
+ } else if(control.pressed || (control.checkable && control.checked)) {
+ return UM.Theme.colors.setting_category_active;
+ } else if(control.hovered) {
+ return UM.Theme.colors.setting_category_hover;
+ } else {
+ return UM.Theme.colors.setting_category;
+ }
+ }
+ Behavior on color { ColorAnimation { duration: 50; } }
+ cornerSize: UM.Theme.sizes.default_margin.width;
+ }
+ label: Row {
+ anchors.fill: parent;
+ anchors.margins: UM.Theme.sizes.default_margin.width;
+ spacing: UM.Theme.sizes.default_margin.width;
+
+ Image {
+ anchors.verticalCenter: parent.verticalCenter;
+ source: control.iconSource;
+ }
+
+ Label {
+ anchors.verticalCenter: parent.verticalCenter;
+ text: control.text;
+ font: UM.Theme.fonts.setting_category;
+ color: UM.Theme.colors.setting_category_text;
+ }
+ }
+ }
+ }
+
+ property Component scrollview: Component {
+ ScrollViewStyle {
+ decrementControl: Item { }
+ incrementControl: Item { }
+
+ transientScrollBars: false
+
+ scrollBarBackground: UM.AngledCornerRectangle {
+ implicitWidth: UM.Theme.sizes.scrollbar.width;
+
+ cornerSize: UM.Theme.sizes.scrollbar.width;
+
+ color: UM.Theme.colors.scrollbar_background;
+ }
+
+ handle: UM.AngledCornerRectangle {
+ implicitWidth: UM.Theme.sizes.scrollbar.width;
+
+ cornerSize: UM.Theme.sizes.scrollbar.width;
+
+ color: styleData.pressed ? UM.Theme.colors.scrollbar_handle_down : styleData.hovered ? UM.Theme.colors.scrollbar_handle_hover : UM.Theme.colors.scrollbar_handle;
+ Behavior on color { ColorAnimation { duration: 50; } }
+ }
+ }
+ }
+
+ property variant setting_item: UM.SettingItemStyle {
+ labelFont: UM.Theme.fonts.default;
+ labelColor: UM.Theme.colors.setting_label;
+
+ spacing: UM.Theme.sizes.default_margin.width;
+ fixedHeight: UM.Theme.sizes.setting.height;
+
+ controlWidth: UM.Theme.sizes.setting_control.width;
+ controlRightMargin: UM.Theme.sizes.setting_control_margin.width;
+ controlBorderWidth: 1;
+ controlColor: UM.Theme.colors.setting_control;
+ controlHighlightColor: UM.Theme.colors.setting_control_highlight;
+ controlBorderColor: UM.Theme.colors.setting_control_border;
+ controlTextColor: UM.Theme.colors.setting_control_text;
+ controlFont: UM.Theme.fonts.default;
+
+ validationErrorColor: UM.Theme.colors.setting_validation_error;
+ validationWarningColor: UM.Theme.colors.setting_validation_warning;
+ validationOkColor: UM.Theme.colors.setting_validation_ok;
+
+ unitRightMargin: UM.Theme.sizes.setting_unit_margin.width;
+ unitColor: UM.Theme.colors.setting_unit;
+ unitFont: UM.Theme.fonts.default;
+ }
+
+ property Component checkbox: Component {
+ CheckBoxStyle {
+ background: Item { }
+ indicator: Rectangle {
+ implicitWidth: UM.Theme.sizes.checkbox.width;
+ implicitHeight: UM.Theme.sizes.checkbox.height;
+
+ color: control.hovered ? UM.Theme.colors.checkbox_hover : UM.Theme.colors.checkbox;
+ Behavior on color { ColorAnimation { duration: 50; } }
+
+ border.width: 1
+ border.color: UM.Theme.colors.checkbox_border;
+
+ Label {
+ anchors.centerIn: parent;
+ color: UM.Theme.colors.checkbox_mark;
+
+ text: "✓";
+
+ opacity: control.checked ? 1 : 0;
+ Behavior on opacity { NumberAnimation { duration: 100; } }
+ }
+ }
+ label: Label {
+ text: control.text;
+ color: UM.Theme.colors.checkbox_text;
+ font: UM.Theme.fonts.default;
+ }
+ }
+ }
+
+ property Component slider: Component {
+ SliderStyle {
+ groove: Rectangle {
+ implicitWidth: control.width;
+ implicitHeight: UM.Theme.sizes.slider_groove.height;
+
+ color: UM.Theme.colors.slider_groove;
+ border.width: 1;
+ border.color: UM.Theme.colors.slider_groove_border;
+
+ Rectangle {
+ anchors {
+ left: parent.left;
+ top: parent.top;
+ bottom: parent.bottom;
+ }
+ color: UM.Theme.colors.slider_groove_fill;
+ width: (control.value / (control.maximumValue - control.minimumValue)) * parent.width;
+ }
+ }
+ handle: Rectangle {
+ width: UM.Theme.sizes.slider_handle.width;
+ height: UM.Theme.sizes.slider_handle.height;
+ color: control.hovered ? UM.Theme.colors.slider_handle_hover : UM.Theme.colors.slider_handle;
+ Behavior on color { ColorAnimation { duration: 50; } }
+ }
+ }
+ }
+}
diff --git a/resources/themes/cura/theme.json b/resources/themes/cura/theme.json
new file mode 100644
index 0000000000..2ea7f138f6
--- /dev/null
+++ b/resources/themes/cura/theme.json
@@ -0,0 +1,149 @@
+{
+ "fonts": {
+ "large": {
+ "size": 1.5,
+ "bold": true,
+ "family": "Roboto"
+ },
+ "default": {
+ "size": 1,
+ "family": "Roboto"
+ },
+ "default_allcaps": {
+ "size": 1,
+ "capitalize": true,
+ "family": "Roboto"
+ },
+ "small": {
+ "size": 0.75,
+ "family": "Roboto"
+ },
+ "tiny": {
+ "size": 0.5,
+ "family": "Roboto"
+ },
+ "sidebar_header": {
+ "size": 0.75,
+ "capitalize": true,
+ "family": "Roboto"
+ },
+ "timeslider_time": {
+ "size": 1.0,
+ "bold": true,
+ "family": "Roboto"
+ },
+ "button_tooltip": {
+ "size": 0.75,
+ "capitalize": true,
+ "family": "Roboto"
+ },
+ "setting_category": {
+ "size": 1.5,
+ "family": "Roboto"
+ }
+ },
+
+ "colors": {
+ "primary": [12, 169, 227, 255],
+ "primary_hover": [34, 150, 190, 255],
+ "primary_text": [255, 255, 255, 255],
+ "border": [205, 202, 201, 255],
+ "secondary": [205, 202, 201, 255],
+
+ "text": [174, 174, 174, 255],
+ "text_inactive": [205, 202, 201, 255],
+ "text_hover": [35, 35, 35, 255],
+ "text_pressed": [12, 169, 227, 255],
+
+ "button": [205, 202, 201, 255],
+ "button_hover": [174, 174, 174, 255],
+ "button_active": [12, 169, 227, 255],
+ "button_active_hover": [34, 150, 190, 255],
+ "button_text": [255, 255, 255, 255],
+ "button_disabled": [245, 245, 245, 255],
+
+ "scrollbar_background": [245, 245, 245, 255],
+ "scrollbar_handle": [205, 202, 201, 255],
+ "scrollbar_handle_hover": [174, 174, 174, 255],
+ "scrollbar_handle_down": [12, 159, 227, 255],
+
+ "setting_category": [205, 202, 201, 255],
+ "setting_category_disabled": [245, 245, 245, 255],
+ "setting_category_hover": [174, 174, 174, 255],
+ "setting_category_active": [12, 169, 227, 255],
+ "setting_category_active_hover": [34, 150, 190, 255],
+ "setting_category_text": [255, 255, 255, 255],
+
+ "setting_label": [174, 174, 174, 255],
+ "setting_control": [255, 255, 255, 255],
+ "setting_control_highlight": [245, 245, 245, 255],
+ "setting_control_border": [174, 174, 174, 255],
+ "setting_control_text": [35, 35, 35, 255],
+ "setting_control_hover": [35, 35, 35, 255],
+ "setting_unit": [174, 174, 174, 255],
+ "setting_validation_error": [255, 57, 14, 255],
+ "setting_validation_warning": [255, 186, 15, 255],
+ "setting_validation_ok": [255, 255, 255, 255],
+
+ "slider_groove": [245, 245, 245, 255],
+ "slider_groove_border": [205, 202, 201, 255],
+ "slider_groove_fill": [205, 202, 201, 255],
+ "slider_handle": [12, 169, 227, 255],
+ "slider_handle_hover": [34, 150, 190, 255],
+
+ "checkbox": [255, 255, 255, 255],
+ "checkbox_hover": [245, 245, 245, 255],
+ "checkbox_border": [174, 174, 174, 255],
+ "checkbox_mark": [35, 35, 35, 255],
+ "checkbox_text": [174, 174, 174, 255],
+
+ "tooltip": [255, 225, 146, 255],
+
+ "save_button": [255, 255, 255, 255],
+ "save_button_border": [205, 202, 201, 255],
+ "save_button_inactive": [205, 202, 201, 255],
+ "save_button_active": [12, 159, 227, 255],
+ "save_button_active_hover": [34, 150, 190, 255],
+ "save_button_text": [35, 35, 35, 255],
+
+ "message": [205, 202, 201, 255],
+ "message_text": [35, 35, 35, 255]
+ },
+
+ "sizes": {
+ "window_margin": [2.0, 2.0],
+ "default_margin": [1.0, 1.0],
+ "panel": [22.0, 10.0],
+ "logo": [9.5, 2.0],
+ "toolbar_button": [2.0, 2.0],
+ "toolbar_spacing": [1.0, 1.0],
+
+ "section": [22.0, 3.0],
+ "section_icon": [2.14, 2.14],
+ "section_text_margin": [0.33, 0.33],
+
+ "setting": [21.0, 2.0],
+ "setting_control": [6.0, 2.0],
+ "setting_control_margin": [3.0, 3.0],
+ "setting_unit_margin": [0.5, 0.5],
+
+ "button": [4.25, 4.25],
+ "button_icon": [3.57, 3.57],
+
+ "scrollbar": [0.5, 0.5],
+
+ "slider_groove": [0.5, 0.5],
+ "slider_handle": [1.5, 1.5],
+
+ "checkbox": [1.5, 1.5],
+
+ "tooltip": [20.0, 10.0],
+ "tooltip_margins": [1.0, 1.0],
+
+ "save_button_border": [0.06, 0.06],
+ "save_button_label_margin": [0.5, 0.5],
+
+ "message": [30.0, 5.0],
+ "message_close": [1.25, 1.25]
+ }
+}