Modern Docker Management, Designed for Everyone
Go composecontainer-managementcontainersdockerdocker-composedocker-managementgoself-hostedsveltekittypescriptweb-ui
fix: dark/light mode not being respected on certain elements
Kyle Mendellb877daaad65a
diff --git a/frontend/src/app.css b/frontend/src/app.cssindex f7233346c..4fcbc0908 100644--- a/frontend/src/app.css+++ b/frontend/src/app.css@@ -1,6 +1,8 @@@import 'tailwindcss';@import 'tw-animate-css';+@variant dark (&:where(.dark, .dark *));+@font-face {font-family: 'Geist';src: url('/api/fonts/sans') format('woff2');@@ -161,7 +163,6 @@button {@apply cursor-pointer;}-}body:not(.glass-enabled) {@@ -178,7 +179,6 @@ body:not(.glass-enabled) {opacity: 0.015;}-.bubble {background: var(--bg-surface) !important;box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;@@ -251,7 +251,6 @@ body:not(.glass-enabled) {[class*='bg-input/'] {background-color: var(--bg-surface) !important;}-}body.glass-enabled {@@ -308,7 +307,6 @@ body::after {0 1px 0 0 color-mix(in oklch, var(--glass-base, var(--bg-surface)) 30%, transparent) inset;}-.bubble-pill {border-radius: 9999px;padding-inline: 0.875rem;@@ -385,7 +383,6 @@ body::after {transform: translate3d(2%, 1%, 0) scale(1.05);}}-}.version-collapsed {diff --git a/frontend/src/lib/components/arcane-button/variants.ts b/frontend/src/lib/components/arcane-button/variants.tsindex 623acf3c0..efd57282f 100644--- a/frontend/src/lib/components/arcane-button/variants.ts+++ b/frontend/src/lib/components/arcane-button/variants.ts@@ -25,7 +25,7 @@ import {export const arcaneButtonVariants = tv({base:'inline-flex items-center justify-center gap-2 rounded-lg text-sm font-medium whitespace-nowrap select-none ' +- 'transition-all duration-200 will-change-transform ' ++ 'transition-all duration-200 ' +'active:scale-[0.98] ' +'border disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 ' +'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50 focus-visible:ring-offset-0 ' +diff --git a/frontend/src/lib/components/ui/dialog/dialog-content.svelte b/frontend/src/lib/components/ui/dialog/dialog-content.svelteindex 0b8f45415..617ef4db2 100644--- a/frontend/src/lib/components/ui/dialog/dialog-content.svelte+++ b/frontend/src/lib/components/ui/dialog/dialog-content.svelte@@ -23,7 +23,7 @@bind:refdata-slot="dialog-content"class={cn(- 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 rounded-2xl border p-6 shadow-lg backdrop-blur-md duration-200 sm:rounded-2xl',+ 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 bg-background/90 fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 rounded-2xl border p-6 shadow-lg backdrop-blur-md duration-200 sm:rounded-2xl dark:bg-transparent',className)}{...restProps}diff --git a/frontend/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte b/frontend/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelteindex 76b883341..fc9426185 100644--- a/frontend/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte+++ b/frontend/src/lib/components/ui/dropdown-menu/dropdown-menu-content.svelte@@ -20,7 +20,7 @@preventScroll={false}{sideOffset}class={cn(- 'text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-xl border p-1 shadow-md backdrop-blur-2xl backdrop-saturate-150 outline-none',+ 'bg-background/95 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:bg-popover/20 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-xl border p-1 shadow-md backdrop-blur-2xl backdrop-saturate-150 outline-none','max-h-(--radix-dropdown-menu-content-available-height) max-w-[calc(100vw-2rem)]','max-[768px]:max-w-[calc(100vw-1rem)]',classNamediff --git a/frontend/src/lib/components/ui/popover/popover-content.svelte b/frontend/src/lib/components/ui/popover/popover-content.svelteindex 7174cfa65..4cf9b43de 100644--- a/frontend/src/lib/components/ui/popover/popover-content.svelte+++ b/frontend/src/lib/components/ui/popover/popover-content.svelte@@ -22,7 +22,7 @@{sideOffset}{align}class={cn(- 'bg-popover/20 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--bits-popover-content-transform-origin) overflow-hidden rounded-xl border p-4 shadow-md outline-hidden backdrop-blur-2xl backdrop-saturate-150',+ 'bg-background/95 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:bg-popover/20 z-50 w-72 origin-(--bits-popover-content-transform-origin) overflow-hidden rounded-xl border p-4 shadow-md outline-hidden backdrop-blur-2xl backdrop-saturate-150',className)}{...restProps}diff --git a/frontend/src/lib/components/ui/select/select-content.svelte b/frontend/src/lib/components/ui/select/select-content.svelteindex ad0b6582a..c6f920aad 100644--- a/frontend/src/lib/components/ui/select/select-content.svelte+++ b/frontend/src/lib/components/ui/select/select-content.svelte@@ -24,7 +24,7 @@{align}data-slot="select-content"class={cn(- 'text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 min-w-32 overflow-x-hidden overflow-y-auto rounded-xl border shadow-md backdrop-blur-2xl backdrop-saturate-150 data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',+ 'bg-background/95 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:bg-popover/20 relative z-50 min-w-32 overflow-x-hidden overflow-y-auto rounded-xl border shadow-md backdrop-blur-2xl backdrop-saturate-150 data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1','max-h-(--bits-select-content-available-height) origin-(--bits-select-content-transform-origin)','w-(--radix-popper-anchor-width) max-w-[calc(100vw-2rem)] min-w-(--radix-popper-anchor-width)','max-[768px]:max-w-[calc(100vw-1rem)]',diff --git a/frontend/src/lib/components/ui/sheet/sheet-content.svelte b/frontend/src/lib/components/ui/sheet/sheet-content.svelteindex 362020cfb..a5feebfe2 100644--- a/frontend/src/lib/components/ui/sheet/sheet-content.svelte+++ b/frontend/src/lib/components/ui/sheet/sheet-content.svelte@@ -1,7 +1,7 @@<script lang="ts" module>import { tv, type VariantProps } from 'tailwind-variants';export const sheetVariants = tv({- base: 'backdrop-blur-md border shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500',+ base: 'bg-background/90 backdrop-blur-md border shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 dark:bg-transparent',variants: {side: {top: 'data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto rounded-b-2xl',diff --git a/frontend/src/lib/components/ui/tooltip/tooltip-content.svelte b/frontend/src/lib/components/ui/tooltip/tooltip-content.svelteindex ddd2d43fc..92a8ebb3e 100644--- a/frontend/src/lib/components/ui/tooltip/tooltip-content.svelte+++ b/frontend/src/lib/components/ui/tooltip/tooltip-content.svelte@@ -27,7 +27,7 @@{sideOffset}{side}class={cn(- 'bg-popover/20 text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 border-border/40 z-50 w-fit origin-(--bits-tooltip-content-transform-origin) rounded-xl border px-3 py-1.5 text-xs text-balance shadow-lg backdrop-blur-md backdrop-saturate-150',+ 'bg-popover/90 text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 border-border/40 dark:bg-popover/20 z-50 w-fit origin-(--bits-tooltip-content-transform-origin) rounded-xl border px-3 py-1.5 text-xs text-balance shadow-lg backdrop-blur-md backdrop-saturate-150',className)}{...restProps}diff --git a/frontend/src/routes/(app)/customize/templates/components/RegistryManager.svelte b/frontend/src/routes/(app)/customize/templates/components/RegistryManager.svelteindex 22f69e761..b3a63c7a1 100644--- a/frontend/src/routes/(app)/customize/templates/components/RegistryManager.svelte+++ b/frontend/src/routes/(app)/customize/templates/components/RegistryManager.svelte@@ -46,7 +46,7 @@<Alert.Description>{m.templates_alert_remote_registries_description()}</Alert.Description></Alert.Root>- <Alert.Root class="border-blue-200 bg-blue-50 dark:border-blue-800 dark:bg-blue-950">+ <Alert.Root class="border-primary/20 bg-primary/5 dark:border-primary/30 dark:bg-primary/10"><CommunityIcon class="size-4" /><Alert.Title>{m.templates_community_registry_title()}</Alert.Title><Alert.Description class="space-y-2">