From 76825c7b661f4526856627bf1e34f024088f3fda Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Mon, 10 Apr 2023 03:26:18 +0800 Subject: Fix ayu theme markup unreadable bg (#6538) * Fix ayu theme markup unreadable bg * Add modifiers for markup--- runtime/themes/ayu_dark.toml | 5 ++++- runtime/themes/ayu_light.toml | 7 +++++-- runtime/themes/ayu_mirage.toml | 5 ++++- 3 files changed, 13 insertions(+), 4 deletions(-) (limited to 'runtime') diff --git a/runtime/themes/ayu_dark.toml b/runtime/themes/ayu_dark.toml index 211d423f..1e1aab91 100644 --- a/runtime/themes/ayu_dark.toml +++ b/runtime/themes/ayu_dark.toml @@ -22,7 +22,10 @@ "namespace" = "blue" "markup.heading" = "orange" "markup.list" = "yellow" -"markup.raw.block" = { bg = "gray", fg = "orange" } +"markup.bold" = { fg = "orange", modifiers = ["bold"] } +"markup.italic" = { fg = "orange", modifiers = ["italic"] } +"markup.strikethrough" = { modifiers = ["crossed_out"] } +"markup.raw.block" = "orange" "markup.link.url" = "blue" "markup.link.text" = "yellow" "markup.link.label" = "green" diff --git a/runtime/themes/ayu_light.toml b/runtime/themes/ayu_light.toml index 4b0ba1db..d4cb56de 100644 --- a/runtime/themes/ayu_light.toml +++ b/runtime/themes/ayu_light.toml @@ -22,8 +22,11 @@ "namespace" = "blue" "markup.heading" = "orange" "markup.list" = "yellow" -"markup.raw.block" = { bg = "gray", fg = "orange" } -"markup.link.url" = "blue" +"markup.bold" = { fg = "orange", modifiers = ["bold"] } +"markup.italic" = { fg = "orange", modifiers = ["italic"] } +"markup.strikethrough" = { modifiers = ["crossed_out"] } +"markup.raw.block" = "orange" +"markup.link.url" = { fg = "blue", modifiers = ["underlined"] } "markup.link.text" = "yellow" "markup.link.label" = "green" "markup.quote" = "yellow" diff --git a/runtime/themes/ayu_mirage.toml b/runtime/themes/ayu_mirage.toml index 5afe0acd..b27efc1c 100644 --- a/runtime/themes/ayu_mirage.toml +++ b/runtime/themes/ayu_mirage.toml @@ -22,7 +22,10 @@ "namespace" = "blue" "markup.heading" = "orange" "markup.list" = "yellow" -"markup.raw.block" = { bg = "gray", fg = "orange" } +"markup.bold" = { fg = "orange", modifiers = ["bold"] } +"markup.italic" = { fg = "orange", modifiers = ["italic"] } +"markup.strikethrough" = { modifiers = ["crossed_out"] } +"markup.raw.block" = "orange" "markup.link.url" = "blue" "markup.link.text" = "yellow" "markup.link.label" = "green" -- cgit v1.2.3-70-g09d2