Skip to content

Commit a13baf4

Browse files
author
dterefe
committed
Fixed dark mode styling of previous commit
1 parent af00dea commit a13baf4

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

DUUIWeb/src/lib/svelte/components/AnnotationChip.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
const toastStore = getToastStore()
1313
1414
const inputContainerClass =
15-
'relative flex flex-wrap gap-3 px-2 pb-1 m-4 bg-surface-100 rounded-md p-2'
15+
'relative flex flex-wrap gap-3 px-2 pb-1 m-4 bg-surface-100-800-token rounded-md p-2'
1616
const outputContainerClass =
17-
'relative flex flex-wrap items-end justify-end gap-3 px-2 pb-1 m-4 bg-surface-100 rounded-md p-2'
17+
'relative flex flex-wrap items-end justify-end gap-3 px-2 pb-1 m-4 bg-surface-100-800-token rounded-md p-2'
1818
1919
const inputChipClass =
20-
'uima-chip-input relative inline-flex items-center px-4 py-2 pr-8 variant-soft-primary border text-sm rounded-md'
20+
'uima-chip-input relative inline-flex items-center px-4 py-2 pr-8 variant-soft-primary text-sm rounded-md'
2121
const outputChipClass =
22-
'uima-chip-output relative inline-flex items-center px-4 py-2 pr-8 variant-soft-primary border text-sm rounded-md'
22+
'uima-chip-output relative inline-flex items-center px-4 py-2 pr-8 variant-soft-primary text-sm rounded-md'
2323
</script>
2424

2525
<div
@@ -31,8 +31,8 @@
3131
>
3232
<span
3333
class={connector === 'input'
34-
? 'absolute -top-3 left-3 bg-surface-100 px-2 text-xs rounded-md text-surface-400 font-medium'
35-
: 'absolute -top-3 right-3 bg-surface-100 px-2 text-xs rounded-md text-surface-400 font-medium'}
34+
? 'absolute -top-3 left-3 bg-surface-100-800-token px-2 text-xs rounded-md text-surface-400-900-token font-medium'
35+
: 'absolute -top-3 right-3 bg-surface-100-800-token px-2 text-xs rounded-md text-surface-400-900-token font-medium'}
3636
>
3737
{connector === 'input' ? 'Input' : 'Output'}
3838
</span>

DUUIWeb/src/lib/svelte/components/LayeredPipelineComponents.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ let hoveredComponentId: string | null = null
353353
</script>
354354
<!-- svelte-ignore a11y-no-static-element-interactions -->
355355
<div
356-
class="relative min-h-[400px] lg:max-w-[70%] md:p-4 overflow-hidden mx-auto bg-surface-100 rounded-md"
356+
class="relative min-h-[400px] lg:max-w-[70%] md:p-4 overflow-hidden mx-auto bg-surface-100-700-token rounded-md"
357357
bind:this={viewport}
358358
on:wheel|preventDefault={handleWheel}
359359
on:mousedown={handleCanvasMouseDown}
@@ -399,8 +399,8 @@ let hoveredComponentId: string | null = null
399399
class={`opacity-80 transition-colors ${
400400
hoveredComponentId &&
401401
(edge.fromId === hoveredComponentId || edge.toId === hoveredComponentId)
402-
? 'text-primary-700'
403-
: 'text-primary-200'
402+
? 'text-primary-800-100-token'
403+
: 'text-primary-100-800-token'
404404
}`}
405405
stroke="currentColor"
406406
stroke-width="3"

0 commit comments

Comments
 (0)