Skip to content

Commit

Permalink
refactor: mark style
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Dec 14, 2023
1 parent 255b1cd commit 20067a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions uno.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
},
Expand Down

0 comments on commit 20067a4

Please sign in to comment.