feat: add theme management with light and dark modes

- Implemented a new composable `useTheme` for managing theme state.
- Added functions to read and write theme preference to local storage.
- Applied theme styles to the DOM based on user preference.
- Introduced a toggle function to switch between light and dark themes.

refactor: enhance copilot plugin functionality

- Improved request handling with sequence and document versioning.
- Refactored ghost text handling to improve clarity and efficiency.
- Updated markdown insertion logic to handle parsed content more robustly.
- Enhanced error handling and logging for better debugging.

style: update global styles for light and dark themes

- Defined CSS variables for light and dark themes to streamline styling.
- Improved overall styling consistency and responsiveness.
- Added transitions for smoother theme changes and interactions.
This commit is contained in:
2026-02-15 15:44:09 +08:00
parent 03bb21d5c6
commit 838eec30a8
205 changed files with 1868 additions and 344 deletions
@@ -0,0 +1 @@
import{c as m}from"./vendor-micromark-util-combine-extensions-d8XJZrgA.js";import{g as r}from"./vendor-micromark-extension-gfm-autolink-literal-zrBeIzAz.js";import{g as t}from"./vendor-micromark-extension-gfm-footnote-DC8zpk-O.js";import{g as f}from"./vendor-micromark-extension-gfm-strikethrough-r4kRFlAf.js";import{g}from"./vendor-micromark-extension-gfm-table-B99Gg4C5.js";import{g as i}from"./vendor-micromark-extension-gfm-task-list-item-BZuxQwYN.js";function c(o){return m([r(),t(),f(o),g(),i()])}export{c as g};