Add CSS variable for borders

This commit is contained in:
2026-05-22 17:33:03 +02:00
parent 66483a3a6a
commit 6d95601399
4 changed files with 9 additions and 3 deletions
@@ -51,7 +51,7 @@ const colorSchemeIconMapper = {
<style scoped>
.color-scheme-button {
background: none;
border: 1.5px solid var(--dark-l-8);
border: 1.5px solid var(--border);
border-radius: 50%;
width: 36px;
height: 36px;
+1 -1
View File
@@ -54,7 +54,7 @@ const submitSearch = function () {
--padding-left: calc(var(--content-height) + var(--padding));
display: flex;
align-items: center;
border: 1.5px solid var(--light-d-3);
border: 1.5px solid var(--border);
box-shadow: 0 0px 32px rgba(69, 98, 190, 0.25);
border-radius: calc(var(--content-height) * 0.5 + var(--submit-button-padding-y) + var(--padding));
padding: var(--padding);
@@ -73,7 +73,7 @@ searchQueryModel.value = props.searchQuery;
display: flex;
justify-content: center;
flex-direction: column;
outline: 1px solid var(--light-d-2);
outline: 1px solid var(--border);
}
@media (max-width: 48rem) {
+6
View File
@@ -75,6 +75,8 @@ limitations under the License.
--dark-bg: var(--black-l-2);
--light-bg: var(--white);
--border: var(--white-d-3);
}
@media (prefers-color-scheme: dark) {
@@ -101,6 +103,8 @@ limitations under the License.
--dark-bg: var(--white);
--light-bg: oklch(0.18 0 0);
--border: var(--black-l-6);
}
}
@@ -127,4 +131,6 @@ limitations under the License.
--dark-bg: var(--white);
--light-bg: oklch(0.18 0 0);
--border: var(--black-l-6);
}