mirror of
https://github.com/directus/directus.git
synced 2026-01-30 18:18:10 -05:00
update selection styling to use css variable (#10437)
This commit is contained in:
@@ -23,6 +23,9 @@ export default function getEditorStyles(font: 'sans-serif' | 'serif' | 'monospac
|
||||
url(${merriweatherRegular}) format('woff');
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: ${cssVar('--background-normal-alt')};
|
||||
}
|
||||
body {
|
||||
color: ${cssVar('--foreground-normal')};
|
||||
background-color: ${cssVar('--background-input')};
|
||||
|
||||
@@ -108,7 +108,7 @@ strong {
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: #e1f0fa;
|
||||
background: var('--background-normal-alt');
|
||||
}
|
||||
|
||||
dl > div {
|
||||
|
||||
Reference in New Issue
Block a user