Skip to content

Commit d9e4b73

Browse files
committed
Color theme tweaks
1 parent e314af2 commit d9e4b73

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

src/renderer/extensions/linearMode/LinearControls.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ defineExpose({ runButtonClick })
219219
<Button v-if="false"> {{ t('menuLabels.publish') }} </Button>
220220
</section>
221221
<div
222-
class="border gap-2 h-full border-[var(--interface-stroke)] bg-comfy-menu-bg flex flex-col px-2"
222+
class="border-x md:border-y gap-2 h-full border-[var(--interface-stroke)] bg-comfy-menu-bg flex flex-col px-2"
223223
>
224224
<section
225225
data-testid="linear-widgets"
@@ -290,7 +290,7 @@ defineExpose({ runButtonClick })
290290
<div v-else class="flex mt-4">
291291
<Popover side="top" @open-auto-focus.prevent>
292292
<template #button>
293-
<Button size="lg" variant="inverted" class="-mr-3 pr-7">
293+
<Button size="lg" class="-mr-3 pr-7">
294294
<i v-if="batchCount == 1" class="icon-[lucide--chevron-down]" />
295295
<div v-else class="tabular-nums" v-text="`${batchCount}x`" />
296296
</Button>

src/renderer/extensions/linearMode/MobileDisplay.vue

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ const menuEntries = computed<MenuItem[]>(() => [
146146
])
147147
</script>
148148
<template>
149-
<section class="absolute w-full h-full flex flex-col bg-base-background">
149+
<section class="absolute w-full h-full flex flex-col bg-secondary-background">
150150
<header
151-
class="w-full h-16 px-4 py-3 flex border-border-subtle border-b items-center gap-3"
151+
class="w-full h-16 px-4 py-3 flex border-border-subtle border-b items-center gap-3 bg-base-background"
152152
>
153153
<DropdownMenu :entries="menuEntries" />
154154
<Popover
@@ -182,27 +182,23 @@ const menuEntries = computed<MenuItem[]>(() => [
182182
:style="{ translate }"
183183
>
184184
<AssetsSidebarTab
185-
class="h-full w-screen absolute bg-secondary-background [&>:first-child>:nth-child(odd)]:hidden"
185+
class="h-full w-screen absolute bg-base-background [&>:first-child>:nth-child(odd)]:hidden"
186186
/>
187187
<div
188188
class="overflow-y-auto contain-size h-full w-screen absolute left-[100vw] top-0"
189189
>
190-
<LinearControls
191-
class="*:bg-secondary-background"
192-
mobile
193-
@navigate-assets="activeIndex = 0"
194-
/>
190+
<LinearControls mobile @navigate-assets="activeIndex = 0" />
195191
</div>
196192
<div
197-
class="w-screen absolute bg-secondary-background h-full left-[200vw] top-0 flex flex-col"
193+
class="w-screen absolute h-full bg-base-background left-[200vw] top-0 flex flex-col"
198194
>
199195
<LinearPreview mobile />
200196
</div>
201197
</div>
202198
</div>
203199
<div
204200
ref="sliderPaneRef"
205-
class="h-22 p-4 w-full flex gap-4 items-center justify-around"
201+
class="h-22 p-4 w-full flex gap-4 items-center justify-around bg-secondary-background"
206202
>
207203
<Button
208204
v-for="([label, icon], index) in tabs"

0 commit comments

Comments
 (0)