change selection color to accent color

This commit is contained in:
ammarahm-ed
2021-12-01 19:44:04 +05:00
parent ad5c3882a4
commit fd272c1372

View File

@@ -222,6 +222,12 @@ function setTheme() {
background: none !important;
border-bottom: 1px solid ${pageTheme.colors.nav} !important;
}
::selection {
color: white !important;
background: ${pageTheme.colors.accent} !important;
}
`;
@@ -260,6 +266,13 @@ function setTheme() {
.mce-content-body [data-mce-selected="inline-boundary"] {
background-color: ${pageTheme.colors.shade} !important;
}
::selection {
color: white !important;
background: ${pageTheme.colors.accent} !important;
}
.mce-content-body a[data-mce-selected] {
box-shadow: none !important;
}