Fixed highlight bg

pull/5507/head
Cagatay Civici 2024-02-08 02:20:52 +03:00
parent 57867cf640
commit 136f5c4dbc
2 changed files with 3 additions and 7 deletions

View File

@ -25,8 +25,8 @@ a {
} }
::selection { ::selection {
background-color: var(--p-highlight-bg); background-color: var(--p-dark-highlight-bg, var(--p-highlight-bg));
color: var(--p-highlight-text-color); color: var(--p-dark-highlight-text-color, var(--p-highlight-text-color));
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {

View File

@ -114,7 +114,7 @@ export default {
950: '{zinc.950}' 950: '{zinc.950}'
}, },
highlight: { highlight: {
bg: 'color-mix(in srgb, {primary.50}, transparency %16)', bg: 'color-mix(in srgb, {primary.400}, transparent 84%)',
textColor: 'rgba(255,255,255,.87)' textColor: 'rgba(255,255,255,.87)'
}, },
hover: { hover: {
@ -142,10 +142,6 @@ export default {
colorInverse: 'var(--p-dark-surface-900, var(--p-surface-0))', colorInverse: 'var(--p-dark-surface-900, var(--p-surface-0))',
colorText: 'var(--p-primary-color-inverse)' colorText: 'var(--p-primary-color-inverse)'
}, },
highlight: {
bg: 'var(--p-dark-highlight-bg, var(--p-highlight-bg))',
textColor: 'var(--p-dark-highlight-text-color, var(--p-highlight-text-color))'
},
anchorGutter: '2px', anchorGutter: '2px',
mask: { mask: {
bg: 'rgba(0,0,0,0.4)' bg: 'rgba(0,0,0,0.4)'