UX: Various improvements to JSON Schema editor (#24543)

This commit makes a few improvements to the JSON Schema editor when using dark mode for the UI and fixes a small alignment issue with checkboxes.
This commit is contained in:
Osama Sayegh 2023-11-29 13:39:49 +03:00 committed by GitHub
parent 75efeb395e
commit 6e4648a2c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,6 +171,10 @@
.je-tab--top {
border: none;
padding: 0;
color: var(--primary);
background: var(
--secondary
) !important; // important is needed here to override inline styling on the element
}
}
@ -243,5 +247,21 @@
}
}
}
div[data-schematype="boolean"] {
label {
display: flex;
align-items: center;
input[type="checkbox"] {
margin-right: var(--space-1);
}
}
}
select option {
color: var(--primary);
background: var(--secondary);
}
}
}