mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-29 12:33:49 +03:00
Adjust expansion header colors
This commit is contained in:
parent
eebbc55144
commit
56a1c76cae
@ -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}
|
||||
|
@ -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 || ''}
|
||||
|
Loading…
Reference in New Issue
Block a user