Skip to content

Commit f183a2e

Browse files
jaboehrischwzr
authored andcommitted
Borders and code block are now dependent on light/dark mode
1 parent f066c42 commit f183a2e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

docs/src/.vuepress/components/AllowListGenerator.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function downloadJson() {
206206
.thumbprint-row input {
207207
width: 100%;
208208
padding: 0.5rem;
209-
border: 1px solid var(--border-color, #ddd);
209+
border: 1px solid var(--vp-c-border, #ddd);
210210
border-radius: 4px;
211211
font-size: 0.9rem;
212212
box-sizing: border-box;
@@ -263,7 +263,7 @@ function downloadJson() {
263263
.member-card {
264264
margin-bottom: 1.5rem;
265265
padding: 1rem;
266-
border: 1px solid var(--border-color, #ddd);
266+
border: 1px solid var(--vp-c-border, #ddd);
267267
border-radius: 6px;
268268
}
269269
@@ -358,6 +358,7 @@ function downloadJson() {
358358
.json-output {
359359
padding: 1rem;
360360
border-radius: 6px;
361+
border: 1px solid var(--vp-c-border);
361362
overflow-x: auto;
362363
font-size: 0.8rem;
363364
max-height: 600px;
@@ -374,13 +375,11 @@ function downloadJson() {
374375
display: block;
375376
margin-top: 0.25rem;
376377
font-size: 0.8rem;
377-
color: var(--text-color-lighter, #888);
378378
}
379379
380380
.field-hint code {
381381
font-size: 0.8rem;
382382
padding: 0.1rem 0.3rem;
383-
background: var(--bg-color-secondary, #eee);
384383
border-radius: 3px;
385384
}
386385
</style>

0 commit comments

Comments
 (0)