refactor(ui): minor font tweaks

This commit is contained in:
liyasthomas
2021-06-21 16:31:40 +05:30
parent 6ddff58ba5
commit 41eb4f8395
17 changed files with 23 additions and 31 deletions

View File

@@ -21,7 +21,7 @@
</div>
<div
v-if="gqlField.description"
class="mt-2 text-secondaryLight field-desc"
class="py-2 text-sm text-secondaryLight field-desc"
>
{{ gqlField.description }}
</div>
@@ -53,7 +53,7 @@
/>
<div
v-if="field.description"
class="mt-2 text-secondaryLight field-desc"
class="py-2 text-sm text-secondaryLight field-desc"
>
{{ field.description }}
</div>

View File

@@ -4,11 +4,9 @@
class="font-bold type-title"
:class="{ 'type-highlighted': isHighlighted }"
>
<span v-if="isInput" class="font-normal text-accent">input </span>
<span v-else-if="isInterface" class="font-normal text-accent"
>interface
</span>
<span v-else-if="isEnum" class="font-normal text-accent">enum </span>
<span v-if="isInput" class="text-accent">input </span>
<span v-else-if="isInterface" class="text-accent">interface </span>
<span v-else-if="isEnum" class="text-accent">enum </span>
{{ gqlType.name }}
</div>
<div v-if="gqlType.description" class="mt-2 text-secondaryLight type-desc">

View File

@@ -1,7 +1,7 @@
<template>
<span
:class="{ 'cursor-pointer': !isScalar }"
class="font-mono font-normal text-accent"
class="font-mono text-sm text-accent"
@click="jumpToType"
>
{{ typeString }}

View File

@@ -60,7 +60,7 @@
:options="{
maxLines: '10',
minLines: '10',
fontSize: '16px',
fontSize: '15px',
autoScrollEditorIntoView: true,
readOnly: true,
showPrintMargin: false,

View File

@@ -45,7 +45,7 @@
:options="{
maxLines: '16',
minLines: '8',
fontSize: '16px',
fontSize: '15px',
autoScrollEditorIntoView: true,
showPrintMargin: false,
useWorker: false,

View File

@@ -57,7 +57,7 @@
:options="{
maxLines: responseBodyMaxLines,
minLines: '16',
fontSize: '16px',
fontSize: '15px',
autoScrollEditorIntoView: true,
readOnly: true,
showPrintMargin: false,

View File

@@ -46,7 +46,7 @@
:options="{
maxLines: responseBodyMaxLines,
minLines: '16',
fontSize: '16px',
fontSize: '15px',
autoScrollEditorIntoView: true,
readOnly: true,
showPrintMargin: false,

View File

@@ -45,7 +45,7 @@
:options="{
maxLines: responseBodyMaxLines,
minLines: '16',
fontSize: '16px',
fontSize: '15px',
autoScrollEditorIntoView: true,
readOnly: true,
showPrintMargin: false,

View File

@@ -45,7 +45,7 @@
:options="{
maxLines: responseBodyMaxLines,
minLines: '16',
fontSize: '16px',
fontSize: '15px',
autoScrollEditorIntoView: true,
readOnly: true,
showPrintMargin: false,

View File

@@ -52,7 +52,6 @@ export default {
&,
span {
@apply font-mono;
@apply font-normal;
@apply select-text;
}

View File

@@ -214,7 +214,6 @@ export default {
@apply px-4;
@apply text-sm;
@apply font-mono;
@apply font-normal;
&:last-child {
border-radius: 0 0 8px 8px;

View File

@@ -18,7 +18,6 @@
@apply bg-primaryDark;
@apply text-secondary;
@apply font-mono;
@apply font-normal;
@apply transition;
@apply ease-in-out;
@apply duration-150;