Files
llm-in-text/.build-check/assets/vendor-micromark-factory-destination-QK-4WEtY.js
T
ydy0615 838eec30a8 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.
2026-02-15 15:44:09 +08:00

2 lines
1.0 KiB
JavaScript

import{d as h,m as j,j as B}from"./vendor-micromark-util-character-Cn8n62xE.js";function D(r,S,l,i,g,t,E,m,w){const N=w||Number.POSITIVE_INFINITY;let x=0;return b;function b(n){return n===60?(r.enter(i),r.enter(g),r.enter(t),r.consume(n),r.exit(t),I):n===null||n===32||n===41||h(n)?l(n):(r.enter(i),r.enter(E),r.enter(m),r.enter("chunkString",{contentType:"string"}),u(n))}function I(n){return n===62?(r.enter(t),r.consume(n),r.exit(t),r.exit(g),r.exit(i),S):(r.enter(m),r.enter("chunkString",{contentType:"string"}),a(n))}function a(n){return n===62?(r.exit("chunkString"),r.exit(m),I(n)):n===null||n===60||j(n)?l(n):(r.consume(n),n===92?L:a)}function L(n){return n===60||n===62||n===92?(r.consume(n),a):a(n)}function u(n){return!x&&(n===null||n===41||B(n))?(r.exit("chunkString"),r.exit(m),r.exit(E),r.exit(i),S(n)):x<N&&n===40?(r.consume(n),x++,u):n===41?(r.consume(n),x--,u):n===null||n===32||n===40||h(n)?l(n):(r.consume(n),n===92?O:u)}function O(n){return n===40||n===41||n===92?(r.consume(n),u):u(n)}}export{D as f};