diff --git a/.vscode/settings.json b/.vscode/settings.json index ad92582..8d9c9bc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "editor.formatOnSave": true -} + "editor.formatOnSave": false +} \ No newline at end of file diff --git a/src/view/compile/CompileStepView.svelte b/src/view/compile/CompileStepView.svelte index 9f42d33..fb16887 100644 --- a/src/view/compile/CompileStepView.svelte +++ b/src/view/compile/CompileStepView.svelte @@ -42,7 +42,7 @@ {:else}
-

{ordinal}. {step.description.name}

+

{ordinal}{step.description.name}

{#if calculatedKind !== null}
.longform-compile-step { - background-color: var(--background-modifier-form-field); + background-color: var(--background-modifier-border); + border: 1px solid var(--background-modifier-border); border-radius: var(--radius-s); - padding: var(--size-4-1) var(--size-4-1) var(--size-4-3) var(--size-4-1); - margin-bottom: var(--size-4-4); + padding: 0; + margin: var(--size-4-4) 0; } .longform-compile-step-title-outer { @@ -118,11 +119,12 @@ flex-direction: row; align-items: center; flex-wrap: wrap; + font-size: var(--font-ui-smaller); } .longform-compile-step-title-container h4 { display: inline-block; - margin: 0 var(--size-4-2) 0 0; + margin: var(--size-4-1) var(--size-4-2) var(--size-4-1) 0; padding: 0; } @@ -130,47 +132,60 @@ display: flex; justify-content: center; align-items: center; - background-color: var(--text-accent); + background-color: color-mix(in srgb, var(--text-accent) 50%, var(--background-modifier-border) 50%); color: var(--text-on-accent); border-radius: var(--radius-l); font-size: var(--font-smallest); font-weight: bold; - padding: var(--size-4-1); + padding: var(--size-4-1) var(--size-4-2); margin-right: var(--size-4-1); height: var(--h1-line-height); } + .longform-compile-step-number { + color: var(--text-faint); + display: inline-block; + width: var(--size-4-6); + padding-left: var(--size-4-1); + } + .longform-remove-step-button { display: flex; width: var(--size-4-5); - margin: 0; + height: 100%; + margin: 1px; align-items: center; justify-content: center; font-weight: bold; + background: var(--background-modifier-error); } .longform-compile-step p { margin: 0; - padding: 0; + background: var(--background-primary); } .longform-compile-step-description { font-size: var(--font-smallest); color: var(--text-muted); - margin-top: var(--size-2-1); + padding: var(--size-4-2) var(--size-4-1) var(--size-4-2) var(--size-4-6); } + .longform-compile-step-description .solo { + padding-right: var(--size-4-6); + } + .longform-compile-step-options { padding: var(--size-4-2) 0; + background: var(--background-primary); } .longform-compile-step-options > div { - border-left: var(--border-width) solid var(--interactive-accent); - padding: 0 var(--size-4-2); + margin: 0 var(--size-4-2) 0 var(--size-4-6) } .longform-compile-step-option { - margin-top: var(--size-4-2); + margin: 0 var(--size-4-4) var(--size-4-4) 0; } .longform-compile-step-option label { @@ -179,10 +194,6 @@ font-size: var(--font-smallest); } - .longform-compile-step-option input { - color: var(--text-accent); - } - .longform-compile-step-checkbox-container { display: flex; flex-direction: row; @@ -191,13 +202,11 @@ } .longform-compile-step-option input[type="text"] { - color: var(--text-accent); margin: 0 0 var(--size-4-1) 0; width: 100%; } .longform-compile-step-option input[type="checkbox"] { - color: var(--text-accent); margin: 0 var(--size-4-2) var(--size-2-1) 0; } @@ -207,7 +216,7 @@ .longform-compile-step-option-description { font-size: var(--font-smallest); - line-height: 90%; + line-height: 1em; color: var(--text-faint); } @@ -218,6 +227,6 @@ .longform-compile-step-error { color: var(--text-error); font-size: var(--font-smallest); - line-height: 90%; + line-height: 1em; } - + \ No newline at end of file diff --git a/src/view/compile/CompileView.svelte b/src/view/compile/CompileView.svelte index 6782d87..b52edca 100644 --- a/src/view/compile/CompileView.svelte +++ b/src/view/compile/CompileView.svelte @@ -348,15 +348,24 @@
{/if} -

- Compile workflows run their steps in order.
Scene workflows - run once per scene.
Join workflows run once and combine the - rest of your scene steps into a single manuscript.
Manuscript - steps run once on the joined manuscript.
Drag to rearrange. - Documentation here. +

  • + Compile workflows run their steps in order. +
  • +
  • + Scene workflows run once per scene. +
  • +
  • + Join workflows run once and combine the rest of your scene steps into a single manuscript. +
  • +
  • + Manuscript steps run once on the joined manuscript. +
  • +
  • + Drag to rearrange. Documentation here. -

    +
  • +
    {#if $currentWorkflow && $currentWorkflow.steps.length > 0} @@ -378,13 +387,16 @@ diff --git a/src/view/explorer/NewSceneField.svelte b/src/view/explorer/NewSceneField.svelte index 27fc366..3268e7a 100644 --- a/src/view/explorer/NewSceneField.svelte +++ b/src/view/explorer/NewSceneField.svelte @@ -38,7 +38,7 @@ { @@ -59,24 +59,20 @@ diff --git a/src/view/explorer/ProjectDetails.svelte b/src/view/explorer/ProjectDetails.svelte index 911c68b..0345496 100644 --- a/src/view/explorer/ProjectDetails.svelte +++ b/src/view/explorer/ProjectDetails.svelte @@ -184,8 +184,8 @@ showMetdata = !showMetdata; }} > -

    Project Metadata

    +

    Project Metadata

    {#if showMetdata}
    @@ -197,38 +197,34 @@ on:change={titleChanged} /> {#if $selectedDraft.format === "scenes"} -
    - - -

    - Changing scene folder does not move scenes. If you’re moving - scenes to a new folder, move them in your vault first, then - change this setting. -

    -
    -
    - - -

    - This file will be used as a template when creating new scenes - via the New Scene… field. If you use a templating plugin - (Templater or the core plugin) it will be used to process this - template. -

    -
    + + +

    + Changing scene folder does not move scenes. If you’re moving + scenes to a new folder, move them in your vault first, then + change this setting. +

    + + +

    + This file will be used as a template when creating new scenes + via the New Scene… field. If you use a templating plugin + (Templater or the core plugin) it will be used to process this + template. +

    {/if}
    {/if} @@ -246,8 +242,8 @@ showWordCount = !showWordCount; }} > -

    Word Count

    +

    Word Count

    {#if showWordCount}
    @@ -287,8 +283,8 @@ showDrafts = !showDrafts; }} > -

    Drafts

    +

    Drafts