fix: foreground, background styles
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div
|
<div
|
||||||
class="sticky top-0 z-10 flex flex-shrink-0 p-4 space-x-2 overflow-x-auto bg-primary hide-scrollbar"
|
class="sticky top-0 z-10 flex flex-shrink-0 p-4 space-x-2 overflow-x-auto bg-primary hide-scrollbar"
|
||||||
>
|
>
|
||||||
<div class="flex flex-1">
|
<div class="flex flex-1 border border-divider rounded">
|
||||||
<div class="relative flex">
|
<div class="relative flex">
|
||||||
<label for="method">
|
<label for="method">
|
||||||
<tippy
|
<tippy
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
<span class="select-wrapper">
|
<span class="select-wrapper">
|
||||||
<input
|
<input
|
||||||
id="method"
|
id="method"
|
||||||
class="flex px-4 py-2 font-semibold border rounded-l cursor-pointer bg-primaryLight border-divider text-secondaryDark w-26 hover:border-dividerDark focus-visible:bg-transparent focus-visible:border-dividerDark"
|
class="flex px-4 py-2 transition font-semibold rounded-l cursor-pointer text-secondaryDark w-26 bg-primaryLight"
|
||||||
:value="newMethod"
|
:value="newMethod"
|
||||||
:readonly="!isCustomMethod"
|
:readonly="!isCustomMethod"
|
||||||
:placeholder="`${t('request.method')}`"
|
:placeholder="`${t('request.method')}`"
|
||||||
@@ -33,7 +33,9 @@
|
|||||||
</tippy>
|
</tippy>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-1 border rounded-r border-divider">
|
<div
|
||||||
|
class="flex flex-1 border-l border-divider transition rounded-r bg-primaryLight"
|
||||||
|
>
|
||||||
<SmartEnvInput
|
<SmartEnvInput
|
||||||
v-model="newEndpoint"
|
v-model="newEndpoint"
|
||||||
:placeholder="`${t('request.url')}`"
|
:placeholder="`${t('request.url')}`"
|
||||||
|
|||||||
@@ -155,7 +155,8 @@ export const inputTheme = EditorView.theme({
|
|||||||
".cm-content": {
|
".cm-content": {
|
||||||
caretColor: "var(--secondary-light-color)",
|
caretColor: "var(--secondary-light-color)",
|
||||||
fontFamily: "var(--font-sans)",
|
fontFamily: "var(--font-sans)",
|
||||||
backgroundColor: "var(--primary-color)",
|
color: "var(--secondary-dark-color)",
|
||||||
|
backgroundColor: "transparent",
|
||||||
borderRadius: "0.25rem",
|
borderRadius: "0.25rem",
|
||||||
},
|
},
|
||||||
".cm-cursor": {
|
".cm-cursor": {
|
||||||
|
|||||||
Reference in New Issue
Block a user