From 20067a41ee30c4082346106125ca1a15d7168ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=97=8D+85CD?= <50108258+kwaa@users.noreply.github.com> Date: Thu, 14 Dec 2023 13:07:05 +0800 Subject: [PATCH] refactor: mark style --- uno.config.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/uno.config.ts b/uno.config.ts index 51d88cb..24c8b06 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -11,11 +11,11 @@ export default { 'text-wrap': 'balance', }, 'p': { - color: 'var(--md-sys-color-on-surface-variant)', + 'color': 'var(--md-sys-color-on-surface-variant)', }, 'a': { 'text-decoration': 'none', - color: 'var(--md-sys-color-on-surface)', + 'color': 'var(--md-sys-color-on-surface)', }, // 'a:has(span[data-rehype-pretty-code-figure])': { // 'text-decoration': 'none', @@ -28,6 +28,10 @@ export default { // 'text-decoration': // 'underline var(--md-sys-color-on-primary-container) 2px !important', // }, + 'mark,mark *': { + 'background-color': 'var(--md-sys-color-primary)', + 'color': 'var(--md-sys-color-on-primary)', + }, 'pre': { 'padding': '1.25rem 0', },