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
1.2 KiB
JavaScript
2 lines
1.2 KiB
JavaScript
import{p as n}from"./vendor-lezer-sass-C6Jy1LV-.js";import{L as s,c as i,f as t,d as a,k as m,e as p}from"./cm-language-CDsY7zq0.js";import{defineCSSCompletionSource as d}from"./cm-lang-css-NVaY7c0M.js";import"./vendor-lezer-lr-eZ5kYecM.js";import"./vendor-lezer-common-tVQBIsvN.js";import"./vendor-lezer-highlight-DuEf3ZFH.js";import"./cm-state-X9WpHEQO.js";import"./vendor-marijn-find-cluster-break-DXwl3gUT.js";import"./cm-view-CiSFjroV.js";import"./vendor-style-mod-Bs6eFhZE.js";import"./vendor-w3c-keyname-Vcq4gwWv.js";import"./vendor-crelt-C8TCjufn.js";import"./vendor-lezer-css-BMlSRxbI.js";const e=s.define({name:"sass",parser:n.configure({props:[t.add({Block:m,Comment(o,r){return{from:o.from+2,to:r.sliceDoc(o.to-2,o.to)=="*/"?o.to-2:o.to}}}),a.add({Declaration:p()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),l=e.configure({dialect:"indented",props:[a.add({"Block RuleSet":o=>o.baseIndent+o.unit}),t.add({Block:o=>({from:o.from,to:o.to})})]}),u=d(o=>o.name=="VariableName"||o.name=="SassVariableName");function w(o){return new i(o?.indented?l:e,e.data.of({autocomplete:u}))}export{w as sass,u as sassCompletionSource,e as sassLanguage};
|