@ohmykreee/dsh-remote-control 0.0.0-stage → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +556 -0
- package/INSTALLATION.md +310 -0
- package/LICENSE +21 -0
- package/README.md +195 -2
- package/client.js +3 -0
- package/components.json +20 -0
- package/cordis.patch.yml +3 -0
- package/docs/README.en.md +196 -0
- package/docs/screenshots/en/overview.png +0 -0
- package/docs/screenshots/en/question.png +0 -0
- package/docs/screenshots/zh/overview.png +0 -0
- package/docs/screenshots/zh/question.png +0 -0
- package/icon.svg +24 -0
- package/index.js +2 -0
- package/lib/account.js +1 -0
- package/lib/app-mapping.js +1 -0
- package/lib/i18n.js +1 -0
- package/lib/media-enrich.js +1 -0
- package/lib/notifications.js +1 -0
- package/lib/performance.js +1 -0
- package/lib/platform/index.js +1 -0
- package/lib/probe-adapter.js +1 -0
- package/lib/probe-daemon.js +1 -0
- package/lib/probe.js +1 -0
- package/lib/qr.js +1 -0
- package/lib/runtime.js +1 -0
- package/lib/service.js +1 -0
- package/lib/sessions.js +1 -0
- package/lib/settings.js +1 -0
- package/lib/types.js +1 -0
- package/lib/util.js +1 -0
- package/lib/weather.js +1 -0
- package/lib/ws.js +1 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +118 -4
- package/scripts/browser-shot.mjs +217 -0
- package/scripts/build-dsh.mjs +228 -0
- package/scripts/build-rust.mjs +319 -0
- package/scripts/build-web.mjs +17 -0
- package/scripts/check-npm-package.mjs +322 -0
- package/scripts/mock-preview.py +574 -0
- package/scripts/screenshot-compose.py +89 -0
- package/scripts/screenshot-device.sh +75 -0
- package/src/dsh/client/api.ts +68 -0
- package/src/dsh/client/i18n.ts +573 -0
- package/src/dsh/client/icons.ts +56 -0
- package/src/dsh/client/index.ts +95 -0
- package/src/dsh/client/logic.ts +310 -0
- package/src/dsh/client/panel.ts +483 -0
- package/src/dsh/client/sections/apps.ts +40 -0
- package/src/dsh/client/sections/balance.ts +38 -0
- package/src/dsh/client/sections/connection.ts +97 -0
- package/src/dsh/client/sections/notifications.ts +43 -0
- package/src/dsh/client/sections/pomodoro.ts +184 -0
- package/src/dsh/client/sections/preferences.ts +138 -0
- package/src/dsh/client/sections/system.ts +120 -0
- package/src/dsh/client/sections/weather.ts +276 -0
- package/src/dsh/client/styles.ts +1119 -0
- package/src/dsh/client/types.ts +366 -0
- package/src/dsh/client/ui.ts +142 -0
- package/src/dsh/index.ts +108 -0
- package/src/dsh/lib/account.ts +520 -0
- package/src/dsh/lib/app-mapping.ts +366 -0
- package/src/dsh/lib/i18n.ts +82 -0
- package/src/dsh/lib/media-enrich.ts +202 -0
- package/src/dsh/lib/notifications.ts +322 -0
- package/src/dsh/lib/performance.ts +279 -0
- package/src/dsh/lib/platform/index.ts +43 -0
- package/src/dsh/lib/probe-adapter.ts +275 -0
- package/src/dsh/lib/probe-daemon.ts +359 -0
- package/src/dsh/lib/probe.ts +395 -0
- package/src/dsh/lib/qr.ts +42 -0
- package/src/dsh/lib/runtime.ts +126 -0
- package/src/dsh/lib/service.ts +1645 -0
- package/src/dsh/lib/sessions.ts +907 -0
- package/src/dsh/lib/settings.ts +468 -0
- package/src/dsh/lib/types.ts +231 -0
- package/src/dsh/lib/util.ts +115 -0
- package/src/dsh/lib/weather.ts +532 -0
- package/src/dsh/lib/ws.ts +328 -0
- package/src/dsh/types/qrcode-generator.d.ts +16 -0
- package/src/rust/Cargo.lock +1431 -0
- package/src/rust/Cargo.toml +68 -0
- package/src/rust/src/cli.rs +233 -0
- package/src/rust/src/daemon.rs +140 -0
- package/src/rust/src/location/linux.rs +118 -0
- package/src/rust/src/location/macos.rs +26 -0
- package/src/rust/src/location/mod.rs +170 -0
- package/src/rust/src/location/windows.rs +205 -0
- package/src/rust/src/main.rs +42 -0
- package/src/rust/src/media/catalog.rs +454 -0
- package/src/rust/src/media/linux.rs +350 -0
- package/src/rust/src/media/macos/accessibility.rs +59 -0
- package/src/rust/src/media/macos.rs +366 -0
- package/src/rust/src/media/mod.rs +298 -0
- package/src/rust/src/media/vendor/apple_music.rs +90 -0
- package/src/rust/src/media/vendor/common.rs +186 -0
- package/src/rust/src/media/vendor/kugou.rs +52 -0
- package/src/rust/src/media/vendor/kuwo.rs +49 -0
- package/src/rust/src/media/vendor/mod.rs +75 -0
- package/src/rust/src/media/vendor/netease.rs +1715 -0
- package/src/rust/src/media/vendor/qishui.rs +36 -0
- package/src/rust/src/media/vendor/qqmusic.rs +33 -0
- package/src/rust/src/media/vendor/spotify.rs +46 -0
- package/src/rust/src/media/vendor/wesing.rs +39 -0
- package/src/rust/src/media/vendor/youtube_music.rs +49 -0
- package/src/rust/src/media/windows/accessibility.rs +85 -0
- package/src/rust/src/media/windows/audio.rs +116 -0
- package/src/rust/src/media/windows/private.rs +291 -0
- package/src/rust/src/media/windows.rs +775 -0
- package/src/rust/src/notifications/linux.rs +276 -0
- package/src/rust/src/notifications/macos.rs +382 -0
- package/src/rust/src/notifications/mod.rs +244 -0
- package/src/rust/src/notifications/windows.rs +565 -0
- package/src/rust/src/perf/common.rs +109 -0
- package/src/rust/src/perf/linux.rs +282 -0
- package/src/rust/src/perf/macos.rs +28 -0
- package/src/rust/src/perf/mod.rs +157 -0
- package/src/rust/src/perf/windows.rs +981 -0
- package/src/rust/src/util.rs +360 -0
- package/src/rust/src/volume/linux.rs +195 -0
- package/src/rust/src/volume/macos.rs +54 -0
- package/src/rust/src/volume/mod.rs +116 -0
- package/src/rust/src/volume/windows.rs +75 -0
- package/src/rust/tests/cli.rs +79 -0
- package/src/rust/tests/daemon.rs +107 -0
- package/src/svelte/App.svelte +385 -0
- package/src/svelte/index.html +18 -0
- package/src/svelte/lib/billing.svelte.ts +228 -0
- package/src/svelte/lib/components/BalanceCard.svelte +173 -0
- package/src/svelte/lib/components/ClockCard.svelte +183 -0
- package/src/svelte/lib/components/CountdownCard.svelte +261 -0
- package/src/svelte/lib/components/CpuMemoryCard.svelte +238 -0
- package/src/svelte/lib/components/EmptyState.svelte +34 -0
- package/src/svelte/lib/components/GpuCard.svelte +245 -0
- package/src/svelte/lib/components/HomePage.svelte +34 -0
- package/src/svelte/lib/components/MusicControls.svelte +256 -0
- package/src/svelte/lib/components/MusicCover.svelte +88 -0
- package/src/svelte/lib/components/MusicPage.svelte +116 -0
- package/src/svelte/lib/components/NotificationsCard.svelte +109 -0
- package/src/svelte/lib/components/Panel.svelte +22 -0
- package/src/svelte/lib/components/PerformancePage.svelte +55 -0
- package/src/svelte/lib/components/PomodoroCard.svelte +250 -0
- package/src/svelte/lib/components/QuestionSheet.svelte +354 -0
- package/src/svelte/lib/components/RadialGauge.svelte +99 -0
- package/src/svelte/lib/components/Rail.svelte +217 -0
- package/src/svelte/lib/components/SectionHeader.svelte +40 -0
- package/src/svelte/lib/components/SeekBar.svelte +421 -0
- package/src/svelte/lib/components/SessionList.svelte +364 -0
- package/src/svelte/lib/components/SessionStats.svelte +98 -0
- package/src/svelte/lib/components/SessionsPage.svelte +61 -0
- package/src/svelte/lib/components/SpendCard.svelte +105 -0
- package/src/svelte/lib/components/ThermalCard.svelte +249 -0
- package/src/svelte/lib/components/Toast.svelte +32 -0
- package/src/svelte/lib/components/WeatherIcon.svelte +40 -0
- package/src/svelte/lib/components/WeatherPanel.svelte +420 -0
- package/src/svelte/lib/components/ui/alert/alert-action.svelte +20 -0
- package/src/svelte/lib/components/ui/alert/alert-description.svelte +23 -0
- package/src/svelte/lib/components/ui/alert/alert-title.svelte +23 -0
- package/src/svelte/lib/components/ui/alert/alert.svelte +43 -0
- package/src/svelte/lib/components/ui/alert/index.ts +17 -0
- package/src/svelte/lib/components/ui/avatar/avatar-badge.svelte +26 -0
- package/src/svelte/lib/components/ui/avatar/avatar-fallback.svelte +20 -0
- package/src/svelte/lib/components/ui/avatar/avatar-group-count.svelte +23 -0
- package/src/svelte/lib/components/ui/avatar/avatar-group.svelte +23 -0
- package/src/svelte/lib/components/ui/avatar/avatar-image.svelte +17 -0
- package/src/svelte/lib/components/ui/avatar/avatar.svelte +26 -0
- package/src/svelte/lib/components/ui/avatar/index.ts +22 -0
- package/src/svelte/lib/components/ui/badge/badge.svelte +49 -0
- package/src/svelte/lib/components/ui/badge/index.ts +2 -0
- package/src/svelte/lib/components/ui/button/button.svelte +82 -0
- package/src/svelte/lib/components/ui/button/index.ts +17 -0
- package/src/svelte/lib/components/ui/card/card-action.svelte +23 -0
- package/src/svelte/lib/components/ui/card/card-content.svelte +20 -0
- package/src/svelte/lib/components/ui/card/card-description.svelte +20 -0
- package/src/svelte/lib/components/ui/card/card-footer.svelte +20 -0
- package/src/svelte/lib/components/ui/card/card-header.svelte +23 -0
- package/src/svelte/lib/components/ui/card/card-title.svelte +20 -0
- package/src/svelte/lib/components/ui/card/card.svelte +22 -0
- package/src/svelte/lib/components/ui/card/index.ts +25 -0
- package/src/svelte/lib/components/ui/dialog/dialog-close.svelte +11 -0
- package/src/svelte/lib/components/ui/dialog/dialog-content.svelte +48 -0
- package/src/svelte/lib/components/ui/dialog/dialog-description.svelte +17 -0
- package/src/svelte/lib/components/ui/dialog/dialog-footer.svelte +32 -0
- package/src/svelte/lib/components/ui/dialog/dialog-header.svelte +20 -0
- package/src/svelte/lib/components/ui/dialog/dialog-overlay.svelte +17 -0
- package/src/svelte/lib/components/ui/dialog/dialog-portal.svelte +7 -0
- package/src/svelte/lib/components/ui/dialog/dialog-title.svelte +17 -0
- package/src/svelte/lib/components/ui/dialog/dialog-trigger.svelte +11 -0
- package/src/svelte/lib/components/ui/dialog/dialog.svelte +7 -0
- package/src/svelte/lib/components/ui/dialog/index.ts +34 -0
- package/src/svelte/lib/components/ui/empty/empty-content.svelte +23 -0
- package/src/svelte/lib/components/ui/empty/empty-description.svelte +23 -0
- package/src/svelte/lib/components/ui/empty/empty-header.svelte +20 -0
- package/src/svelte/lib/components/ui/empty/empty-media.svelte +41 -0
- package/src/svelte/lib/components/ui/empty/empty-title.svelte +20 -0
- package/src/svelte/lib/components/ui/empty/empty.svelte +23 -0
- package/src/svelte/lib/components/ui/empty/index.ts +22 -0
- package/src/svelte/lib/components/ui/input/index.ts +7 -0
- package/src/svelte/lib/components/ui/input/input.svelte +48 -0
- package/src/svelte/lib/components/ui/progress/index.ts +7 -0
- package/src/svelte/lib/components/ui/progress/progress.svelte +27 -0
- package/src/svelte/lib/components/ui/scroll-area/index.ts +10 -0
- package/src/svelte/lib/components/ui/scroll-area/scroll-area-scrollbar.svelte +30 -0
- package/src/svelte/lib/components/ui/scroll-area/scroll-area.svelte +43 -0
- package/src/svelte/lib/components/ui/separator/index.ts +7 -0
- package/src/svelte/lib/components/ui/separator/separator.svelte +21 -0
- package/src/svelte/lib/components/ui/sheet/index.ts +34 -0
- package/src/svelte/lib/components/ui/sheet/sheet-close.svelte +7 -0
- package/src/svelte/lib/components/ui/sheet/sheet-content.svelte +55 -0
- package/src/svelte/lib/components/ui/sheet/sheet-description.svelte +17 -0
- package/src/svelte/lib/components/ui/sheet/sheet-footer.svelte +20 -0
- package/src/svelte/lib/components/ui/sheet/sheet-header.svelte +20 -0
- package/src/svelte/lib/components/ui/sheet/sheet-overlay.svelte +20 -0
- package/src/svelte/lib/components/ui/sheet/sheet-portal.svelte +7 -0
- package/src/svelte/lib/components/ui/sheet/sheet-title.svelte +17 -0
- package/src/svelte/lib/components/ui/sheet/sheet-trigger.svelte +7 -0
- package/src/svelte/lib/components/ui/sheet/sheet.svelte +7 -0
- package/src/svelte/lib/components/ui/skeleton/index.ts +7 -0
- package/src/svelte/lib/components/ui/skeleton/skeleton.svelte +17 -0
- package/src/svelte/lib/components/ui/slider/index.ts +7 -0
- package/src/svelte/lib/components/ui/slider/slider.svelte +52 -0
- package/src/svelte/lib/components/ui/tooltip/index.ts +19 -0
- package/src/svelte/lib/components/ui/tooltip/tooltip-content.svelte +51 -0
- package/src/svelte/lib/components/ui/tooltip/tooltip-portal.svelte +7 -0
- package/src/svelte/lib/components/ui/tooltip/tooltip-provider.svelte +7 -0
- package/src/svelte/lib/components/ui/tooltip/tooltip-trigger.svelte +7 -0
- package/src/svelte/lib/components/ui/tooltip/tooltip.svelte +7 -0
- package/src/svelte/lib/countdown.svelte.ts +252 -0
- package/src/svelte/lib/format.ts +199 -0
- package/src/svelte/lib/i18n.svelte.ts +583 -0
- package/src/svelte/lib/media.ts +32 -0
- package/src/svelte/lib/pages.ts +18 -0
- package/src/svelte/lib/pomodoro.svelte.ts +223 -0
- package/src/svelte/lib/session-tree.ts +80 -0
- package/src/svelte/lib/state.svelte.ts +359 -0
- package/src/svelte/lib/timer-alarm.svelte.ts +319 -0
- package/src/svelte/lib/types.ts +306 -0
- package/src/svelte/lib/utils.ts +8 -0
- package/src/svelte/lib/weather.ts +84 -0
- package/src/svelte/lib/ws.ts +104 -0
- package/src/svelte/main.ts +13 -0
- package/src/svelte/styles/global.css +315 -0
- package/src/svelte/vite-env.d.ts +12 -0
- package/static/fonts/LICENSE.txt +287 -0
- package/static/icon.svg +24 -0
- package/static/manifest.webmanifest +18 -0
- package/svelte.config.js +5 -0
- package/tsconfig.dsh-client.json +18 -0
- package/tsconfig.dsh.json +21 -0
- package/tsconfig.json +20 -0
- package/vite.config.js +31 -0
- package/web/assets/index-DLdSfnJ3.css +1 -0
- package/web/assets/index-YNE8X0Uy.js +6 -0
- package/web/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/web/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/web/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/web/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/web/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/web/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/web/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/web/assets/jetbrains-mono-cyrillic-ext-wght-normal-EocZY2iu.woff2 +0 -0
- package/web/assets/jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2 +0 -0
- package/web/assets/jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2 +0 -0
- package/web/assets/jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2 +0 -0
- package/web/assets/jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2 +0 -0
- package/web/assets/jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2 +0 -0
- package/web/assets/noto-sans-sc-100-wght-normal-DluiXYzi.woff2 +0 -0
- package/web/assets/noto-sans-sc-101-wght-normal-CPkZHnw0.woff2 +0 -0
- package/web/assets/noto-sans-sc-102-wght-normal-gzIulUH6.woff2 +0 -0
- package/web/assets/noto-sans-sc-103-wght-normal-CJfSBxFo.woff2 +0 -0
- package/web/assets/noto-sans-sc-104-wght-normal-B3QMglgE.woff2 +0 -0
- package/web/assets/noto-sans-sc-105-wght-normal-xXh_OMfk.woff2 +0 -0
- package/web/assets/noto-sans-sc-106-wght-normal-B9n3jMjP.woff2 +0 -0
- package/web/assets/noto-sans-sc-107-wght-normal-D7fvVprN.woff2 +0 -0
- package/web/assets/noto-sans-sc-108-wght-normal-J0_LhxVo.woff2 +0 -0
- package/web/assets/noto-sans-sc-109-wght-normal-Dsp-De_0.woff2 +0 -0
- package/web/assets/noto-sans-sc-110-wght-normal-DE_6NUrb.woff2 +0 -0
- package/web/assets/noto-sans-sc-111-wght-normal-C4S-TlTn.woff2 +0 -0
- package/web/assets/noto-sans-sc-112-wght-normal-BcFuP3w6.woff2 +0 -0
- package/web/assets/noto-sans-sc-113-wght-normal-Dk932kmj.woff2 +0 -0
- package/web/assets/noto-sans-sc-114-wght-normal-CO_5Xo-i.woff2 +0 -0
- package/web/assets/noto-sans-sc-115-wght-normal-BWy07H14.woff2 +0 -0
- package/web/assets/noto-sans-sc-116-wght-normal-B4HVAfHo.woff2 +0 -0
- package/web/assets/noto-sans-sc-117-wght-normal-siZzFqgK.woff2 +0 -0
- package/web/assets/noto-sans-sc-118-wght-normal-xhBB7f6V.woff2 +0 -0
- package/web/assets/noto-sans-sc-119-wght-normal-Ck_g2FGz.woff2 +0 -0
- package/web/assets/noto-sans-sc-21-wght-normal-D0x9-yBt.woff2 +0 -0
- package/web/assets/noto-sans-sc-22-wght-normal-BBUVTShg.woff2 +0 -0
- package/web/assets/noto-sans-sc-23-wght-normal-Du1oYWkE.woff2 +0 -0
- package/web/assets/noto-sans-sc-24-wght-normal-CmWjJ0gt.woff2 +0 -0
- package/web/assets/noto-sans-sc-25-wght-normal-BFHiqilg.woff2 +0 -0
- package/web/assets/noto-sans-sc-26-wght-normal-C0sF2Z2f.woff2 +0 -0
- package/web/assets/noto-sans-sc-27-wght-normal-COFdrquJ.woff2 +0 -0
- package/web/assets/noto-sans-sc-28-wght-normal-DMgdNu1o.woff2 +0 -0
- package/web/assets/noto-sans-sc-29-wght-normal-Cmq8em30.woff2 +0 -0
- package/web/assets/noto-sans-sc-30-wght-normal-CZWqZ3yU.woff2 +0 -0
- package/web/assets/noto-sans-sc-31-wght-normal-Wfi_lutW.woff2 +0 -0
- package/web/assets/noto-sans-sc-32-wght-normal-BRJQ4PY5.woff2 +0 -0
- package/web/assets/noto-sans-sc-33-wght-normal-CUVQXNAJ.woff2 +0 -0
- package/web/assets/noto-sans-sc-34-wght-normal-Bspba0wC.woff2 +0 -0
- package/web/assets/noto-sans-sc-35-wght-normal-K8fX_YPG.woff2 +0 -0
- package/web/assets/noto-sans-sc-36-wght-normal-CkITyjoT.woff2 +0 -0
- package/web/assets/noto-sans-sc-37-wght-normal-WCZ2zfEe.woff2 +0 -0
- package/web/assets/noto-sans-sc-38-wght-normal-DeM7CUce.woff2 +0 -0
- package/web/assets/noto-sans-sc-39-wght-normal-BMZNLWQU.woff2 +0 -0
- package/web/assets/noto-sans-sc-4-wght-normal-AR5bdDjz.woff2 +0 -0
- package/web/assets/noto-sans-sc-40-wght-normal-BQ5xpS5j.woff2 +0 -0
- package/web/assets/noto-sans-sc-41-wght-normal-Hthm7FFi.woff2 +0 -0
- package/web/assets/noto-sans-sc-42-wght-normal-eaS2gKds.woff2 +0 -0
- package/web/assets/noto-sans-sc-43-wght-normal-o-T53XXV.woff2 +0 -0
- package/web/assets/noto-sans-sc-44-wght-normal-BJH5J4Ez.woff2 +0 -0
- package/web/assets/noto-sans-sc-45-wght-normal-BKuxSCOJ.woff2 +0 -0
- package/web/assets/noto-sans-sc-46-wght-normal-BR_5Mu6e.woff2 +0 -0
- package/web/assets/noto-sans-sc-47-wght-normal-CyY7gKNX.woff2 +0 -0
- package/web/assets/noto-sans-sc-48-wght-normal-BNMfTR6k.woff2 +0 -0
- package/web/assets/noto-sans-sc-49-wght-normal-DX-0y7wg.woff2 +0 -0
- package/web/assets/noto-sans-sc-5-wght-normal-CfWugllB.woff2 +0 -0
- package/web/assets/noto-sans-sc-50-wght-normal-DAOGW-Dr.woff2 +0 -0
- package/web/assets/noto-sans-sc-51-wght-normal-BlFLOjcP.woff2 +0 -0
- package/web/assets/noto-sans-sc-52-wght-normal-OZjrybnw.woff2 +0 -0
- package/web/assets/noto-sans-sc-53-wght-normal-CwyWNT6x.woff2 +0 -0
- package/web/assets/noto-sans-sc-54-wght-normal-DM0nRe18.woff2 +0 -0
- package/web/assets/noto-sans-sc-55-wght-normal-DBK2wUOR.woff2 +0 -0
- package/web/assets/noto-sans-sc-56-wght-normal-C-VKK1LS.woff2 +0 -0
- package/web/assets/noto-sans-sc-57-wght-normal-Cdbfh5kq.woff2 +0 -0
- package/web/assets/noto-sans-sc-58-wght-normal-CflMKARZ.woff2 +0 -0
- package/web/assets/noto-sans-sc-59-wght-normal-BS4Kwzxx.woff2 +0 -0
- package/web/assets/noto-sans-sc-6-wght-normal-ChnZIQfQ.woff2 +0 -0
- package/web/assets/noto-sans-sc-60-wght-normal-B7QOYsXJ.woff2 +0 -0
- package/web/assets/noto-sans-sc-61-wght-normal-C8JjQS7w.woff2 +0 -0
- package/web/assets/noto-sans-sc-62-wght-normal-bS4wq1Gg.woff2 +0 -0
- package/web/assets/noto-sans-sc-63-wght-normal-BJr8P-OB.woff2 +0 -0
- package/web/assets/noto-sans-sc-64-wght-normal-DVB11t7j.woff2 +0 -0
- package/web/assets/noto-sans-sc-65-wght-normal-DMPCXBvK.woff2 +0 -0
- package/web/assets/noto-sans-sc-66-wght-normal-BobaG10V.woff2 +0 -0
- package/web/assets/noto-sans-sc-67-wght-normal-Dzk7WhCR.woff2 +0 -0
- package/web/assets/noto-sans-sc-68-wght-normal-DGbCD9xu.woff2 +0 -0
- package/web/assets/noto-sans-sc-69-wght-normal-Ctrv1EqA.woff2 +0 -0
- package/web/assets/noto-sans-sc-70-wght-normal-RgTO941D.woff2 +0 -0
- package/web/assets/noto-sans-sc-71-wght-normal-D9sG-CWv.woff2 +0 -0
- package/web/assets/noto-sans-sc-72-wght-normal-C4oWy3ul.woff2 +0 -0
- package/web/assets/noto-sans-sc-73-wght-normal-B1ZoOTgM.woff2 +0 -0
- package/web/assets/noto-sans-sc-74-wght-normal-F7dH_rZJ.woff2 +0 -0
- package/web/assets/noto-sans-sc-75-wght-normal-Cp2wp4si.woff2 +0 -0
- package/web/assets/noto-sans-sc-76-wght-normal-B494D7xS.woff2 +0 -0
- package/web/assets/noto-sans-sc-77-wght-normal-B3MVY9Ax.woff2 +0 -0
- package/web/assets/noto-sans-sc-78-wght-normal-5jX7iNMC.woff2 +0 -0
- package/web/assets/noto-sans-sc-79-wght-normal-BIoZy8fr.woff2 +0 -0
- package/web/assets/noto-sans-sc-80-wght-normal-Bje1Fxy1.woff2 +0 -0
- package/web/assets/noto-sans-sc-81-wght-normal-B2NN7Qi3.woff2 +0 -0
- package/web/assets/noto-sans-sc-82-wght-normal-CUggNZi4.woff2 +0 -0
- package/web/assets/noto-sans-sc-83-wght-normal-99rD8YO-.woff2 +0 -0
- package/web/assets/noto-sans-sc-84-wght-normal-zMBmUocm.woff2 +0 -0
- package/web/assets/noto-sans-sc-85-wght-normal-CjI3qdxG.woff2 +0 -0
- package/web/assets/noto-sans-sc-86-wght-normal-BHY8TVEH.woff2 +0 -0
- package/web/assets/noto-sans-sc-87-wght-normal-DioZSHnU.woff2 +0 -0
- package/web/assets/noto-sans-sc-88-wght-normal-BXYxwf2t.woff2 +0 -0
- package/web/assets/noto-sans-sc-89-wght-normal-ClMFrFaL.woff2 +0 -0
- package/web/assets/noto-sans-sc-90-wght-normal-BnOlPreP.woff2 +0 -0
- package/web/assets/noto-sans-sc-91-wght-normal-DTr9RQcS.woff2 +0 -0
- package/web/assets/noto-sans-sc-97-wght-normal-9u6Aiav-.woff2 +0 -0
- package/web/assets/noto-sans-sc-98-wght-normal-BR-H2C0V.woff2 +0 -0
- package/web/assets/noto-sans-sc-99-wght-normal-BI6XPoxp.woff2 +0 -0
- package/web/assets/noto-sans-sc-cyrillic-wght-normal-BGmsQlw-.woff2 +0 -0
- package/web/assets/noto-sans-sc-latin-ext-wght-normal-DuJTpTg_.woff2 +0 -0
- package/web/assets/noto-sans-sc-latin-wght-normal-DDW8mKAR.woff2 +0 -0
- package/web/assets/noto-sans-sc-vietnamese-wght-normal-Bi3ATJ76.woff2 +0 -0
- package/web/fonts/LICENSE.txt +287 -0
- package/web/icon.svg +24 -0
- package/web/index.html +19 -0
- package/web/manifest.webmanifest +18 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { ClientMessage, ServerMessage } from './types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Small reconnecting WebSocket client for `/ws`.
|
|
5
|
+
*
|
|
6
|
+
* The console uses the same-origin `/ws` endpoint and receives every live
|
|
7
|
+
* snapshot through it; no HTTP polling is involved.
|
|
8
|
+
*/
|
|
9
|
+
export interface LiveHandlers {
|
|
10
|
+
onOpen?: () => void;
|
|
11
|
+
onMessage?: (message: ServerMessage) => void;
|
|
12
|
+
onClose?: () => void;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
let socket: WebSocket | null = null;
|
|
16
|
+
let reconnectTimer: ReturnType<typeof setTimeout> | null = null;
|
|
17
|
+
let reconnectDelay = 1000;
|
|
18
|
+
let handlers: LiveHandlers = {};
|
|
19
|
+
let disposed = false;
|
|
20
|
+
|
|
21
|
+
export function configureLive(nextHandlers: LiveHandlers): void {
|
|
22
|
+
handlers = nextHandlers || {};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export function isLiveOpen(): boolean {
|
|
26
|
+
return socket?.readyState === WebSocket.OPEN;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export function sendLive(message: ClientMessage): boolean {
|
|
30
|
+
if (!socket || socket.readyState !== WebSocket.OPEN) return false;
|
|
31
|
+
socket.send(JSON.stringify(message));
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function connectLive(): void {
|
|
36
|
+
disposed = false;
|
|
37
|
+
if (reconnectTimer) {
|
|
38
|
+
clearTimeout(reconnectTimer);
|
|
39
|
+
reconnectTimer = null;
|
|
40
|
+
}
|
|
41
|
+
if (socket && (socket.readyState === WebSocket.OPEN || socket.readyState === WebSocket.CONNECTING)) return;
|
|
42
|
+
const scheme = location.protocol === 'https:' ? 'wss:' : 'ws:';
|
|
43
|
+
let next: WebSocket;
|
|
44
|
+
try {
|
|
45
|
+
next = new WebSocket(`${scheme}//${location.host}/ws`);
|
|
46
|
+
} catch {
|
|
47
|
+
scheduleReconnect();
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
socket = next;
|
|
51
|
+
next.addEventListener('open', () => {
|
|
52
|
+
reconnectDelay = 1000;
|
|
53
|
+
handlers.onOpen?.();
|
|
54
|
+
});
|
|
55
|
+
next.addEventListener('message', (event) => {
|
|
56
|
+
try {
|
|
57
|
+
handlers.onMessage?.(JSON.parse(event.data as string) as ServerMessage);
|
|
58
|
+
} catch {
|
|
59
|
+
/* ignore malformed frames */
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
next.addEventListener('close', () => {
|
|
63
|
+
if (socket === next) socket = null;
|
|
64
|
+
handlers.onClose?.();
|
|
65
|
+
scheduleReconnect();
|
|
66
|
+
});
|
|
67
|
+
next.addEventListener('error', () => {
|
|
68
|
+
try {
|
|
69
|
+
next.close();
|
|
70
|
+
} catch {
|
|
71
|
+
/* ignore */
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function scheduleReconnect(): void {
|
|
77
|
+
if (disposed || reconnectTimer) return;
|
|
78
|
+
const delay = reconnectDelay;
|
|
79
|
+
reconnectDelay = Math.min(8000, Math.round(delay * 1.6));
|
|
80
|
+
reconnectTimer = setTimeout(() => {
|
|
81
|
+
reconnectTimer = null;
|
|
82
|
+
connectLive();
|
|
83
|
+
}, delay);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function refreshLive(): void {
|
|
87
|
+
if (!isLiveOpen()) connectLive();
|
|
88
|
+
else sendLive({ type: 'refresh' });
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function disposeLive(): void {
|
|
92
|
+
disposed = true;
|
|
93
|
+
if (reconnectTimer) {
|
|
94
|
+
clearTimeout(reconnectTimer);
|
|
95
|
+
reconnectTimer = null;
|
|
96
|
+
}
|
|
97
|
+
const current = socket;
|
|
98
|
+
socket = null;
|
|
99
|
+
try {
|
|
100
|
+
current?.close();
|
|
101
|
+
} catch {
|
|
102
|
+
/* ignore */
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { mount } from 'svelte';
|
|
2
|
+
import '@fontsource-variable/inter';
|
|
3
|
+
import '@fontsource-variable/noto-sans-sc';
|
|
4
|
+
import '@fontsource-variable/jetbrains-mono';
|
|
5
|
+
import App from './App.svelte';
|
|
6
|
+
import './styles/global.css';
|
|
7
|
+
|
|
8
|
+
const target = document.getElementById('app');
|
|
9
|
+
if (!target) throw new Error('Missing #app mount target');
|
|
10
|
+
|
|
11
|
+
const instance = mount(App, { target });
|
|
12
|
+
|
|
13
|
+
export default instance;
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@import "tw-animate-css";
|
|
3
|
+
@import "shadcn-svelte/tailwind.css";
|
|
4
|
+
|
|
5
|
+
@custom-variant dark (&:is(.dark *));
|
|
6
|
+
|
|
7
|
+
:root {
|
|
8
|
+
color-scheme: dark;
|
|
9
|
+
--radius: 1rem;
|
|
10
|
+
|
|
11
|
+
/* DeepSeek-inspired ink and blue palette. The canvas is slightly lighter
|
|
12
|
+
than the cards so the console reads as layered control surfaces. */
|
|
13
|
+
--background: #151a23;
|
|
14
|
+
--foreground: #eef2f8;
|
|
15
|
+
--card: #0c1017;
|
|
16
|
+
--card-foreground: #eef2f8;
|
|
17
|
+
--popover: #111722;
|
|
18
|
+
--popover-foreground: #eef2f8;
|
|
19
|
+
--primary: #3457d5;
|
|
20
|
+
--primary-foreground: #f7f9ff;
|
|
21
|
+
--secondary: #171d29;
|
|
22
|
+
--secondary-foreground: #e7edf7;
|
|
23
|
+
--muted: #171d27;
|
|
24
|
+
--muted-foreground: #8b96a9;
|
|
25
|
+
--accent: #1a2438;
|
|
26
|
+
--accent-foreground: #eef2f8;
|
|
27
|
+
--destructive: #f47d8e;
|
|
28
|
+
--border: rgb(255 255 255 / 8%);
|
|
29
|
+
--input: rgb(255 255 255 / 11%);
|
|
30
|
+
--ring: #6b88ff;
|
|
31
|
+
|
|
32
|
+
--chart-1: #6b88ff;
|
|
33
|
+
--chart-2: #4cc9b0;
|
|
34
|
+
--chart-3: #e8b86b;
|
|
35
|
+
--chart-4: #a68fff;
|
|
36
|
+
--chart-5: #f47d8e;
|
|
37
|
+
|
|
38
|
+
--sidebar: #0c1017;
|
|
39
|
+
--sidebar-foreground: #eef2f8;
|
|
40
|
+
--sidebar-primary: #3457d5;
|
|
41
|
+
--sidebar-primary-foreground: #f7f9ff;
|
|
42
|
+
--sidebar-accent: #1a2438;
|
|
43
|
+
--sidebar-accent-foreground: #eef2f8;
|
|
44
|
+
--sidebar-border: rgb(255 255 255 / 8%);
|
|
45
|
+
--sidebar-ring: #6b88ff;
|
|
46
|
+
|
|
47
|
+
--brand: #7d96ff;
|
|
48
|
+
--brand-deep: #2845a8;
|
|
49
|
+
--brand-soft: rgb(70 103 232 / 13%);
|
|
50
|
+
--success: #5bd6ad;
|
|
51
|
+
--success-soft: rgb(56 189 148 / 12%);
|
|
52
|
+
--warn: #edbd77;
|
|
53
|
+
--warn-soft: rgb(237 189 119 / 12%);
|
|
54
|
+
--danger: #f47d8e;
|
|
55
|
+
--danger-soft: rgb(244 125 142 / 12%);
|
|
56
|
+
--surface-2: #111722;
|
|
57
|
+
--surface-3: #171e2a;
|
|
58
|
+
--hairline: rgb(255 255 255 / 7%);
|
|
59
|
+
|
|
60
|
+
--font-sans: "Inter Variable", "Noto Sans SC Variable", system-ui, sans-serif;
|
|
61
|
+
--font-mono: "JetBrains Mono Variable", "Inter Variable", monospace;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
body[data-theme="light"] {
|
|
65
|
+
color-scheme: light;
|
|
66
|
+
--background: #eef2f8;
|
|
67
|
+
--foreground: #131a28;
|
|
68
|
+
--card: #ffffff;
|
|
69
|
+
--card-foreground: #131a28;
|
|
70
|
+
--popover: #ffffff;
|
|
71
|
+
--popover-foreground: #131a28;
|
|
72
|
+
--primary: #2847b5;
|
|
73
|
+
--primary-foreground: #f8faff;
|
|
74
|
+
--secondary: #edf1f9;
|
|
75
|
+
--secondary-foreground: #1d2940;
|
|
76
|
+
--muted: #eef2f8;
|
|
77
|
+
--muted-foreground: #65728a;
|
|
78
|
+
--accent: #e7ecf8;
|
|
79
|
+
--accent-foreground: #18233a;
|
|
80
|
+
--destructive: #c33d54;
|
|
81
|
+
--border: rgb(20 33 59 / 9%);
|
|
82
|
+
--input: rgb(20 33 59 / 13%);
|
|
83
|
+
--ring: #3457d5;
|
|
84
|
+
|
|
85
|
+
--chart-1: #3457d5;
|
|
86
|
+
--chart-2: #0d9b7e;
|
|
87
|
+
--chart-3: #a56a14;
|
|
88
|
+
--chart-4: #7153d6;
|
|
89
|
+
--chart-5: #c33d54;
|
|
90
|
+
|
|
91
|
+
--sidebar: #ffffff;
|
|
92
|
+
--sidebar-foreground: #131a28;
|
|
93
|
+
--sidebar-primary: #2847b5;
|
|
94
|
+
--sidebar-primary-foreground: #f8faff;
|
|
95
|
+
--sidebar-accent: #e7ecf8;
|
|
96
|
+
--sidebar-accent-foreground: #18233a;
|
|
97
|
+
--sidebar-border: rgb(20 33 59 / 9%);
|
|
98
|
+
--sidebar-ring: #3457d5;
|
|
99
|
+
|
|
100
|
+
--brand: #3457d5;
|
|
101
|
+
--brand-deep: #1e378f;
|
|
102
|
+
--brand-soft: rgb(52 87 213 / 8%);
|
|
103
|
+
--success: #087f66;
|
|
104
|
+
--success-soft: rgb(8 127 102 / 8%);
|
|
105
|
+
--warn: #8d5a0b;
|
|
106
|
+
--warn-soft: rgb(141 90 11 / 9%);
|
|
107
|
+
--danger: #bb3149;
|
|
108
|
+
--danger-soft: rgb(187 49 73 / 8%);
|
|
109
|
+
--surface-2: #f5f7fc;
|
|
110
|
+
--surface-3: #eef2f8;
|
|
111
|
+
--hairline: rgb(20 33 59 / 8%);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@theme inline {
|
|
115
|
+
--font-sans: "Inter Variable", "Noto Sans SC Variable", system-ui, sans-serif;
|
|
116
|
+
--font-mono: "JetBrains Mono Variable", "Inter Variable", monospace;
|
|
117
|
+
|
|
118
|
+
--color-background: var(--background);
|
|
119
|
+
--color-foreground: var(--foreground);
|
|
120
|
+
--color-card: var(--card);
|
|
121
|
+
--color-card-foreground: var(--card-foreground);
|
|
122
|
+
--color-popover: var(--popover);
|
|
123
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
124
|
+
--color-primary: var(--primary);
|
|
125
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
126
|
+
--color-secondary: var(--secondary);
|
|
127
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
128
|
+
--color-muted: var(--muted);
|
|
129
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
130
|
+
--color-accent: var(--accent);
|
|
131
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
132
|
+
--color-destructive: var(--destructive);
|
|
133
|
+
--color-border: var(--border);
|
|
134
|
+
--color-input: var(--input);
|
|
135
|
+
--color-ring: var(--ring);
|
|
136
|
+
--color-chart-1: var(--chart-1);
|
|
137
|
+
--color-chart-2: var(--chart-2);
|
|
138
|
+
--color-chart-3: var(--chart-3);
|
|
139
|
+
--color-chart-4: var(--chart-4);
|
|
140
|
+
--color-chart-5: var(--chart-5);
|
|
141
|
+
--color-sidebar: var(--sidebar);
|
|
142
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
143
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
144
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
145
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
146
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
147
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
148
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
149
|
+
|
|
150
|
+
--color-brand: var(--brand);
|
|
151
|
+
--color-brand-deep: var(--brand-deep);
|
|
152
|
+
--color-brand-soft: var(--brand-soft);
|
|
153
|
+
--color-success: var(--success);
|
|
154
|
+
--color-success-soft: var(--success-soft);
|
|
155
|
+
--color-warn: var(--warn);
|
|
156
|
+
--color-warn-soft: var(--warn-soft);
|
|
157
|
+
--color-danger: var(--danger);
|
|
158
|
+
--color-danger-soft: var(--danger-soft);
|
|
159
|
+
--color-surface-2: var(--surface-2);
|
|
160
|
+
--color-surface-3: var(--surface-3);
|
|
161
|
+
--color-hairline: var(--hairline);
|
|
162
|
+
|
|
163
|
+
--radius-sm: calc(var(--radius) * 0.6);
|
|
164
|
+
--radius-md: calc(var(--radius) * 0.8);
|
|
165
|
+
--radius-lg: var(--radius);
|
|
166
|
+
--radius-xl: calc(var(--radius) * 1.35);
|
|
167
|
+
--radius-2xl: calc(var(--radius) * 1.75);
|
|
168
|
+
--radius-3xl: calc(var(--radius) * 2.1);
|
|
169
|
+
--radius-4xl: calc(var(--radius) * 2.5);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
@layer base {
|
|
173
|
+
* {
|
|
174
|
+
@apply border-border outline-ring/50;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
html {
|
|
178
|
+
width: 100%;
|
|
179
|
+
height: 100%;
|
|
180
|
+
height: 100dvh;
|
|
181
|
+
overflow: hidden;
|
|
182
|
+
font-family: var(--font-sans);
|
|
183
|
+
-webkit-text-size-adjust: 100%;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
body {
|
|
187
|
+
width: 100%;
|
|
188
|
+
height: 100%;
|
|
189
|
+
height: 100dvh;
|
|
190
|
+
margin: 0;
|
|
191
|
+
overflow: hidden;
|
|
192
|
+
background:
|
|
193
|
+
radial-gradient(900px 520px at 12% -12%, rgb(65 93 210 / 10%), transparent 62%),
|
|
194
|
+
linear-gradient(140deg, #171c26 0%, var(--background) 54%, #131821 100%);
|
|
195
|
+
color: var(--foreground);
|
|
196
|
+
font-family: var(--font-sans);
|
|
197
|
+
-webkit-font-smoothing: antialiased;
|
|
198
|
+
text-rendering: optimizeLegibility;
|
|
199
|
+
touch-action: pan-y;
|
|
200
|
+
overscroll-behavior: none;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
body[data-theme="light"] {
|
|
204
|
+
background:
|
|
205
|
+
radial-gradient(900px 520px at 12% -12%, rgb(52 87 213 / 8%), transparent 62%),
|
|
206
|
+
linear-gradient(140deg, #f4f7fc 0%, var(--background) 55%, #e9eef7 100%);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
#app {
|
|
210
|
+
width: 100%;
|
|
211
|
+
height: 100%;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
button,
|
|
215
|
+
input {
|
|
216
|
+
font: inherit;
|
|
217
|
+
color: inherit;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
button {
|
|
221
|
+
cursor: pointer;
|
|
222
|
+
-webkit-tap-highlight-color: transparent;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
[hidden] {
|
|
226
|
+
display: none !important;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
svg {
|
|
230
|
+
display: block;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
::selection {
|
|
234
|
+
background: rgb(70 103 232 / 28%);
|
|
235
|
+
color: var(--foreground);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
* {
|
|
239
|
+
scrollbar-width: thin;
|
|
240
|
+
scrollbar-color: color-mix(in srgb, var(--foreground) 16%, transparent) transparent;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
@layer utilities {
|
|
245
|
+
.no-scrollbar {
|
|
246
|
+
scrollbar-width: none;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.no-scrollbar::-webkit-scrollbar {
|
|
250
|
+
display: none;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.numeric {
|
|
254
|
+
font-variant-numeric: tabular-nums;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.eyebrow {
|
|
258
|
+
color: var(--muted-foreground);
|
|
259
|
+
font-size: 12px;
|
|
260
|
+
font-weight: 650;
|
|
261
|
+
line-height: 1.2;
|
|
262
|
+
letter-spacing: 0.13em;
|
|
263
|
+
text-transform: uppercase;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.hairline-top {
|
|
267
|
+
border-top: 1px solid var(--hairline);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.hairline-bottom {
|
|
271
|
+
border-bottom: 1px solid var(--hairline);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.panel-card {
|
|
275
|
+
border: 1px solid var(--border);
|
|
276
|
+
border-radius: 26px;
|
|
277
|
+
background: var(--card);
|
|
278
|
+
box-shadow: 0 18px 44px rgb(0 0 0 / 12%);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.status-success {
|
|
282
|
+
border-color: color-mix(in srgb, var(--success) 24%, transparent);
|
|
283
|
+
background: var(--success-soft);
|
|
284
|
+
color: var(--success);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.status-warn {
|
|
288
|
+
border-color: color-mix(in srgb, var(--warn) 28%, transparent);
|
|
289
|
+
background: var(--warn-soft);
|
|
290
|
+
color: var(--warn);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.status-danger {
|
|
294
|
+
border-color: color-mix(in srgb, var(--danger) 28%, transparent);
|
|
295
|
+
background: var(--danger-soft);
|
|
296
|
+
color: var(--danger);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.status-brand {
|
|
300
|
+
border-color: color-mix(in srgb, var(--brand) 24%, transparent);
|
|
301
|
+
background: var(--brand-soft);
|
|
302
|
+
color: var(--brand);
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
@media (prefers-reduced-motion: reduce) {
|
|
307
|
+
*,
|
|
308
|
+
*::before,
|
|
309
|
+
*::after {
|
|
310
|
+
animation-duration: 0.001ms !important;
|
|
311
|
+
animation-iteration-count: 1 !important;
|
|
312
|
+
transition-duration: 0.001ms !important;
|
|
313
|
+
scroll-behavior: auto !important;
|
|
314
|
+
}
|
|
315
|
+
}
|