Files
llm-in-text/.build-check/assets/vendor-micromark-extension-gfm-task-list-item-BZuxQwYN.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
980 B
JavaScript

import{f as h}from"./vendor-micromark-factory-space-BM4zcA-B.js";import{j as m,m as C,f as c}from"./vendor-micromark-util-character-Cn8n62xE.js";const l={name:"tasklistCheck",tokenize:L};function g(){return{text:{91:l}}}function L(n,i,r){const a=this;return e;function e(t){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?r(t):(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(t),n.exit("taskListCheckMarker"),s)}function s(t){return m(t)?(n.enter("taskListCheckValueUnchecked"),n.consume(t),n.exit("taskListCheckValueUnchecked"),k):t===88||t===120?(n.enter("taskListCheckValueChecked"),n.consume(t),n.exit("taskListCheckValueChecked"),k):r(t)}function k(t){return t===93?(n.enter("taskListCheckMarker"),n.consume(t),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),u):r(t)}function u(t){return C(t)?i(t):c(t)?n.check({tokenize:o},i,r)(t):r(t)}}function o(n,i,r){return h(n,a,"whitespace");function a(e){return e===null?r(e):i(e)}}export{g};