Adjust expansion header colors

This commit is contained in:
Mattias Granlund 2023-07-19 16:55:25 +01:00
parent eebbc55144
commit 56a1c76cae
2 changed files with 5 additions and 5 deletions

View File

@ -150,14 +150,14 @@
{/each}
{#if !subsection.expanded}
<div
class="flex h-5 w-full border-light-200 dark:border-dark-300"
class="flex h-5 w-full border-light-200 dark:border-dark-400"
class:border-t={sidx == section.subSections.length - 1 ||
(sidx > 0 && sidx < section.subSections.length - 1)}
class:border-b={sidx == 0 ||
(sidx > 0 && sidx < section.subSections.length - 1)}
>
<div
class="bg-light-25 border-r border-light-200 text-center dark:border-dark-400 dark:bg-dark-500 dark:text-white"
class="bg-light-25 border-r border-light-200 text-center dark:border-dark-500 dark:bg-dark-800 dark:text-white"
style:min-width={`${2 * minWidth}rem`}
>
<button
@ -177,7 +177,7 @@
{/if}
</button>
</div>
<div class="flex-grow bg-light-25 dark:bg-dark-600" />
<div class="flex-grow bg-white dark:bg-dark-900" />
</div>
{/if}
{/each}

View File

@ -31,13 +31,13 @@
<div class="flex w-full font-mono text-sm" role="group" on:contextmenu|preventDefault>
<div
class="shrink-0 select-none border-r border-light-400 bg-light-50 px-1 text-right text-light-600 dark:border-dark-400 dark:bg-dark-800 dark:text-light-300"
class="shrink-0 select-none border-r border-light-400 bg-light-50 px-1 text-right text-light-600 dark:border-dark-400 dark:bg-dark-700 dark:text-light-300"
style:min-width={minWidth + 'rem'}
>
{line.beforeLineNumber || ''}
</div>
<div
class="shrink-0 select-none border-r border-light-400 bg-light-50 px-1 text-right text-light-600 dark:border-dark-400 dark:bg-dark-800 dark:text-light-300"
class="shrink-0 select-none border-r border-light-400 bg-light-50 px-1 text-right text-light-600 dark:border-dark-400 dark:bg-dark-700 dark:text-light-300"
style:min-width={minWidth + 'rem'}
>
{line.afterLineNumber || ''}