An open-source, self-hosted system for apps built with web technologies.
Use light foreground Start Menu borders
zohayrslilehe25d16520171
diff --git a/source/client/view/appearance/appearance.css b/source/client/view/appearance/appearance.cssindex 235bdaa..6ba40f8 100644--- a/source/client/view/appearance/appearance.css+++ b/source/client/view/appearance/appearance.css@@ -39,6 +39,11 @@}+.border-light-foreground {++ border-color: color-mix(in oklch, currentColor 25%, white) !important;+}+[data-start-menu-scroll] {scrollbar-color: color-mix(in oklch, currentColor 28%, transparent) transparent;diff --git a/source/client/view/structure/desktop/taskbar/launcher/launcher.tsx b/source/client/view/structure/desktop/taskbar/launcher/launcher.tsxindex 6250ddc..64258ab 100644--- a/source/client/view/structure/desktop/taskbar/launcher/launcher.tsx+++ b/source/client/view/structure/desktop/taskbar/launcher/launcher.tsx@@ -9,7 +9,7 @@ import TaskbarButton from "../taskbar-button"* A button and the dismissible surface it opens. Placement, contents and* what selecting an item means belong to the caller.*/-export default function ({ label, trigger, children, className, style, ...props }: LauncherProps) {+export default function ({ label, trigger, children, surfaceClassName, className, style, ...props }: LauncherProps) {const id = useId()@@ -94,7 +94,7 @@ export default function ({ label, trigger, children, className, style, ...propsstyle={{ ...style, borderRadius: radius }}- className={`${taskbarSurfaceClassName} hidden open:block ${className ?? ""}`}+ className={`${taskbarSurfaceClassName} hidden open:block ${surfaceClassName ?? ""} ${className ?? ""}`}onBeforeToggle={event => {@@ -122,7 +122,7 @@ export default function ({ label, trigger, children, className, style, ...props>- <Surface opacity="small" className="min-h-0 max-h-[inherit] rounded-[inherit]">+ <Surface opacity="small" className={`min-h-0 max-h-[inherit] rounded-[inherit] ${surfaceClassName ?? ""}`}>{children(close)}@@ -139,5 +139,7 @@ export interface LauncherProps extends Omit<SurfaceProps, "children" | "id" | "otrigger: ReactNode+ surfaceClassName?: string+children: (close: () => void) => ReactNode}diff --git a/source/client/view/structure/desktop/taskbar/launcher/start-menu.tsx b/source/client/view/structure/desktop/taskbar/launcher/start-menu.tsxindex f2f0993..62599a4 100644--- a/source/client/view/structure/desktop/taskbar/launcher/start-menu.tsx+++ b/source/client/view/structure/desktop/taskbar/launcher/start-menu.tsx@@ -18,6 +18,8 @@ export default memo(function StartMenu() {</>}+ surfaceClassName="border-light-foreground"+className="inset-auto inset-be-[calc(anchor(top)+var(--desktop-gutter))] inset-s-[anchor(start)] max-h-[min(32rem,calc(100vh-var(--spacing-taskbar)-var(--desktop-gutter)*3))] w-[min(22rem,calc(100vw-var(--desktop-gutter)*2))] [position-anchor:--desktop-taskbar]">