838eec30a8
- 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.
2 lines
741 B
JavaScript
2 lines
741 B
JavaScript
import{f as k}from"./vendor-micromark-factory-space-BM4zcA-B.js";import{m as E}from"./vendor-micromark-util-character-Cn8n62xE.js";function B(r,S,l,m,u,x){let i;return h;function h(n){return n===34||n===39||n===40?(r.enter(m),r.enter(u),r.consume(n),r.exit(u),i=n===40?41:n,g):l(n)}function g(n){return n===i?(r.enter(u),r.consume(n),r.exit(u),r.exit(m),S):(r.enter(x),a(n))}function a(n){return n===i?(r.exit(x),g(i)):n===null?l(n):E(n)?(r.enter("lineEnding"),r.consume(n),r.exit("lineEnding"),k(r,a,"linePrefix")):(r.enter("chunkString",{contentType:"string"}),t(n))}function t(n){return n===i||n===null||E(n)?(r.exit("chunkString"),a(n)):(r.consume(n),n===92?b:t)}function b(n){return n===i||n===92?(r.consume(n),t):t(n)}}export{B as f};
|