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 {
background-color: var(--p-highlight-bg);
color: var(--p-highlight-text-color);
background-color: var(--p-dark-highlight-bg, var(--p-highlight-bg));
color: var(--p-dark-highlight-text-color, var(--p-highlight-text-color));
}
h1, h2, h3, h4, h5, h6 {

View File

@ -114,7 +114,7 @@ export default {
950: '{zinc.950}'
},
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)'
},
hover: {
@ -142,10 +142,6 @@ export default {
colorInverse: 'var(--p-dark-surface-900, var(--p-surface-0))',
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',
mask: {
bg: 'rgba(0,0,0,0.4)'