mirror of
https://github.com/JoshiCodes/knock.git
synced 2026-12-04 15:29:40 +01:00
Design pass: fewer boxes, one emphasis signal, type glyphs in the JSON form
- Welcome screen: the mark as a peephole and actions as plain lines instead of a card grid and key chips - Title bar: search as a small button, documentation (F1) next to it; help entries in the command palette - The vertical cyan rule marks what needs attention (redirect URI, inactive environment, banners) instead of nested framed boxes - JSON form: fixed key column so types and values line up at any depth, type glyphs in the code view's colours, row actions float on hover - Crisper corners; Send carries the mark; Saved instead of a disabled Save button - Open tabs are restored after a restart again
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
{#if tab.diskChanged}
|
||||
<div class="flex shrink-0 items-center gap-3 border-b border-line bg-post/10 px-3 py-1.5 text-[12px]">
|
||||
<div class="flex shrink-0 items-center gap-3 border-b border-l-2 border-b-line border-l-post bg-post/8 px-3 py-1.5 text-[12px]">
|
||||
<Icon name="alert" size={13} class="text-post" />
|
||||
<span class="flex-1 text-fg">This file changed on disk while you had unsaved edits.</span>
|
||||
<button class="text-accent hover:underline" onclick={reloadFromDisk}>Load the disk version</button>
|
||||
@@ -53,7 +53,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
{#if tab.draft?.settings && !tab.draft.settings.verify_tls}
|
||||
<div class="flex shrink-0 items-center gap-2 border-b border-line bg-delete/10 px-3 py-1 text-[12px] text-delete">
|
||||
<div class="flex shrink-0 items-center gap-2 border-b border-l-2 border-b-line border-l-delete bg-delete/8 px-3 py-1 text-[12px] text-delete">
|
||||
<Icon name="lock" size={12} />TLS verification is off for this request
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user