2021-07-12 09:48:25 -05:00
|
|
|
// The goal of this test is to ensure the color of the text is the one expected.
|
2022-10-10 10:59:51 -05:00
|
|
|
|
|
|
|
define-function: (
|
|
|
|
"check-result-color",
|
|
|
|
(result_kind, color, hover_color),
|
2023-01-06 08:18:51 -06:00
|
|
|
block {
|
|
|
|
assert-css: (".result-" + |result_kind| + " ." + |result_kind|, {"color": |color|}, ALL)
|
|
|
|
assert-css: (
|
2022-10-10 10:59:51 -05:00
|
|
|
".result-" + |result_kind|,
|
2023-01-06 08:18:51 -06:00
|
|
|
{"color": |entry_color|, "background-color": |background_color|},
|
|
|
|
)
|
|
|
|
move-cursor-to: ".result-" + |result_kind|
|
|
|
|
assert-css: (
|
|
|
|
".result-" + |result_kind| + ":hover",
|
|
|
|
{"color": |hover_entry_color|, "background-color": |hover_background_color|},
|
|
|
|
)
|
|
|
|
assert-css: (
|
|
|
|
".result-" + |result_kind| + ":hover ." + |result_kind|,
|
|
|
|
{"color": |hover_color|},
|
|
|
|
)
|
|
|
|
move-cursor-to: ".search-input"
|
|
|
|
focus: ".result-" + |result_kind|
|
|
|
|
assert-css: (
|
|
|
|
".result-" + |result_kind| + ":focus",
|
|
|
|
{"color": |hover_entry_color|, "background-color": |hover_background_color|},
|
|
|
|
)
|
|
|
|
assert-css: (
|
|
|
|
".result-" + |result_kind| + ":focus ." + |result_kind|,
|
|
|
|
{"color": |hover_color|},
|
|
|
|
)
|
|
|
|
},
|
2022-10-10 10:59:51 -05:00
|
|
|
)
|
|
|
|
|
2023-04-11 12:11:34 -05:00
|
|
|
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html?search=coo"
|
2021-07-12 09:48:25 -05:00
|
|
|
|
|
|
|
// This is needed so that the text color is computed.
|
|
|
|
show-text: true
|
|
|
|
|
|
|
|
// Ayu theme
|
2023-04-11 12:11:34 -05:00
|
|
|
set-local-storage: {
|
2021-12-12 11:28:58 -06:00
|
|
|
"rustdoc-theme": "ayu",
|
|
|
|
"rustdoc-use-system-theme": "false",
|
|
|
|
}
|
2021-07-12 09:48:25 -05:00
|
|
|
reload:
|
|
|
|
|
|
|
|
// Waiting for the search results to appear...
|
2022-12-22 16:52:34 -06:00
|
|
|
wait-for: "#search-tabs"
|
2022-12-22 04:38:59 -06:00
|
|
|
assert-css: (
|
2022-12-22 16:52:34 -06:00
|
|
|
"#search-tabs > button > .count",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#888"},
|
2022-12-22 04:38:59 -06:00
|
|
|
ALL,
|
|
|
|
)
|
2021-12-12 11:28:58 -06:00
|
|
|
assert-css: (
|
2022-11-04 15:19:33 -05:00
|
|
|
"//*[@class='desc'][text()='Just a normal struct.']",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#c5c5c5"},
|
2021-12-12 11:28:58 -06:00
|
|
|
)
|
|
|
|
assert-css: (
|
|
|
|
"//*[@class='result-name']/*[text()='test_docs::']",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#0096cf"},
|
2021-12-12 11:28:58 -06:00
|
|
|
)
|
2021-07-12 09:48:25 -05:00
|
|
|
|
2022-11-03 14:29:17 -05:00
|
|
|
// Checking the color of the bottom border.
|
|
|
|
assert-css: (
|
|
|
|
".search-results > a",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"border-bottom-color": "#aaa3"}
|
2022-11-03 14:29:17 -05:00
|
|
|
)
|
|
|
|
|
2022-09-27 13:23:00 -05:00
|
|
|
// Checking the color of "keyword" text.
|
2021-12-12 11:28:58 -06:00
|
|
|
assert-css: (
|
|
|
|
"//*[@class='result-name']//*[text()='(keyword)']",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#788797"},
|
2021-12-12 11:28:58 -06:00
|
|
|
)
|
2021-07-12 10:42:59 -05:00
|
|
|
|
2023-05-13 17:16:16 -05:00
|
|
|
store-value: (entry_color, "#0096cf") // color of the search entry
|
|
|
|
store-value: (hover_entry_color, "#fff") // color of the hovered/focused search entry
|
|
|
|
store-value: (background_color, "transparent") // background color
|
|
|
|
store-value: (hover_background_color, "#3c3c3c") // hover background color
|
2022-10-10 10:59:51 -05:00
|
|
|
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"keyword", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#39afd7", // color of item kind
|
|
|
|
"#39afd7", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"struct", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#ffa0a5", // color of item kind
|
|
|
|
"#ffa0a5", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"associatedtype", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#39afd7", // color of item kind
|
|
|
|
"#39afd7", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"tymethod", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#fdd687", // color of item kind
|
|
|
|
"#fdd687", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"method", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#fdd687", // color of item kind
|
|
|
|
"#fdd687", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"structfield", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#0096cf", // color of item kind
|
|
|
|
"#fff", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"macro", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#a37acc", // color of item kind
|
|
|
|
"#a37acc", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"fn", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#fdd687", // color of item kind
|
|
|
|
"#fdd687", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
2022-10-01 10:11:33 -05:00
|
|
|
)
|
2022-09-27 13:23:00 -05:00
|
|
|
|
2022-08-20 08:13:53 -05:00
|
|
|
// Checking the `<a>` container.
|
2022-10-01 10:11:33 -05:00
|
|
|
move-cursor-to: ".search-input"
|
|
|
|
focus: ".search-input" // To ensure the `<a>` container isnt focus or hover.
|
2022-08-20 08:13:53 -05:00
|
|
|
assert-css: (
|
|
|
|
"//*[@class='result-name']/*[text()='test_docs::']/ancestor::a",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#0096cf", "background-color": "transparent"},
|
2022-09-27 13:23:00 -05:00
|
|
|
ALL,
|
2022-08-20 08:13:53 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
// Checking color and background on hover.
|
2022-11-04 15:19:33 -05:00
|
|
|
move-cursor-to: "//*[@class='desc'][text()='Just a normal struct.']"
|
2022-08-20 08:13:53 -05:00
|
|
|
assert-css: (
|
|
|
|
"//*[@class='result-name']/*[text()='test_docs::']",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#fff"},
|
2022-08-20 08:13:53 -05:00
|
|
|
)
|
|
|
|
assert-css: (
|
|
|
|
"//*[@class='result-name']/*[text()='test_docs::']/ancestor::a",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#fff", "background-color": "rgb(60, 60, 60)"},
|
2022-08-20 08:13:53 -05:00
|
|
|
)
|
|
|
|
|
2021-07-12 09:48:25 -05:00
|
|
|
// Dark theme
|
2023-04-11 12:11:34 -05:00
|
|
|
set-local-storage: {
|
2021-12-12 11:28:58 -06:00
|
|
|
"rustdoc-theme": "dark",
|
|
|
|
"rustdoc-use-system-theme": "false",
|
|
|
|
}
|
2021-07-12 09:48:25 -05:00
|
|
|
reload:
|
|
|
|
|
|
|
|
// Waiting for the search results to appear...
|
2022-12-22 16:52:34 -06:00
|
|
|
wait-for: "#search-tabs"
|
2022-12-22 04:38:59 -06:00
|
|
|
assert-css: (
|
2022-12-22 16:52:34 -06:00
|
|
|
"#search-tabs > button > .count",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#888"},
|
2022-12-22 04:38:59 -06:00
|
|
|
ALL,
|
|
|
|
)
|
2021-12-12 11:28:58 -06:00
|
|
|
assert-css: (
|
2022-11-04 15:19:33 -05:00
|
|
|
"//*[@class='desc'][text()='Just a normal struct.']",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#ddd"},
|
2021-12-12 11:28:58 -06:00
|
|
|
)
|
|
|
|
assert-css: (
|
|
|
|
"//*[@class='result-name']/*[text()='test_docs::']",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#ddd"},
|
2021-12-12 11:28:58 -06:00
|
|
|
)
|
2021-07-12 09:48:25 -05:00
|
|
|
|
2022-11-03 14:29:17 -05:00
|
|
|
// Checking the color of the bottom border.
|
|
|
|
assert-css: (
|
|
|
|
".search-results > a",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"border-bottom-color": "#aaa3"}
|
2022-11-03 14:29:17 -05:00
|
|
|
)
|
|
|
|
|
2022-10-01 10:11:33 -05:00
|
|
|
// Checking the color for "keyword" text.
|
2021-12-12 11:28:58 -06:00
|
|
|
assert-css: (
|
|
|
|
"//*[@class='result-name']//*[text()='(keyword)']",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#ddd"},
|
2021-12-12 11:28:58 -06:00
|
|
|
)
|
2021-07-12 10:42:59 -05:00
|
|
|
|
2023-05-13 17:16:16 -05:00
|
|
|
store-value: (entry_color, "#ddd") // color of the search entry
|
|
|
|
store-value: (hover_entry_color, "#ddd") // color of the hovered/focused search entry
|
|
|
|
store-value: (background_color, "transparent") // background color
|
|
|
|
store-value: (hover_background_color, "#616161") // hover background color
|
2022-10-10 10:59:51 -05:00
|
|
|
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"keyword", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#d2991d", // color of item kind
|
|
|
|
"#d2991d", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"struct", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#2dbfb8", // color of item kind
|
|
|
|
"#2dbfb8", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"associatedtype", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#d2991d", // color of item kind
|
|
|
|
"#d2991d", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"tymethod", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#2bab63", // color of item kind
|
|
|
|
"#2bab63", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"method", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#2bab63", // color of item kind
|
|
|
|
"#2bab63", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"structfield", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#ddd", // color of item kind
|
|
|
|
"#ddd", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"macro", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#09bd00", // color of item kind
|
|
|
|
"#09bd00", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"fn", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#2bab63", // color of item kind
|
|
|
|
"#2bab63", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
2022-10-01 10:11:33 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
// Checking the `<a>` container.
|
|
|
|
move-cursor-to: ".search-input"
|
|
|
|
focus: ".search-input" // To ensure the `<a>` container isnt focus or hover.
|
2022-08-20 08:13:53 -05:00
|
|
|
assert-css: (
|
|
|
|
"//*[@class='result-name']/*[text()='test_docs::']/ancestor::a",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#ddd", "background-color": "transparent"},
|
2022-08-20 08:13:53 -05:00
|
|
|
)
|
|
|
|
|
2021-07-12 09:48:25 -05:00
|
|
|
// Light theme
|
2023-04-11 12:11:34 -05:00
|
|
|
set-local-storage: {"rustdoc-theme": "light", "rustdoc-use-system-theme": "false"}
|
2021-07-12 09:48:25 -05:00
|
|
|
reload:
|
|
|
|
|
|
|
|
// Waiting for the search results to appear...
|
2022-12-22 16:52:34 -06:00
|
|
|
wait-for: "#search-tabs"
|
2022-12-22 04:38:59 -06:00
|
|
|
assert-css: (
|
2022-12-22 16:52:34 -06:00
|
|
|
"#search-tabs > button > .count",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#888"},
|
2022-12-22 04:38:59 -06:00
|
|
|
ALL,
|
|
|
|
)
|
2021-12-12 11:28:58 -06:00
|
|
|
assert-css: (
|
2022-11-04 15:19:33 -05:00
|
|
|
"//*[@class='desc'][text()='Just a normal struct.']",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#000"},
|
2021-12-12 11:28:58 -06:00
|
|
|
)
|
|
|
|
assert-css: (
|
|
|
|
"//*[@class='result-name']/*[text()='test_docs::']",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#000"},
|
2021-12-12 11:28:58 -06:00
|
|
|
)
|
2021-07-12 10:42:59 -05:00
|
|
|
|
2022-11-03 14:29:17 -05:00
|
|
|
// Checking the color of the bottom border.
|
|
|
|
assert-css: (
|
|
|
|
".search-results > a",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"border-bottom-color": "#aaa3"}
|
2022-11-03 14:29:17 -05:00
|
|
|
)
|
|
|
|
|
2022-10-01 10:11:33 -05:00
|
|
|
// Checking the color for "keyword" text.
|
2021-12-12 11:28:58 -06:00
|
|
|
assert-css: (
|
|
|
|
"//*[@class='result-name']//*[text()='(keyword)']",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#000"},
|
2021-12-12 11:28:58 -06:00
|
|
|
)
|
2022-03-15 14:41:24 -05:00
|
|
|
|
2023-05-13 17:16:16 -05:00
|
|
|
store-value: (entry_color, "#000") // color of the search entry
|
|
|
|
store-value: (hover_entry_color, "#000") // color of the hovered/focused search entry
|
|
|
|
store-value: (background_color, "transparent") // background color
|
|
|
|
store-value: (hover_background_color, "#ccc") // hover background color
|
2022-10-10 10:59:51 -05:00
|
|
|
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"keyword", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#3873ad", // color of item kind
|
|
|
|
"#3873ad", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"struct", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#ad378a", // color of item kind
|
|
|
|
"#ad378a", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"associatedtype", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#3873ad", // color of item kind
|
|
|
|
"#3873ad", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"tymethod", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#ad7c37", // color of item kind
|
|
|
|
"#ad7c37", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"method", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#ad7c37", // color of item kind
|
|
|
|
"#ad7c37", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"structfield", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#000", // color of item kind
|
|
|
|
"#000", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"macro", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#068000", // color of item kind
|
|
|
|
"#068000", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
|
|
|
)
|
|
|
|
call-function: (
|
|
|
|
"check-result-color", (
|
|
|
|
"fn", // item kind
|
2023-05-13 17:16:16 -05:00
|
|
|
"#ad7c37", // color of item kind
|
|
|
|
"#ad7c37", // color of hovered/focused item kind
|
2022-10-10 10:59:51 -05:00
|
|
|
),
|
2022-10-01 10:11:33 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
// Checking the `<a>` container.
|
|
|
|
move-cursor-to: ".search-input"
|
|
|
|
focus: ".search-input" // To ensure the `<a>` container isnt focus or hover.
|
2022-08-20 08:13:53 -05:00
|
|
|
assert-css: (
|
|
|
|
"//*[@class='result-name']/*[text()='test_docs::']/ancestor::a",
|
2023-05-13 17:16:16 -05:00
|
|
|
{"color": "#000", "background-color": "transparent"},
|
2022-08-20 08:13:53 -05:00
|
|
|
)
|
|
|
|
|
2022-11-21 04:15:54 -06:00
|
|
|
// Check the alias.
|
2023-04-11 12:11:34 -05:00
|
|
|
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html"
|
2022-03-15 14:41:24 -05:00
|
|
|
// If the text isn't displayed, the browser doesn't compute color style correctly...
|
|
|
|
show-text: true
|
2022-11-21 04:15:54 -06:00
|
|
|
|
|
|
|
define-function: (
|
|
|
|
"check-alias",
|
|
|
|
(theme, alias, grey),
|
2023-01-06 08:18:51 -06:00
|
|
|
block {
|
2023-04-11 12:11:34 -05:00
|
|
|
set-local-storage: {"rustdoc-theme": |theme|, "rustdoc-use-system-theme": "false"}
|
2023-01-06 08:18:51 -06:00
|
|
|
reload:
|
|
|
|
write: (".search-input", "thisisanalias")
|
2022-11-21 04:15:54 -06:00
|
|
|
// To be SURE that the search will be run.
|
2023-01-06 08:18:51 -06:00
|
|
|
press-key: 'Enter'
|
2022-11-21 04:15:54 -06:00
|
|
|
// Waiting for the search results to appear...
|
2023-01-06 08:18:51 -06:00
|
|
|
wait-for: "#search-tabs"
|
2022-11-21 04:15:54 -06:00
|
|
|
// Checking that the colors for the alias element are the ones expected.
|
2023-01-06 08:18:51 -06:00
|
|
|
assert-css: (".result-name > .alias", {"color": |alias|})
|
|
|
|
assert-css: (".result-name > .alias > .grey", {"color": |grey|})
|
2022-11-21 04:15:54 -06:00
|
|
|
// Leave the search results to prevent reloading with an already filled search input.
|
2023-01-06 08:18:51 -06:00
|
|
|
press-key: "Escape"
|
|
|
|
},
|
2022-11-21 04:15:54 -06:00
|
|
|
)
|
|
|
|
|
|
|
|
call-function: ("check-alias", {
|
|
|
|
"theme": "ayu",
|
2023-05-13 17:16:16 -05:00
|
|
|
"alias": "#c5c5c5",
|
|
|
|
"grey": "#999",
|
2022-11-21 04:15:54 -06:00
|
|
|
})
|
|
|
|
call-function: ("check-alias", {
|
|
|
|
"theme": "dark",
|
2023-05-13 17:16:16 -05:00
|
|
|
"alias": "#fff",
|
|
|
|
"grey": "#ccc",
|
2022-11-21 04:15:54 -06:00
|
|
|
})
|
|
|
|
call-function: ("check-alias", {
|
|
|
|
"theme": "light",
|
2023-05-13 17:16:16 -05:00
|
|
|
"alias": "#000",
|
|
|
|
"grey": "#999",
|
2022-11-21 04:15:54 -06:00
|
|
|
})
|