summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkCodeInline.vue
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2024-02-06 15:03:07 +0900
committerGitHub <noreply@github.com>2024-02-06 15:03:07 +0900
commit16eccad49271b81282cdbd482d29e7a8bb048f4c (patch)
tree96f0b6f94f106de95ff8cb9af29b39b53fdeaece /packages/frontend/src/components/MkCodeInline.vue
parent2024.2.0-beta.10 (diff)
downloadsharkey-16eccad49271b81282cdbd482d29e7a8bb048f4c.tar.gz
sharkey-16eccad49271b81282cdbd482d29e7a8bb048f4c.tar.bz2
sharkey-16eccad49271b81282cdbd482d29e7a8bb048f4c.zip
enhance(frontend): シンタックスハイライトにテーマを適用できるように (#13175)
* enhance(frontend): シンタックスハイライトにテーマを適用できるように * Update Changelog * こっちも * テーマの値がディープマージされるように * 常にテーマ設定に準じるように * テーマ更新時に新しいshikiテーマを読み込むように
Diffstat (limited to 'packages/frontend/src/components/MkCodeInline.vue')
-rw-r--r--packages/frontend/src/components/MkCodeInline.vue3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkCodeInline.vue b/packages/frontend/src/components/MkCodeInline.vue
index 5340c1fd5f..6a9d97ab5a 100644
--- a/packages/frontend/src/components/MkCodeInline.vue
+++ b/packages/frontend/src/components/MkCodeInline.vue
@@ -18,8 +18,7 @@ const props = defineProps<{
display: inline-block;
font-family: Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace;
overflow-wrap: anywhere;
- color: #D4D4D4;
- background: #1E1E1E;
+ background: var(--bg);
padding: .1em;
border-radius: .3em;
}