@@ -456,20 +456,20 @@ function cardString(template, components) {
456 mascotCode = kMascotImageCode.arg(mascotAnchors).arg(mascotImageVisible);
456 mascotCode = kMascotImageCode.arg(mascotAnchors).arg(mascotImageVisible);
459− var summaryColorWithBackground = 'backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white")';
459+ var summaryColorWithBackground = 'backgroundLoader.active && backgroundLoader.item && root.scopeStyle ? root.scopeStyle.getTextColor(backgroundLoader.item.luminance) : (backgroundLoader.item && backgroundLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white")';
461 var hasTitleContainer = hasTitle && (hasEmblem || (hasMascot && (hasSubtitle || hasAttributes)));
461 var hasTitleContainer = hasTitle && (hasEmblem || (hasMascot && (hasSubtitle || hasAttributes)));
462 var titleSubtitleCode = '';
462 var titleSubtitleCode = '';
463 if (hasTitle) {
463 if (hasTitle) {
464 var titleColor;
464 var titleColor;
465 if (headerAsOverlay) {
465 if (headerAsOverlay) {
466− titleColor = 'root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? Theme.palette.normal.baseText : "white")';
466+ titleColor = 'root.scopeStyle && overlayLoader.item ? root.scopeStyle.getTextColor(overlayLoader.item.luminance) : (overlayLoader.item && overlayLoader.item.luminance > 0.7 ? theme.palette.normal.baseText : "white")';
467 } else if (hasSummary) {
467 } else if (hasSummary) {
468 titleColor = 'summary.color';
468 titleColor = 'summary.color';
469 } else if (hasBackground) {
469 } else if (hasBackground) {
470 titleColor = summaryColorWithBackground;
470 titleColor = summaryColorWithBackground;
472− titleColor = 'root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText';
472+ titleColor = 'root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText';
475 var titleAnchors;
475 var titleAnchors;
@@ -623,7 +623,7 @@ function cardString(template, components) {
623 if (hasBackground) {
623 if (hasBackground) {
624 summaryColor = summaryColorWithBackground;
624 summaryColor = summaryColorWithBackground;
626− summaryColor = 'root.scopeStyle ? root.scopeStyle.foreground : Theme.palette.normal.baseText';
626+ summaryColor = 'root.scopeStyle ? root.scopeStyle.foreground : theme.palette.normal.baseText';
629 var summaryTopMargin = (hasMascot || hasSubtitle || hasAttributes ? 'anchors.margins' : '0');
629 var summaryTopMargin = (hasMascot || hasSubtitle || hasAttributes ? 'anchors.margins' : '0');
@@ -672,7 +672,7 @@ function cardString(template, components) {
673function createCardComponent(parent, template, components) {
673function createCardComponent(parent, template, components) {
674 var imports = 'import QtQuick 2.2; \n\
674 var imports = 'import QtQuick 2.2; \n\
675− import Ubuntu.Components 1.1; \n\
675+ import Ubuntu.Components 1.3; \n\
676 import Ubuntu.Settings.Components 0.1; \n\
676 import Ubuntu.Settings.Components 0.1; \n\
677 import Dash 0.1;\n\
677 import Dash 0.1;\n\
678 import Utils 0.1;\n';
678 import Utils 0.1;\n';