@@ -67,7 +67,7 @@ Rectangle {
6767
6868 function test_foreground_data() {
6969 return [
70− { tag: "default", index: 0, foreground: "grey", luminance: 0.5020 },
70+ { tag: "default", index: 0, foreground: Theme.palette.normal.foreground, luminance: 0.5725 },
7171 { tag: "red on black", index: 1, foreground: "red", luminance: 0.2126 },
7272 { tag: "green on white", index: 2, foreground: "green", luminance: 0.3590 },
7373 { tag: "blue on darkgrey", index: 3, foreground: "blue", luminance: 0.0722 },
@@ -101,7 +101,7 @@ Rectangle {
101101
102102 function test_threshold_data() {
103103 return [
104− { tag: "default", index: 0, threshold: 0.7510 },
104+ { tag: "default", index: 0, threshold: 0.7863 },
105105 { tag: "red on black", index: 1, threshold: 0.1063 },
106106 { tag: "green on white", index: 2, threshold: 0.6795 },
107107 { tag: "blue on darkgrey", index: 3, threshold: 0.3675 },
@@ -130,7 +130,7 @@ Rectangle {
130130
131131 function test_dark_data() {
132132 return [
133− { tag: "default", index: 0, dark: "grey" },
133+ { tag: "default", index: 0, dark: Theme.palette.normal.baseText },
134134 { tag: "red on black", index: 1, dark: "black" },
135135 { tag: "green on white", index: 2, dark: "green" },
136136 { tag: "blue on darkgrey", index: 3, dark: "blue" },
@@ -157,7 +157,7 @@ Rectangle {
157157
158158 function test_headerForeground_data() {
159159 return [
160− { tag: "default", index: 0, headerForeground: "grey" },
160+ { tag: "default", index: 0, headerForeground: Theme.palette.normal.baseText },
161161 { tag: "black", index: 2, headerForeground: "black" },
162162 ];
163163 }