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
275 B
JavaScript
2 lines
275 B
JavaScript
import{f as a}from"./vendor-micromark-util-character-Cn8n62xE.js";function p(n,t,i,u){const f=u?u-1:Number.POSITIVE_INFINITY;let m=0;return o;function o(r){return a(r)?(n.enter(i),e(r)):t(r)}function e(r){return a(r)&&m++<f?(n.consume(r),e):(n.exit(i),t(r))}}export{p as f};
|