Skip to content

Commit

Permalink
style: fix blockstyle style, closes date-fns#217
Browse files Browse the repository at this point in the history
  • Loading branch information
Edgaraszs committed Jan 17, 2024
1 parent 677e77b commit dac86a3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/ui/components/RichText/styles.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ globalStyle(`${content} blockquote`, {
borderLeft: '3px solid #b9a2b2',
background: '#35001d',
padding: '0.5rem 1rem',
color: '#ffffff',

'@media': {
'(prefers-color-scheme: dark)': {
Expand All @@ -219,6 +220,24 @@ globalStyle(`${content} blockquote`, {
},
})

globalStyle(`${content} blockquote p`, {
color: '#cbc0c7',
})

globalStyle(`${content} blockquote a`, {
color: '#cbc0c7',

'@media': {
'(prefers-color-scheme: dark)': {
color: '#d397b6',
},
},
})

globalStyle(`${content} blockquote code`, {
background: '#35021b',
})

globalStyle(`${content} mark`, {
backgroundColor: '#fffe25',
})

0 comments on commit dac86a3

Please sign in to comment.