Skip to content

Commit 1312220

Browse files
fix: tweak styling
1 parent 0df336f commit 1312220

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

website/src/catalog/Option.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ defineProps({
2424
transition: all 0.25s;
2525
}
2626
.highlight {
27-
border-color: currentColor;
27+
border-color: var(--vp-c-text-3);
2828
}
2929
</style>

website/src/catalog/RuleFilter.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,15 @@ input[type="checkbox"] {
121121
}
122122
.filter-option:hover {
123123
color: var(--vp-c-brand-1);
124+
border-color: currentColor;
124125
opacity: 1;
125126
}
126127
127128
input[type="checkbox"]:checked + code.option {
128129
opacity: 1;
130+
border-color: var(--vp-c-text-3);
131+
}
132+
input[type="checkbox"]:checked + code.option:hover {
129133
border-color: currentColor;
130134
}
131135

website/src/catalog/RuleItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ a > .VPBadge:hover {
145145
}
146146
.highlight-filter {
147147
color: var(--vp-c-text-2);
148-
border-color: currentColor;
148+
border-color: var(--vp-c-text-3);
149149
}
150150
.highlight-filter:hover {
151151
color: var(--vp-c-text-2);

0 commit comments

Comments
 (0)