@@ -67,7 +67,7 @@ Rectangle {
68 function test_foreground_data() {
68 function test_foreground_data() {
70− { tag: "default", index: 0, foreground: "grey", luminance: 0.5020 },
70+ { tag: "default", index: 0, foreground: Theme.palette.normal.foreground, luminance: 0.5725 },
71 { tag: "red on black", index: 1, foreground: "red", luminance: 0.2126 },
71 { tag: "red on black", index: 1, foreground: "red", luminance: 0.2126 },
72 { tag: "green on white", index: 2, foreground: "green", luminance: 0.3590 },
72 { tag: "green on white", index: 2, foreground: "green", luminance: 0.3590 },
73 { tag: "blue on darkgrey", index: 3, foreground: "blue", luminance: 0.0722 },
73 { tag: "blue on darkgrey", index: 3, foreground: "blue", luminance: 0.0722 },
@@ -101,7 +101,7 @@ Rectangle {
102 function test_threshold_data() {
102 function test_threshold_data() {
104− { tag: "default", index: 0, threshold: 0.7510 },
104+ { tag: "default", index: 0, threshold: 0.7863 },
105 { tag: "red on black", index: 1, threshold: 0.1063 },
105 { tag: "red on black", index: 1, threshold: 0.1063 },
106 { tag: "green on white", index: 2, threshold: 0.6795 },
106 { tag: "green on white", index: 2, threshold: 0.6795 },
107 { tag: "blue on darkgrey", index: 3, threshold: 0.3675 },
107 { tag: "blue on darkgrey", index: 3, threshold: 0.3675 },
@@ -130,7 +130,7 @@ Rectangle {
131 function test_dark_data() {
131 function test_dark_data() {
133− { tag: "default", index: 0, dark: "grey" },
133+ { tag: "default", index: 0, dark: Theme.palette.normal.baseText },
134 { tag: "red on black", index: 1, dark: "black" },
134 { tag: "red on black", index: 1, dark: "black" },
135 { tag: "green on white", index: 2, dark: "green" },
135 { tag: "green on white", index: 2, dark: "green" },
136 { tag: "blue on darkgrey", index: 3, dark: "blue" },
136 { tag: "blue on darkgrey", index: 3, dark: "blue" },
@@ -157,7 +157,7 @@ Rectangle {
158 function test_headerForeground_data() {
158 function test_headerForeground_data() {
160− { tag: "default", index: 0, headerForeground: "grey" },
160+ { tag: "default", index: 0, headerForeground: Theme.palette.normal.baseText },
161 { tag: "black", index: 2, headerForeground: "black" },
161 { tag: "black", index: 2, headerForeground: "black" },