fix: improve text selection color

This commit is contained in:
Ushie 2022-11-27 01:43:31 +03:00 committed by GitHub
parent b135442a43
commit d4279a8038
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 deletions

View File

@ -35,6 +35,7 @@ body {
:root {
--white: #fff;
--accent-low-opacity: #9ed7ff50;
--accent-color: #9fd5ff;
--accent-color-two: hsl(207, 65%, 90%);
--bg-color: hsl(240, 2%, 11%);
@ -49,7 +50,8 @@ body {
}
::selection {
background: var(--grey-six);
background-color: var(--accent-low-opacity);
color: var(--accent-color);
}
/*-----headings-----*/

View File

@ -4,7 +4,7 @@
</script>
<div>
<img src="../icons/search.svg" />
<img src="../icons/search.svg" alt="Search" />
<input type="text" placeholder={title} bind:value={searchTerm} />
</div>
@ -33,9 +33,4 @@
input:focus {
outline: 1px solid var(--accent-color);
}
h3 {
font-size: 0.9rem;
color: var(--grey-five);
}
</style>