From 985dc58382a1d2bcb02ea06977a47c2b0e06dc1b Mon Sep 17 00:00:00 2001 From: Arash Ari Sheyda <38922203+arashsheyda@users.noreply.github.com> Date: Wed, 15 Apr 2026 21:59:18 -0600 Subject: [PATCH 1/2] docs(dock-system): update icon property to support light and dark variants --- docs/kit/dock-system.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/kit/dock-system.md b/docs/kit/dock-system.md index 62f02182..a6fa24b8 100644 --- a/docs/kit/dock-system.md +++ b/docs/kit/dock-system.md @@ -70,7 +70,7 @@ interface DockEntry { /** Display title shown in the dock */ title: string /** Icon URL, data URI, or Iconify icon name (e.g., 'ph:house-duotone') */ - icon: string + icon: string | { light: string, dark: string } /** Entry type */ type: 'iframe' | 'action' | 'custom-render' | 'launcher' | 'json-render' /** URL to load in the iframe (for type: 'iframe') */ @@ -107,6 +107,12 @@ icon: 'data:image/svg+xml,...' icon: 'ph:chart-bar-duotone' // Phosphor Icons icon: 'carbon:analytics' // Carbon Icons icon: 'mdi:view-dashboard' // Material Design Icons + +// Light/dark variants +icon: { + light: 'https://example.com/logo-light.svg', + dark: 'https://example.com/logo-dark.svg', +} ``` > [!TIP] From da20401d1549b159e1a02da3f6c4a7ab2da06ed2 Mon Sep 17 00:00:00 2001 From: Arash Ari Sheyda <38922203+arashsheyda@users.noreply.github.com> Date: Wed, 15 Apr 2026 22:25:54 -0600 Subject: [PATCH 2/2] chore: lint --- docs/kit/dock-system.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/kit/dock-system.md b/docs/kit/dock-system.md index a6fa24b8..27653b7e 100644 --- a/docs/kit/dock-system.md +++ b/docs/kit/dock-system.md @@ -110,8 +110,8 @@ icon: 'mdi:view-dashboard' // Material Design Icons // Light/dark variants icon: { - light: 'https://example.com/logo-light.svg', - dark: 'https://example.com/logo-dark.svg', + light: 'https://example.com/logo-light.svg' + dark: 'https://example.com/logo-dark.svg' } ```