Improve multiple styles for the drawer and code editor

This commit is contained in:
Andrew Kingston 2024-02-23 10:15:53 +00:00
parent 8320c50c96
commit 41b397c2f7
4 changed files with 10 additions and 4 deletions

View File

@ -39,6 +39,10 @@
.sidebar::-webkit-scrollbar {
display: none;
}
.main {
height: 100%;
overflow: hidden;
}
.padding .main {
padding: var(--spacing-xl);
}

View File

@ -321,7 +321,7 @@
top: 1px;
height: calc(100% - 2px);
width: 100%;
background: var(--spectrum-global-color-gray-75);
background: var(--spectrum-global-color-gray-100);
z-index: -2;
}
.code-editor :global(.cm-gutterElement) {
@ -343,7 +343,8 @@
z-index: -2;
}
.code-editor :global(.cm-selectionBackground) {
background-color: var(--spectrum-global-color-gray-300) !important;
background-color: var(--spectrum-global-color-blue-400) !important;
opacity: 0.4;
}
.code-editor :global(.cm-tooltip.cm-completionInfo) {

View File

@ -114,8 +114,7 @@ export const getDefaultTheme = opts => {
backgroundColor: "var(--spectrum-global-color-gray-200)",
},
"& .binding-wrap": {
color: "var(--spectrum-global-color-blue-700)",
fontFamily: "monospace",
color: "var(--spectrum-global-color-orange-600)",
},
},
{ dark }

View File

@ -258,6 +258,8 @@
<style>
.binding-side-panel {
border-left: var(--border-light);
height: 100%;
overflow: auto;
}
.search :global(input) {