groove-dev 0.27.136 → 0.27.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@groove-dev/cli/package.json +1 -1
- package/node_modules/@groove-dev/daemon/package.json +1 -1
- package/node_modules/@groove-dev/daemon/src/adaptive.js +26 -16
- package/node_modules/@groove-dev/daemon/src/journalist.js +62 -24
- package/node_modules/@groove-dev/daemon/src/model-lab.js +6 -5
- package/node_modules/@groove-dev/daemon/src/rotator.js +48 -21
- package/{packages/gui/dist/assets/codemirror-DRQdprYi.js → node_modules/@groove-dev/gui/dist/assets/codemirror-BYKpdS2W.js} +1 -1
- package/{packages/gui/dist/assets/index-BrZHF7pK.js → node_modules/@groove-dev/gui/dist/assets/index-DcNgRadn.js} +1764 -1764
- package/node_modules/@groove-dev/gui/dist/assets/index-EY6WfKWH.css +1 -0
- package/node_modules/@groove-dev/gui/dist/index.html +3 -3
- package/node_modules/@groove-dev/gui/package.json +2 -1
- package/node_modules/@groove-dev/gui/src/components/editor/code-editor.jsx +81 -63
- package/node_modules/@groove-dev/gui/src/components/editor/editor-status-bar.jsx +66 -0
- package/node_modules/@groove-dev/gui/src/components/lab/system-prompt-editor.jsx +21 -24
- package/node_modules/@groove-dev/gui/src/stores/groove.js +5 -0
- package/node_modules/@uiw/codemirror-theme-abcdef/README.md +152 -0
- package/node_modules/@uiw/codemirror-theme-abcdef/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-abcdef/cjs/index.js +95 -0
- package/node_modules/@uiw/codemirror-theme-abcdef/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-abcdef/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-abcdef/esm/index.js +84 -0
- package/node_modules/@uiw/codemirror-theme-abcdef/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-abcdef/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-abcdef/src/index.ts +52 -0
- package/node_modules/@uiw/codemirror-theme-abyss/README.md +150 -0
- package/node_modules/@uiw/codemirror-theme-abyss/cjs/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-abyss/cjs/color.js +31 -0
- package/node_modules/@uiw/codemirror-theme-abyss/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-abyss/cjs/index.js +103 -0
- package/node_modules/@uiw/codemirror-theme-abyss/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-abyss/esm/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-abyss/esm/color.js +25 -0
- package/node_modules/@uiw/codemirror-theme-abyss/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-abyss/esm/index.js +93 -0
- package/node_modules/@uiw/codemirror-theme-abyss/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-abyss/package.json +45 -0
- package/node_modules/@uiw/codemirror-theme-abyss/src/color.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-abyss/src/index.ts +52 -0
- package/node_modules/@uiw/codemirror-theme-androidstudio/README.md +153 -0
- package/node_modules/@uiw/codemirror-theme-androidstudio/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-androidstudio/cjs/index.js +66 -0
- package/node_modules/@uiw/codemirror-theme-androidstudio/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-androidstudio/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-androidstudio/esm/index.js +55 -0
- package/node_modules/@uiw/codemirror-theme-androidstudio/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-androidstudio/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-androidstudio/src/index.ts +40 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/README.md +149 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/cjs/color.d.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/cjs/color.js +32 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/cjs/index.js +106 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/esm/color.d.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/esm/color.js +26 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/esm/index.js +96 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/package.json +45 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/src/color.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-andromeda/src/index.ts +56 -0
- package/node_modules/@uiw/codemirror-theme-atomone/README.md +151 -0
- package/node_modules/@uiw/codemirror-theme-atomone/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-atomone/cjs/index.js +69 -0
- package/node_modules/@uiw/codemirror-theme-atomone/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-atomone/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-atomone/esm/index.js +58 -0
- package/node_modules/@uiw/codemirror-theme-atomone/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-atomone/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-atomone/src/index.ts +48 -0
- package/node_modules/@uiw/codemirror-theme-aura/README.md +151 -0
- package/node_modules/@uiw/codemirror-theme-aura/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-aura/cjs/index.js +99 -0
- package/node_modules/@uiw/codemirror-theme-aura/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-aura/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-aura/esm/index.js +89 -0
- package/node_modules/@uiw/codemirror-theme-aura/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-aura/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-aura/src/index.ts +51 -0
- package/node_modules/@uiw/codemirror-theme-basic/README.md +159 -0
- package/node_modules/@uiw/codemirror-theme-basic/cjs/dark.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-basic/cjs/dark.js +156 -0
- package/node_modules/@uiw/codemirror-theme-basic/cjs/index.d.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-basic/cjs/index.js +27 -0
- package/node_modules/@uiw/codemirror-theme-basic/cjs/light.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-basic/cjs/light.js +153 -0
- package/node_modules/@uiw/codemirror-theme-basic/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-basic/dark.d.ts +6 -0
- package/node_modules/@uiw/codemirror-theme-basic/esm/dark.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-basic/esm/dark.js +146 -0
- package/node_modules/@uiw/codemirror-theme-basic/esm/index.d.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-basic/esm/index.js +2 -0
- package/node_modules/@uiw/codemirror-theme-basic/esm/light.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-basic/esm/light.js +143 -0
- package/node_modules/@uiw/codemirror-theme-basic/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-basic/light.d.ts +6 -0
- package/node_modules/@uiw/codemirror-theme-basic/package.json +63 -0
- package/node_modules/@uiw/codemirror-theme-basic/src/dark.ts +76 -0
- package/node_modules/@uiw/codemirror-theme-basic/src/index.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-basic/src/light.ts +81 -0
- package/node_modules/@uiw/codemirror-theme-bbedit/README.md +151 -0
- package/node_modules/@uiw/codemirror-theme-bbedit/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-bbedit/cjs/index.js +77 -0
- package/node_modules/@uiw/codemirror-theme-bbedit/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-bbedit/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-bbedit/esm/index.js +67 -0
- package/node_modules/@uiw/codemirror-theme-bbedit/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-bbedit/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-bbedit/src/index.ts +44 -0
- package/node_modules/@uiw/codemirror-theme-bespin/README.md +151 -0
- package/node_modules/@uiw/codemirror-theme-bespin/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-bespin/cjs/index.js +72 -0
- package/node_modules/@uiw/codemirror-theme-bespin/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-bespin/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-bespin/esm/index.js +61 -0
- package/node_modules/@uiw/codemirror-theme-bespin/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-bespin/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-bespin/src/index.ts +46 -0
- package/node_modules/@uiw/codemirror-theme-console/README.md +160 -0
- package/node_modules/@uiw/codemirror-theme-console/cjs/dark.d.ts +4 -0
- package/node_modules/@uiw/codemirror-theme-console/cjs/dark.js +36 -0
- package/node_modules/@uiw/codemirror-theme-console/cjs/index.d.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-console/cjs/index.js +27 -0
- package/node_modules/@uiw/codemirror-theme-console/cjs/light.d.ts +4 -0
- package/node_modules/@uiw/codemirror-theme-console/cjs/light.js +36 -0
- package/node_modules/@uiw/codemirror-theme-console/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-console/dark.d.ts +6 -0
- package/node_modules/@uiw/codemirror-theme-console/esm/dark.d.ts +4 -0
- package/node_modules/@uiw/codemirror-theme-console/esm/dark.js +26 -0
- package/node_modules/@uiw/codemirror-theme-console/esm/index.d.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-console/esm/index.js +2 -0
- package/node_modules/@uiw/codemirror-theme-console/esm/light.d.ts +4 -0
- package/node_modules/@uiw/codemirror-theme-console/esm/light.js +26 -0
- package/node_modules/@uiw/codemirror-theme-console/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-console/light.d.ts +6 -0
- package/node_modules/@uiw/codemirror-theme-console/package.json +62 -0
- package/node_modules/@uiw/codemirror-theme-console/src/dark.ts +27 -0
- package/node_modules/@uiw/codemirror-theme-console/src/index.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-console/src/light.ts +27 -0
- package/node_modules/@uiw/codemirror-theme-copilot/README.md +149 -0
- package/node_modules/@uiw/codemirror-theme-copilot/cjs/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-copilot/cjs/color.js +31 -0
- package/node_modules/@uiw/codemirror-theme-copilot/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-copilot/cjs/index.js +106 -0
- package/node_modules/@uiw/codemirror-theme-copilot/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-copilot/esm/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-copilot/esm/color.js +25 -0
- package/node_modules/@uiw/codemirror-theme-copilot/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-copilot/esm/index.js +96 -0
- package/node_modules/@uiw/codemirror-theme-copilot/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-copilot/package.json +45 -0
- package/node_modules/@uiw/codemirror-theme-copilot/src/color.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-copilot/src/index.ts +56 -0
- package/node_modules/@uiw/codemirror-theme-darcula/README.md +151 -0
- package/node_modules/@uiw/codemirror-theme-darcula/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-darcula/cjs/index.js +72 -0
- package/node_modules/@uiw/codemirror-theme-darcula/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-darcula/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-darcula/esm/index.js +61 -0
- package/node_modules/@uiw/codemirror-theme-darcula/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-darcula/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-darcula/src/index.ts +46 -0
- package/node_modules/@uiw/codemirror-theme-dracula/README.md +151 -0
- package/node_modules/@uiw/codemirror-theme-dracula/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-dracula/cjs/index.js +69 -0
- package/node_modules/@uiw/codemirror-theme-dracula/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-dracula/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-dracula/esm/index.js +58 -0
- package/node_modules/@uiw/codemirror-theme-dracula/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-dracula/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-dracula/src/index.ts +48 -0
- package/node_modules/@uiw/codemirror-theme-duotone/README.md +156 -0
- package/node_modules/@uiw/codemirror-theme-duotone/cjs/index.d.ts +9 -0
- package/node_modules/@uiw/codemirror-theme-duotone/cjs/index.js +115 -0
- package/node_modules/@uiw/codemirror-theme-duotone/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-duotone/esm/index.d.ts +9 -0
- package/node_modules/@uiw/codemirror-theme-duotone/esm/index.js +102 -0
- package/node_modules/@uiw/codemirror-theme-duotone/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-duotone/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-duotone/src/index.ts +79 -0
- package/node_modules/@uiw/codemirror-theme-eclipse/README.md +145 -0
- package/node_modules/@uiw/codemirror-theme-eclipse/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-eclipse/cjs/index.js +78 -0
- package/node_modules/@uiw/codemirror-theme-eclipse/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-eclipse/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-eclipse/esm/index.js +68 -0
- package/node_modules/@uiw/codemirror-theme-eclipse/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-eclipse/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-eclipse/src/index.ts +44 -0
- package/node_modules/@uiw/codemirror-theme-github/README.md +154 -0
- package/node_modules/@uiw/codemirror-theme-github/cjs/index.d.ts +9 -0
- package/node_modules/@uiw/codemirror-theme-github/cjs/index.js +156 -0
- package/node_modules/@uiw/codemirror-theme-github/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-github/esm/index.d.ts +9 -0
- package/node_modules/@uiw/codemirror-theme-github/esm/index.js +143 -0
- package/node_modules/@uiw/codemirror-theme-github/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-github/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-github/src/index.ts +86 -0
- package/node_modules/@uiw/codemirror-theme-gruvbox-dark/README.md +153 -0
- package/node_modules/@uiw/codemirror-theme-gruvbox-dark/cjs/index.d.ts +8 -0
- package/node_modules/@uiw/codemirror-theme-gruvbox-dark/cjs/index.js +296 -0
- package/node_modules/@uiw/codemirror-theme-gruvbox-dark/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-gruvbox-dark/esm/index.d.ts +8 -0
- package/node_modules/@uiw/codemirror-theme-gruvbox-dark/esm/index.js +283 -0
- package/node_modules/@uiw/codemirror-theme-gruvbox-dark/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-gruvbox-dark/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-gruvbox-dark/src/index.ts +203 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/README.md +149 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/cjs/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/cjs/color.js +31 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/cjs/index.js +103 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/esm/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/esm/color.js +25 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/esm/index.js +93 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/package.json +45 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/src/color.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-kimbie/src/index.ts +52 -0
- package/node_modules/@uiw/codemirror-theme-material/README.md +161 -0
- package/node_modules/@uiw/codemirror-theme-material/cjs/index.d.ts +12 -0
- package/node_modules/@uiw/codemirror-theme-material/cjs/index.js +247 -0
- package/node_modules/@uiw/codemirror-theme-material/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-material/esm/index.d.ts +12 -0
- package/node_modules/@uiw/codemirror-theme-material/esm/index.js +235 -0
- package/node_modules/@uiw/codemirror-theme-material/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-material/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-material/src/index.ts +129 -0
- package/node_modules/@uiw/codemirror-theme-monokai/README.md +149 -0
- package/node_modules/@uiw/codemirror-theme-monokai/cjs/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-monokai/cjs/color.js +31 -0
- package/node_modules/@uiw/codemirror-theme-monokai/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-monokai/cjs/index.js +103 -0
- package/node_modules/@uiw/codemirror-theme-monokai/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-monokai/esm/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-monokai/esm/color.js +25 -0
- package/node_modules/@uiw/codemirror-theme-monokai/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-monokai/esm/index.js +93 -0
- package/node_modules/@uiw/codemirror-theme-monokai/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-monokai/package.json +45 -0
- package/node_modules/@uiw/codemirror-theme-monokai/src/color.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-monokai/src/index.ts +52 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/README.md +151 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/cjs/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/cjs/color.js +31 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/cjs/index.js +103 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/esm/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/esm/color.js +25 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/esm/index.js +93 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/package.json +46 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/src/color.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-monokai-dimmed/src/index.ts +52 -0
- package/node_modules/@uiw/codemirror-theme-noctis-lilac/README.md +149 -0
- package/node_modules/@uiw/codemirror-theme-noctis-lilac/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-noctis-lilac/cjs/index.js +83 -0
- package/node_modules/@uiw/codemirror-theme-noctis-lilac/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-noctis-lilac/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-noctis-lilac/esm/index.js +73 -0
- package/node_modules/@uiw/codemirror-theme-noctis-lilac/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-noctis-lilac/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-noctis-lilac/src/index.ts +49 -0
- package/node_modules/@uiw/codemirror-theme-nord/README.md +149 -0
- package/node_modules/@uiw/codemirror-theme-nord/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-nord/cjs/index.js +159 -0
- package/node_modules/@uiw/codemirror-theme-nord/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-nord/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-nord/esm/index.js +149 -0
- package/node_modules/@uiw/codemirror-theme-nord/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-nord/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-nord/src/index.ts +77 -0
- package/node_modules/@uiw/codemirror-theme-okaidia/README.md +147 -0
- package/node_modules/@uiw/codemirror-theme-okaidia/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-okaidia/cjs/index.js +69 -0
- package/node_modules/@uiw/codemirror-theme-okaidia/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-okaidia/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-okaidia/esm/index.js +59 -0
- package/node_modules/@uiw/codemirror-theme-okaidia/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-okaidia/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-okaidia/src/index.ts +41 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/README.md +149 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/cjs/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/cjs/color.js +31 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/cjs/index.js +104 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/esm/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/esm/color.js +25 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/esm/index.js +94 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/package.json +45 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/src/color.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-quietlight/src/index.ts +53 -0
- package/node_modules/@uiw/codemirror-theme-red/README.md +149 -0
- package/node_modules/@uiw/codemirror-theme-red/cjs/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-red/cjs/color.js +31 -0
- package/node_modules/@uiw/codemirror-theme-red/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-red/cjs/index.js +103 -0
- package/node_modules/@uiw/codemirror-theme-red/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-red/esm/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-red/esm/color.js +25 -0
- package/node_modules/@uiw/codemirror-theme-red/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-red/esm/index.js +93 -0
- package/node_modules/@uiw/codemirror-theme-red/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-red/package.json +45 -0
- package/node_modules/@uiw/codemirror-theme-red/src/color.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-red/src/index.ts +52 -0
- package/node_modules/@uiw/codemirror-theme-solarized/README.md +160 -0
- package/node_modules/@uiw/codemirror-theme-solarized/cjs/dark-color.d.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-solarized/cjs/dark-color.js +32 -0
- package/node_modules/@uiw/codemirror-theme-solarized/cjs/dark.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-solarized/cjs/dark.js +104 -0
- package/node_modules/@uiw/codemirror-theme-solarized/cjs/index.d.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-solarized/cjs/index.js +27 -0
- package/node_modules/@uiw/codemirror-theme-solarized/cjs/light-color.d.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-solarized/cjs/light-color.js +32 -0
- package/node_modules/@uiw/codemirror-theme-solarized/cjs/light.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-solarized/cjs/light.js +104 -0
- package/node_modules/@uiw/codemirror-theme-solarized/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-solarized/dark.d.ts +6 -0
- package/node_modules/@uiw/codemirror-theme-solarized/esm/dark-color.d.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-solarized/esm/dark-color.js +26 -0
- package/node_modules/@uiw/codemirror-theme-solarized/esm/dark.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-solarized/esm/dark.js +94 -0
- package/node_modules/@uiw/codemirror-theme-solarized/esm/index.d.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-solarized/esm/index.js +2 -0
- package/node_modules/@uiw/codemirror-theme-solarized/esm/light-color.d.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-solarized/esm/light-color.js +26 -0
- package/node_modules/@uiw/codemirror-theme-solarized/esm/light.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-solarized/esm/light.js +94 -0
- package/node_modules/@uiw/codemirror-theme-solarized/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-solarized/light.d.ts +6 -0
- package/node_modules/@uiw/codemirror-theme-solarized/package.json +63 -0
- package/node_modules/@uiw/codemirror-theme-solarized/src/dark-color.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-solarized/src/dark.ts +53 -0
- package/node_modules/@uiw/codemirror-theme-solarized/src/index.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-solarized/src/light-color.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-solarized/src/light.ts +53 -0
- package/node_modules/@uiw/codemirror-theme-sublime/README.md +147 -0
- package/node_modules/@uiw/codemirror-theme-sublime/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-sublime/cjs/index.js +73 -0
- package/node_modules/@uiw/codemirror-theme-sublime/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-sublime/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-sublime/esm/index.js +62 -0
- package/node_modules/@uiw/codemirror-theme-sublime/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-sublime/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-sublime/src/index.ts +42 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night/README.md +151 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night/cjs/index.js +99 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night/esm/index.js +89 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night/package.json +50 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night/src/index.ts +51 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-day/README.md +153 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-day/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-day/cjs/index.js +100 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-day/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-day/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-day/esm/index.js +90 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-day/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-day/package.json +51 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-day/src/index.ts +51 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-storm/README.md +153 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-storm/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-storm/cjs/index.js +100 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-storm/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-storm/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-storm/esm/index.js +90 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-storm/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-storm/package.json +51 -0
- package/node_modules/@uiw/codemirror-theme-tokyo-night-storm/src/index.ts +51 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/README.md +151 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/cjs/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/cjs/color.js +31 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/cjs/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/cjs/index.js +103 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/esm/color.d.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/esm/color.js +25 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/esm/index.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/esm/index.js +93 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/package.json +45 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/src/color.ts +25 -0
- package/node_modules/@uiw/codemirror-theme-tomorrow-night-blue/src/index.ts +52 -0
- package/node_modules/@uiw/codemirror-theme-vscode/README.md +161 -0
- package/node_modules/@uiw/codemirror-theme-vscode/cjs/dark.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-vscode/cjs/dark.js +98 -0
- package/node_modules/@uiw/codemirror-theme-vscode/cjs/index.d.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-vscode/cjs/index.js +27 -0
- package/node_modules/@uiw/codemirror-theme-vscode/cjs/light.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-vscode/cjs/light.js +98 -0
- package/node_modules/@uiw/codemirror-theme-vscode/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-vscode/esm/dark.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-vscode/esm/dark.js +85 -0
- package/node_modules/@uiw/codemirror-theme-vscode/esm/index.d.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-vscode/esm/index.js +2 -0
- package/node_modules/@uiw/codemirror-theme-vscode/esm/light.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-vscode/esm/light.js +85 -0
- package/node_modules/@uiw/codemirror-theme-vscode/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-vscode/package.json +44 -0
- package/node_modules/@uiw/codemirror-theme-vscode/src/dark.ts +82 -0
- package/node_modules/@uiw/codemirror-theme-vscode/src/index.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-vscode/src/light.ts +82 -0
- package/node_modules/@uiw/codemirror-theme-white/README.md +160 -0
- package/node_modules/@uiw/codemirror-theme-white/cjs/dark-color.d.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-white/cjs/dark-color.js +32 -0
- package/node_modules/@uiw/codemirror-theme-white/cjs/dark.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-white/cjs/dark.js +110 -0
- package/node_modules/@uiw/codemirror-theme-white/cjs/index.d.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-white/cjs/index.js +27 -0
- package/node_modules/@uiw/codemirror-theme-white/cjs/light-color.d.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-white/cjs/light-color.js +32 -0
- package/node_modules/@uiw/codemirror-theme-white/cjs/light.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-white/cjs/light.js +110 -0
- package/node_modules/@uiw/codemirror-theme-white/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-white/esm/dark-color.d.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-white/esm/dark-color.js +26 -0
- package/node_modules/@uiw/codemirror-theme-white/esm/dark.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-white/esm/dark.js +100 -0
- package/node_modules/@uiw/codemirror-theme-white/esm/index.d.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-white/esm/index.js +2 -0
- package/node_modules/@uiw/codemirror-theme-white/esm/light-color.d.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-white/esm/light-color.js +26 -0
- package/node_modules/@uiw/codemirror-theme-white/esm/light.d.ts +5 -0
- package/node_modules/@uiw/codemirror-theme-white/esm/light.js +100 -0
- package/node_modules/@uiw/codemirror-theme-white/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-white/package.json +56 -0
- package/node_modules/@uiw/codemirror-theme-white/src/dark-color.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-white/src/dark.ts +57 -0
- package/node_modules/@uiw/codemirror-theme-white/src/index.ts +2 -0
- package/node_modules/@uiw/codemirror-theme-white/src/light-color.ts +26 -0
- package/node_modules/@uiw/codemirror-theme-white/src/light.ts +57 -0
- package/node_modules/@uiw/codemirror-theme-xcode/README.md +154 -0
- package/node_modules/@uiw/codemirror-theme-xcode/cjs/index.d.ts +9 -0
- package/node_modules/@uiw/codemirror-theme-xcode/cjs/index.js +119 -0
- package/node_modules/@uiw/codemirror-theme-xcode/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-xcode/esm/index.d.ts +9 -0
- package/node_modules/@uiw/codemirror-theme-xcode/esm/index.js +104 -0
- package/node_modules/@uiw/codemirror-theme-xcode/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-theme-xcode/package.json +44 -0
- package/node_modules/@uiw/codemirror-theme-xcode/src/index.ts +75 -0
- package/node_modules/@uiw/codemirror-themes/README.md +391 -0
- package/node_modules/@uiw/codemirror-themes/cjs/index.d.ts +46 -0
- package/node_modules/@uiw/codemirror-themes/cjs/index.js +84 -0
- package/node_modules/@uiw/codemirror-themes/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-themes/esm/index.d.ts +46 -0
- package/node_modules/@uiw/codemirror-themes/esm/index.js +78 -0
- package/node_modules/@uiw/codemirror-themes/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-themes/package.json +56 -0
- package/node_modules/@uiw/codemirror-themes/src/index.tsx +128 -0
- package/node_modules/@uiw/codemirror-themes-all/README.md +406 -0
- package/node_modules/@uiw/codemirror-themes-all/cjs/index.d.ts +35 -0
- package/node_modules/@uiw/codemirror-themes-all/cjs/index.js +390 -0
- package/node_modules/@uiw/codemirror-themes-all/cjs/package.json +1 -0
- package/node_modules/@uiw/codemirror-themes-all/esm/index.d.ts +35 -0
- package/node_modules/@uiw/codemirror-themes-all/esm/index.js +35 -0
- package/node_modules/@uiw/codemirror-themes-all/esm/package.json +1 -0
- package/node_modules/@uiw/codemirror-themes-all/package.json +86 -0
- package/node_modules/@uiw/codemirror-themes-all/src/index.ts +35 -0
- package/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/daemon/package.json +1 -1
- package/packages/daemon/src/adaptive.js +26 -16
- package/packages/daemon/src/journalist.js +62 -24
- package/packages/daemon/src/model-lab.js +6 -5
- package/packages/daemon/src/rotator.js +48 -21
- package/{node_modules/@groove-dev/gui/dist/assets/codemirror-DRQdprYi.js → packages/gui/dist/assets/codemirror-BYKpdS2W.js} +1 -1
- package/{node_modules/@groove-dev/gui/dist/assets/index-BrZHF7pK.js → packages/gui/dist/assets/index-DcNgRadn.js} +1764 -1764
- package/packages/gui/dist/assets/index-EY6WfKWH.css +1 -0
- package/packages/gui/dist/index.html +3 -3
- package/packages/gui/package.json +2 -1
- package/packages/gui/src/components/editor/code-editor.jsx +81 -63
- package/packages/gui/src/components/editor/editor-status-bar.jsx +66 -0
- package/packages/gui/src/components/lab/system-prompt-editor.jsx +21 -24
- package/packages/gui/src/stores/groove.js +5 -0
- package/model-workspace/LAB-ASSISTANT-BUILD-PLAN.md +0 -341
- package/node_modules/@groove-dev/gui/dist/assets/index-DIfiwdKl.css +0 -1
- package/packages/gui/dist/assets/index-DIfiwdKl.css +0 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.vscodeDark = exports.defaultSettingsVscodeDark = void 0;
|
|
8
|
+
exports.vscodeDarkInit = vscodeDarkInit;
|
|
9
|
+
exports.vscodeDarkStyle = void 0;
|
|
10
|
+
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
11
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
12
|
+
var _highlight = require("@lezer/highlight");
|
|
13
|
+
var _codemirrorThemes = require("@uiw/codemirror-themes");
|
|
14
|
+
/**
|
|
15
|
+
* https://github.com/uiwjs/react-codemirror/issues/409
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
var defaultSettingsVscodeDark = exports.defaultSettingsVscodeDark = {
|
|
19
|
+
background: '#1e1e1e',
|
|
20
|
+
foreground: '#9cdcfe',
|
|
21
|
+
caret: '#c6c6c6',
|
|
22
|
+
selection: '#6199ff2f',
|
|
23
|
+
selectionMatch: '#72a1ff59',
|
|
24
|
+
lineHighlight: '#ffffff0f',
|
|
25
|
+
gutterBackground: '#1e1e1e',
|
|
26
|
+
gutterForeground: '#838383',
|
|
27
|
+
gutterActiveForeground: '#fff',
|
|
28
|
+
fontFamily: 'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace'
|
|
29
|
+
};
|
|
30
|
+
var vscodeDarkStyle = exports.vscodeDarkStyle = [{
|
|
31
|
+
tag: [_highlight.tags.keyword, _highlight.tags.operatorKeyword, _highlight.tags.modifier, _highlight.tags.color, _highlight.tags.constant(_highlight.tags.name), _highlight.tags.standard(_highlight.tags.name), _highlight.tags.standard(_highlight.tags.tagName), _highlight.tags.special(_highlight.tags.brace), _highlight.tags.atom, _highlight.tags.bool, _highlight.tags.special(_highlight.tags.variableName)],
|
|
32
|
+
color: '#569cd6'
|
|
33
|
+
}, {
|
|
34
|
+
tag: [_highlight.tags.controlKeyword, _highlight.tags.moduleKeyword],
|
|
35
|
+
color: '#c586c0'
|
|
36
|
+
}, {
|
|
37
|
+
tag: [_highlight.tags.name, _highlight.tags.deleted, _highlight.tags.character, _highlight.tags.macroName, _highlight.tags.propertyName, _highlight.tags.variableName, _highlight.tags.labelName, _highlight.tags.definition(_highlight.tags.name)],
|
|
38
|
+
color: '#9cdcfe'
|
|
39
|
+
}, {
|
|
40
|
+
tag: _highlight.tags.heading,
|
|
41
|
+
fontWeight: 'bold',
|
|
42
|
+
color: '#9cdcfe'
|
|
43
|
+
}, {
|
|
44
|
+
tag: [_highlight.tags.typeName, _highlight.tags.className, _highlight.tags.tagName, _highlight.tags.number, _highlight.tags.changed, _highlight.tags.annotation, _highlight.tags.self, _highlight.tags.namespace],
|
|
45
|
+
color: '#4ec9b0'
|
|
46
|
+
}, {
|
|
47
|
+
tag: [_highlight.tags["function"](_highlight.tags.variableName), _highlight.tags["function"](_highlight.tags.propertyName)],
|
|
48
|
+
color: '#dcdcaa'
|
|
49
|
+
}, {
|
|
50
|
+
tag: [_highlight.tags.number],
|
|
51
|
+
color: '#b5cea8'
|
|
52
|
+
}, {
|
|
53
|
+
tag: [_highlight.tags.operator, _highlight.tags.punctuation, _highlight.tags.separator, _highlight.tags.url, _highlight.tags.escape, _highlight.tags.regexp],
|
|
54
|
+
color: '#d4d4d4'
|
|
55
|
+
}, {
|
|
56
|
+
tag: [_highlight.tags.regexp],
|
|
57
|
+
color: '#d16969'
|
|
58
|
+
}, {
|
|
59
|
+
tag: [_highlight.tags.special(_highlight.tags.string), _highlight.tags.processingInstruction, _highlight.tags.string, _highlight.tags.inserted],
|
|
60
|
+
color: '#ce9178'
|
|
61
|
+
}, {
|
|
62
|
+
tag: [_highlight.tags.angleBracket],
|
|
63
|
+
color: '#808080'
|
|
64
|
+
}, {
|
|
65
|
+
tag: _highlight.tags.strong,
|
|
66
|
+
fontWeight: 'bold'
|
|
67
|
+
}, {
|
|
68
|
+
tag: _highlight.tags.emphasis,
|
|
69
|
+
fontStyle: 'italic'
|
|
70
|
+
}, {
|
|
71
|
+
tag: _highlight.tags.strikethrough,
|
|
72
|
+
textDecoration: 'line-through'
|
|
73
|
+
}, {
|
|
74
|
+
tag: [_highlight.tags.meta, _highlight.tags.comment],
|
|
75
|
+
color: '#6a9955'
|
|
76
|
+
}, {
|
|
77
|
+
tag: _highlight.tags.link,
|
|
78
|
+
color: '#6a9955',
|
|
79
|
+
textDecoration: 'underline'
|
|
80
|
+
}, {
|
|
81
|
+
tag: _highlight.tags.invalid,
|
|
82
|
+
color: '#ff0000'
|
|
83
|
+
}];
|
|
84
|
+
function vscodeDarkInit(options) {
|
|
85
|
+
var _ref = options || {},
|
|
86
|
+
_ref$theme = _ref.theme,
|
|
87
|
+
theme = _ref$theme === void 0 ? 'dark' : _ref$theme,
|
|
88
|
+
_ref$settings = _ref.settings,
|
|
89
|
+
settings = _ref$settings === void 0 ? {} : _ref$settings,
|
|
90
|
+
_ref$styles = _ref.styles,
|
|
91
|
+
styles = _ref$styles === void 0 ? [] : _ref$styles;
|
|
92
|
+
return (0, _codemirrorThemes.createTheme)({
|
|
93
|
+
theme: theme,
|
|
94
|
+
settings: (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, defaultSettingsVscodeDark), settings),
|
|
95
|
+
styles: [].concat(vscodeDarkStyle, (0, _toConsumableArray2["default"])(styles))
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
var vscodeDark = exports.vscodeDark = vscodeDarkInit();
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _light = require("./light");
|
|
7
|
+
Object.keys(_light).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _light[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function get() {
|
|
13
|
+
return _light[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
var _dark = require("./dark");
|
|
18
|
+
Object.keys(_dark).forEach(function (key) {
|
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
|
20
|
+
if (key in exports && exports[key] === _dark[key]) return;
|
|
21
|
+
Object.defineProperty(exports, key, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function get() {
|
|
24
|
+
return _dark[key];
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
});
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type CreateThemeOptions } from '@uiw/codemirror-themes';
|
|
2
|
+
export declare const defaultSettingsVscodeLight: CreateThemeOptions['settings'];
|
|
3
|
+
export declare const vscodeLightStyle: CreateThemeOptions['styles'];
|
|
4
|
+
export declare function vscodeLightInit(options?: Partial<CreateThemeOptions>): import("@codemirror/state").Extension;
|
|
5
|
+
export declare const vscodeLight: import("@codemirror/state").Extension;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.vscodeLight = exports.defaultSettingsVscodeLight = void 0;
|
|
8
|
+
exports.vscodeLightInit = vscodeLightInit;
|
|
9
|
+
exports.vscodeLightStyle = void 0;
|
|
10
|
+
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
11
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
12
|
+
var _highlight = require("@lezer/highlight");
|
|
13
|
+
var _codemirrorThemes = require("@uiw/codemirror-themes");
|
|
14
|
+
/**
|
|
15
|
+
* https://github.com/uiwjs/react-codemirror/issues/409
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
var defaultSettingsVscodeLight = exports.defaultSettingsVscodeLight = {
|
|
19
|
+
background: '#ffffff',
|
|
20
|
+
foreground: '#383a42',
|
|
21
|
+
caret: '#000',
|
|
22
|
+
selection: '#add6ff',
|
|
23
|
+
selectionMatch: '#a8ac94',
|
|
24
|
+
lineHighlight: '#99999926',
|
|
25
|
+
gutterBackground: '#fff',
|
|
26
|
+
gutterForeground: '#237893',
|
|
27
|
+
gutterActiveForeground: '#0b216f',
|
|
28
|
+
fontFamily: 'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace'
|
|
29
|
+
};
|
|
30
|
+
var vscodeLightStyle = exports.vscodeLightStyle = [{
|
|
31
|
+
tag: [_highlight.tags.keyword, _highlight.tags.operatorKeyword, _highlight.tags.modifier, _highlight.tags.color, _highlight.tags.constant(_highlight.tags.name), _highlight.tags.standard(_highlight.tags.name), _highlight.tags.standard(_highlight.tags.tagName), _highlight.tags.special(_highlight.tags.brace), _highlight.tags.atom, _highlight.tags.bool, _highlight.tags.special(_highlight.tags.variableName)],
|
|
32
|
+
color: '#0000ff'
|
|
33
|
+
}, {
|
|
34
|
+
tag: [_highlight.tags.moduleKeyword, _highlight.tags.controlKeyword],
|
|
35
|
+
color: '#af00db'
|
|
36
|
+
}, {
|
|
37
|
+
tag: [_highlight.tags.name, _highlight.tags.deleted, _highlight.tags.character, _highlight.tags.macroName, _highlight.tags.propertyName, _highlight.tags.variableName, _highlight.tags.labelName, _highlight.tags.definition(_highlight.tags.name)],
|
|
38
|
+
color: '#0070c1'
|
|
39
|
+
}, {
|
|
40
|
+
tag: _highlight.tags.heading,
|
|
41
|
+
fontWeight: 'bold',
|
|
42
|
+
color: '#0070c1'
|
|
43
|
+
}, {
|
|
44
|
+
tag: [_highlight.tags.typeName, _highlight.tags.className, _highlight.tags.tagName, _highlight.tags.number, _highlight.tags.changed, _highlight.tags.annotation, _highlight.tags.self, _highlight.tags.namespace],
|
|
45
|
+
color: '#267f99'
|
|
46
|
+
}, {
|
|
47
|
+
tag: [_highlight.tags["function"](_highlight.tags.variableName), _highlight.tags["function"](_highlight.tags.propertyName)],
|
|
48
|
+
color: '#795e26'
|
|
49
|
+
}, {
|
|
50
|
+
tag: [_highlight.tags.number],
|
|
51
|
+
color: '#098658'
|
|
52
|
+
}, {
|
|
53
|
+
tag: [_highlight.tags.operator, _highlight.tags.punctuation, _highlight.tags.separator, _highlight.tags.url, _highlight.tags.escape, _highlight.tags.regexp],
|
|
54
|
+
color: '#383a42'
|
|
55
|
+
}, {
|
|
56
|
+
tag: [_highlight.tags.regexp],
|
|
57
|
+
color: '#af00db'
|
|
58
|
+
}, {
|
|
59
|
+
tag: [_highlight.tags.special(_highlight.tags.string), _highlight.tags.processingInstruction, _highlight.tags.string, _highlight.tags.inserted],
|
|
60
|
+
color: '#a31515'
|
|
61
|
+
}, {
|
|
62
|
+
tag: [_highlight.tags.angleBracket],
|
|
63
|
+
color: '#383a42'
|
|
64
|
+
}, {
|
|
65
|
+
tag: _highlight.tags.strong,
|
|
66
|
+
fontWeight: 'bold'
|
|
67
|
+
}, {
|
|
68
|
+
tag: _highlight.tags.emphasis,
|
|
69
|
+
fontStyle: 'italic'
|
|
70
|
+
}, {
|
|
71
|
+
tag: _highlight.tags.strikethrough,
|
|
72
|
+
textDecoration: 'line-through'
|
|
73
|
+
}, {
|
|
74
|
+
tag: [_highlight.tags.meta, _highlight.tags.comment],
|
|
75
|
+
color: '#008000'
|
|
76
|
+
}, {
|
|
77
|
+
tag: _highlight.tags.link,
|
|
78
|
+
color: '#4078f2',
|
|
79
|
+
textDecoration: 'underline'
|
|
80
|
+
}, {
|
|
81
|
+
tag: _highlight.tags.invalid,
|
|
82
|
+
color: '#e45649'
|
|
83
|
+
}];
|
|
84
|
+
function vscodeLightInit(options) {
|
|
85
|
+
var _ref = options || {},
|
|
86
|
+
_ref$theme = _ref.theme,
|
|
87
|
+
theme = _ref$theme === void 0 ? 'light' : _ref$theme,
|
|
88
|
+
_ref$settings = _ref.settings,
|
|
89
|
+
settings = _ref$settings === void 0 ? {} : _ref$settings,
|
|
90
|
+
_ref$styles = _ref.styles,
|
|
91
|
+
styles = _ref$styles === void 0 ? [] : _ref$styles;
|
|
92
|
+
return (0, _codemirrorThemes.createTheme)({
|
|
93
|
+
theme: theme,
|
|
94
|
+
settings: (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, defaultSettingsVscodeLight), settings),
|
|
95
|
+
styles: [].concat(vscodeLightStyle, (0, _toConsumableArray2["default"])(styles))
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
var vscodeLight = exports.vscodeLight = vscodeLightInit();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type CreateThemeOptions } from '@uiw/codemirror-themes';
|
|
2
|
+
export declare const defaultSettingsVscodeDark: CreateThemeOptions['settings'];
|
|
3
|
+
export declare const vscodeDarkStyle: CreateThemeOptions['styles'];
|
|
4
|
+
export declare function vscodeDarkInit(options?: Partial<CreateThemeOptions>): import("@codemirror/state").Extension;
|
|
5
|
+
export declare const vscodeDark: import("@codemirror/state").Extension;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
/**
|
|
3
|
+
* https://github.com/uiwjs/react-codemirror/issues/409
|
|
4
|
+
*/
|
|
5
|
+
import { tags as t } from '@lezer/highlight';
|
|
6
|
+
import { createTheme } from '@uiw/codemirror-themes';
|
|
7
|
+
export var defaultSettingsVscodeDark = {
|
|
8
|
+
background: '#1e1e1e',
|
|
9
|
+
foreground: '#9cdcfe',
|
|
10
|
+
caret: '#c6c6c6',
|
|
11
|
+
selection: '#6199ff2f',
|
|
12
|
+
selectionMatch: '#72a1ff59',
|
|
13
|
+
lineHighlight: '#ffffff0f',
|
|
14
|
+
gutterBackground: '#1e1e1e',
|
|
15
|
+
gutterForeground: '#838383',
|
|
16
|
+
gutterActiveForeground: '#fff',
|
|
17
|
+
fontFamily: 'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace'
|
|
18
|
+
};
|
|
19
|
+
export var vscodeDarkStyle = [{
|
|
20
|
+
tag: [t.keyword, t.operatorKeyword, t.modifier, t.color, t.constant(t.name), t.standard(t.name), t.standard(t.tagName), t.special(t.brace), t.atom, t.bool, t.special(t.variableName)],
|
|
21
|
+
color: '#569cd6'
|
|
22
|
+
}, {
|
|
23
|
+
tag: [t.controlKeyword, t.moduleKeyword],
|
|
24
|
+
color: '#c586c0'
|
|
25
|
+
}, {
|
|
26
|
+
tag: [t.name, t.deleted, t.character, t.macroName, t.propertyName, t.variableName, t.labelName, t.definition(t.name)],
|
|
27
|
+
color: '#9cdcfe'
|
|
28
|
+
}, {
|
|
29
|
+
tag: t.heading,
|
|
30
|
+
fontWeight: 'bold',
|
|
31
|
+
color: '#9cdcfe'
|
|
32
|
+
}, {
|
|
33
|
+
tag: [t.typeName, t.className, t.tagName, t.number, t.changed, t.annotation, t.self, t.namespace],
|
|
34
|
+
color: '#4ec9b0'
|
|
35
|
+
}, {
|
|
36
|
+
tag: [t.function(t.variableName), t.function(t.propertyName)],
|
|
37
|
+
color: '#dcdcaa'
|
|
38
|
+
}, {
|
|
39
|
+
tag: [t.number],
|
|
40
|
+
color: '#b5cea8'
|
|
41
|
+
}, {
|
|
42
|
+
tag: [t.operator, t.punctuation, t.separator, t.url, t.escape, t.regexp],
|
|
43
|
+
color: '#d4d4d4'
|
|
44
|
+
}, {
|
|
45
|
+
tag: [t.regexp],
|
|
46
|
+
color: '#d16969'
|
|
47
|
+
}, {
|
|
48
|
+
tag: [t.special(t.string), t.processingInstruction, t.string, t.inserted],
|
|
49
|
+
color: '#ce9178'
|
|
50
|
+
}, {
|
|
51
|
+
tag: [t.angleBracket],
|
|
52
|
+
color: '#808080'
|
|
53
|
+
}, {
|
|
54
|
+
tag: t.strong,
|
|
55
|
+
fontWeight: 'bold'
|
|
56
|
+
}, {
|
|
57
|
+
tag: t.emphasis,
|
|
58
|
+
fontStyle: 'italic'
|
|
59
|
+
}, {
|
|
60
|
+
tag: t.strikethrough,
|
|
61
|
+
textDecoration: 'line-through'
|
|
62
|
+
}, {
|
|
63
|
+
tag: [t.meta, t.comment],
|
|
64
|
+
color: '#6a9955'
|
|
65
|
+
}, {
|
|
66
|
+
tag: t.link,
|
|
67
|
+
color: '#6a9955',
|
|
68
|
+
textDecoration: 'underline'
|
|
69
|
+
}, {
|
|
70
|
+
tag: t.invalid,
|
|
71
|
+
color: '#ff0000'
|
|
72
|
+
}];
|
|
73
|
+
export function vscodeDarkInit(options) {
|
|
74
|
+
var {
|
|
75
|
+
theme = 'dark',
|
|
76
|
+
settings = {},
|
|
77
|
+
styles = []
|
|
78
|
+
} = options || {};
|
|
79
|
+
return createTheme({
|
|
80
|
+
theme: theme,
|
|
81
|
+
settings: _extends({}, defaultSettingsVscodeDark, settings),
|
|
82
|
+
styles: [...vscodeDarkStyle, ...styles]
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
export var vscodeDark = vscodeDarkInit();
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type CreateThemeOptions } from '@uiw/codemirror-themes';
|
|
2
|
+
export declare const defaultSettingsVscodeLight: CreateThemeOptions['settings'];
|
|
3
|
+
export declare const vscodeLightStyle: CreateThemeOptions['styles'];
|
|
4
|
+
export declare function vscodeLightInit(options?: Partial<CreateThemeOptions>): import("@codemirror/state").Extension;
|
|
5
|
+
export declare const vscodeLight: import("@codemirror/state").Extension;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
/**
|
|
3
|
+
* https://github.com/uiwjs/react-codemirror/issues/409
|
|
4
|
+
*/
|
|
5
|
+
import { tags as t } from '@lezer/highlight';
|
|
6
|
+
import { createTheme } from '@uiw/codemirror-themes';
|
|
7
|
+
export var defaultSettingsVscodeLight = {
|
|
8
|
+
background: '#ffffff',
|
|
9
|
+
foreground: '#383a42',
|
|
10
|
+
caret: '#000',
|
|
11
|
+
selection: '#add6ff',
|
|
12
|
+
selectionMatch: '#a8ac94',
|
|
13
|
+
lineHighlight: '#99999926',
|
|
14
|
+
gutterBackground: '#fff',
|
|
15
|
+
gutterForeground: '#237893',
|
|
16
|
+
gutterActiveForeground: '#0b216f',
|
|
17
|
+
fontFamily: 'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace'
|
|
18
|
+
};
|
|
19
|
+
export var vscodeLightStyle = [{
|
|
20
|
+
tag: [t.keyword, t.operatorKeyword, t.modifier, t.color, t.constant(t.name), t.standard(t.name), t.standard(t.tagName), t.special(t.brace), t.atom, t.bool, t.special(t.variableName)],
|
|
21
|
+
color: '#0000ff'
|
|
22
|
+
}, {
|
|
23
|
+
tag: [t.moduleKeyword, t.controlKeyword],
|
|
24
|
+
color: '#af00db'
|
|
25
|
+
}, {
|
|
26
|
+
tag: [t.name, t.deleted, t.character, t.macroName, t.propertyName, t.variableName, t.labelName, t.definition(t.name)],
|
|
27
|
+
color: '#0070c1'
|
|
28
|
+
}, {
|
|
29
|
+
tag: t.heading,
|
|
30
|
+
fontWeight: 'bold',
|
|
31
|
+
color: '#0070c1'
|
|
32
|
+
}, {
|
|
33
|
+
tag: [t.typeName, t.className, t.tagName, t.number, t.changed, t.annotation, t.self, t.namespace],
|
|
34
|
+
color: '#267f99'
|
|
35
|
+
}, {
|
|
36
|
+
tag: [t.function(t.variableName), t.function(t.propertyName)],
|
|
37
|
+
color: '#795e26'
|
|
38
|
+
}, {
|
|
39
|
+
tag: [t.number],
|
|
40
|
+
color: '#098658'
|
|
41
|
+
}, {
|
|
42
|
+
tag: [t.operator, t.punctuation, t.separator, t.url, t.escape, t.regexp],
|
|
43
|
+
color: '#383a42'
|
|
44
|
+
}, {
|
|
45
|
+
tag: [t.regexp],
|
|
46
|
+
color: '#af00db'
|
|
47
|
+
}, {
|
|
48
|
+
tag: [t.special(t.string), t.processingInstruction, t.string, t.inserted],
|
|
49
|
+
color: '#a31515'
|
|
50
|
+
}, {
|
|
51
|
+
tag: [t.angleBracket],
|
|
52
|
+
color: '#383a42'
|
|
53
|
+
}, {
|
|
54
|
+
tag: t.strong,
|
|
55
|
+
fontWeight: 'bold'
|
|
56
|
+
}, {
|
|
57
|
+
tag: t.emphasis,
|
|
58
|
+
fontStyle: 'italic'
|
|
59
|
+
}, {
|
|
60
|
+
tag: t.strikethrough,
|
|
61
|
+
textDecoration: 'line-through'
|
|
62
|
+
}, {
|
|
63
|
+
tag: [t.meta, t.comment],
|
|
64
|
+
color: '#008000'
|
|
65
|
+
}, {
|
|
66
|
+
tag: t.link,
|
|
67
|
+
color: '#4078f2',
|
|
68
|
+
textDecoration: 'underline'
|
|
69
|
+
}, {
|
|
70
|
+
tag: t.invalid,
|
|
71
|
+
color: '#e45649'
|
|
72
|
+
}];
|
|
73
|
+
export function vscodeLightInit(options) {
|
|
74
|
+
var {
|
|
75
|
+
theme = 'light',
|
|
76
|
+
settings = {},
|
|
77
|
+
styles = []
|
|
78
|
+
} = options || {};
|
|
79
|
+
return createTheme({
|
|
80
|
+
theme: theme,
|
|
81
|
+
settings: _extends({}, defaultSettingsVscodeLight, settings),
|
|
82
|
+
styles: [...vscodeLightStyle, ...styles]
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
export var vscodeLight = vscodeLightInit();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@uiw/codemirror-theme-vscode",
|
|
3
|
+
"version": "4.25.9",
|
|
4
|
+
"description": "Theme vscode for CodeMirror.",
|
|
5
|
+
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/vscode",
|
|
6
|
+
"funding": "https://jaywcjlove.github.io/#/sponsor",
|
|
7
|
+
"author": "kenny wong <wowohoo@qq.com>",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"main": "./cjs/index.js",
|
|
10
|
+
"module": "./esm/index.js",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"require": "./cjs/index.js",
|
|
14
|
+
"import": "./esm/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./*": "./*"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"watch": "tsbb watch src/*.ts --use-babel",
|
|
20
|
+
"build": "tsbb build src/*.ts --use-babel && npm run setmodule",
|
|
21
|
+
"setmodule": "echo '{\"type\":\"module\"}' > esm/package.json && echo '{\"type\":\"commonjs\"}' > cjs/package.json"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "https://github.com/uiwjs/react-codemirror.git"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"src",
|
|
29
|
+
"esm",
|
|
30
|
+
"cjs"
|
|
31
|
+
],
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@uiw/codemirror-themes": "4.25.9"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"codemirror",
|
|
37
|
+
"codemirror6",
|
|
38
|
+
"theme",
|
|
39
|
+
"vscode",
|
|
40
|
+
"syntax",
|
|
41
|
+
"ide",
|
|
42
|
+
"code"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* https://github.com/uiwjs/react-codemirror/issues/409
|
|
3
|
+
*/
|
|
4
|
+
import { tags as t } from '@lezer/highlight';
|
|
5
|
+
import { createTheme, type CreateThemeOptions } from '@uiw/codemirror-themes';
|
|
6
|
+
|
|
7
|
+
export const defaultSettingsVscodeDark: CreateThemeOptions['settings'] = {
|
|
8
|
+
background: '#1e1e1e',
|
|
9
|
+
foreground: '#9cdcfe',
|
|
10
|
+
caret: '#c6c6c6',
|
|
11
|
+
selection: '#6199ff2f',
|
|
12
|
+
selectionMatch: '#72a1ff59',
|
|
13
|
+
lineHighlight: '#ffffff0f',
|
|
14
|
+
gutterBackground: '#1e1e1e',
|
|
15
|
+
gutterForeground: '#838383',
|
|
16
|
+
gutterActiveForeground: '#fff',
|
|
17
|
+
fontFamily: 'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export const vscodeDarkStyle: CreateThemeOptions['styles'] = [
|
|
21
|
+
{
|
|
22
|
+
tag: [
|
|
23
|
+
t.keyword,
|
|
24
|
+
t.operatorKeyword,
|
|
25
|
+
t.modifier,
|
|
26
|
+
t.color,
|
|
27
|
+
t.constant(t.name),
|
|
28
|
+
t.standard(t.name),
|
|
29
|
+
t.standard(t.tagName),
|
|
30
|
+
t.special(t.brace),
|
|
31
|
+
t.atom,
|
|
32
|
+
t.bool,
|
|
33
|
+
t.special(t.variableName),
|
|
34
|
+
],
|
|
35
|
+
color: '#569cd6',
|
|
36
|
+
},
|
|
37
|
+
{ tag: [t.controlKeyword, t.moduleKeyword], color: '#c586c0' },
|
|
38
|
+
{
|
|
39
|
+
tag: [
|
|
40
|
+
t.name,
|
|
41
|
+
t.deleted,
|
|
42
|
+
t.character,
|
|
43
|
+
t.macroName,
|
|
44
|
+
t.propertyName,
|
|
45
|
+
t.variableName,
|
|
46
|
+
t.labelName,
|
|
47
|
+
t.definition(t.name),
|
|
48
|
+
],
|
|
49
|
+
color: '#9cdcfe',
|
|
50
|
+
},
|
|
51
|
+
{ tag: t.heading, fontWeight: 'bold', color: '#9cdcfe' },
|
|
52
|
+
{
|
|
53
|
+
tag: [t.typeName, t.className, t.tagName, t.number, t.changed, t.annotation, t.self, t.namespace],
|
|
54
|
+
color: '#4ec9b0',
|
|
55
|
+
},
|
|
56
|
+
{ tag: [t.function(t.variableName), t.function(t.propertyName)], color: '#dcdcaa' },
|
|
57
|
+
{ tag: [t.number], color: '#b5cea8' },
|
|
58
|
+
{ tag: [t.operator, t.punctuation, t.separator, t.url, t.escape, t.regexp], color: '#d4d4d4' },
|
|
59
|
+
{ tag: [t.regexp], color: '#d16969' },
|
|
60
|
+
{ tag: [t.special(t.string), t.processingInstruction, t.string, t.inserted], color: '#ce9178' },
|
|
61
|
+
{ tag: [t.angleBracket], color: '#808080' },
|
|
62
|
+
{ tag: t.strong, fontWeight: 'bold' },
|
|
63
|
+
{ tag: t.emphasis, fontStyle: 'italic' },
|
|
64
|
+
{ tag: t.strikethrough, textDecoration: 'line-through' },
|
|
65
|
+
{ tag: [t.meta, t.comment], color: '#6a9955' },
|
|
66
|
+
{ tag: t.link, color: '#6a9955', textDecoration: 'underline' },
|
|
67
|
+
{ tag: t.invalid, color: '#ff0000' },
|
|
68
|
+
];
|
|
69
|
+
|
|
70
|
+
export function vscodeDarkInit(options?: Partial<CreateThemeOptions>) {
|
|
71
|
+
const { theme = 'dark', settings = {}, styles = [] } = options || {};
|
|
72
|
+
return createTheme({
|
|
73
|
+
theme: theme,
|
|
74
|
+
settings: {
|
|
75
|
+
...defaultSettingsVscodeDark,
|
|
76
|
+
...settings,
|
|
77
|
+
},
|
|
78
|
+
styles: [...vscodeDarkStyle, ...styles],
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export const vscodeDark = vscodeDarkInit();
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* https://github.com/uiwjs/react-codemirror/issues/409
|
|
3
|
+
*/
|
|
4
|
+
import { tags as t } from '@lezer/highlight';
|
|
5
|
+
import { createTheme, type CreateThemeOptions } from '@uiw/codemirror-themes';
|
|
6
|
+
|
|
7
|
+
export const defaultSettingsVscodeLight: CreateThemeOptions['settings'] = {
|
|
8
|
+
background: '#ffffff',
|
|
9
|
+
foreground: '#383a42',
|
|
10
|
+
caret: '#000',
|
|
11
|
+
selection: '#add6ff',
|
|
12
|
+
selectionMatch: '#a8ac94',
|
|
13
|
+
lineHighlight: '#99999926',
|
|
14
|
+
gutterBackground: '#fff',
|
|
15
|
+
gutterForeground: '#237893',
|
|
16
|
+
gutterActiveForeground: '#0b216f',
|
|
17
|
+
fontFamily: 'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export const vscodeLightStyle: CreateThemeOptions['styles'] = [
|
|
21
|
+
{
|
|
22
|
+
tag: [
|
|
23
|
+
t.keyword,
|
|
24
|
+
t.operatorKeyword,
|
|
25
|
+
t.modifier,
|
|
26
|
+
t.color,
|
|
27
|
+
t.constant(t.name),
|
|
28
|
+
t.standard(t.name),
|
|
29
|
+
t.standard(t.tagName),
|
|
30
|
+
t.special(t.brace),
|
|
31
|
+
t.atom,
|
|
32
|
+
t.bool,
|
|
33
|
+
t.special(t.variableName),
|
|
34
|
+
],
|
|
35
|
+
color: '#0000ff',
|
|
36
|
+
},
|
|
37
|
+
{ tag: [t.moduleKeyword, t.controlKeyword], color: '#af00db' },
|
|
38
|
+
{
|
|
39
|
+
tag: [
|
|
40
|
+
t.name,
|
|
41
|
+
t.deleted,
|
|
42
|
+
t.character,
|
|
43
|
+
t.macroName,
|
|
44
|
+
t.propertyName,
|
|
45
|
+
t.variableName,
|
|
46
|
+
t.labelName,
|
|
47
|
+
t.definition(t.name),
|
|
48
|
+
],
|
|
49
|
+
color: '#0070c1',
|
|
50
|
+
},
|
|
51
|
+
{ tag: t.heading, fontWeight: 'bold', color: '#0070c1' },
|
|
52
|
+
{
|
|
53
|
+
tag: [t.typeName, t.className, t.tagName, t.number, t.changed, t.annotation, t.self, t.namespace],
|
|
54
|
+
color: '#267f99',
|
|
55
|
+
},
|
|
56
|
+
{ tag: [t.function(t.variableName), t.function(t.propertyName)], color: '#795e26' },
|
|
57
|
+
{ tag: [t.number], color: '#098658' },
|
|
58
|
+
{ tag: [t.operator, t.punctuation, t.separator, t.url, t.escape, t.regexp], color: '#383a42' },
|
|
59
|
+
{ tag: [t.regexp], color: '#af00db' },
|
|
60
|
+
{ tag: [t.special(t.string), t.processingInstruction, t.string, t.inserted], color: '#a31515' },
|
|
61
|
+
{ tag: [t.angleBracket], color: '#383a42' },
|
|
62
|
+
{ tag: t.strong, fontWeight: 'bold' },
|
|
63
|
+
{ tag: t.emphasis, fontStyle: 'italic' },
|
|
64
|
+
{ tag: t.strikethrough, textDecoration: 'line-through' },
|
|
65
|
+
{ tag: [t.meta, t.comment], color: '#008000' },
|
|
66
|
+
{ tag: t.link, color: '#4078f2', textDecoration: 'underline' },
|
|
67
|
+
{ tag: t.invalid, color: '#e45649' },
|
|
68
|
+
];
|
|
69
|
+
|
|
70
|
+
export function vscodeLightInit(options?: Partial<CreateThemeOptions>) {
|
|
71
|
+
const { theme = 'light', settings = {}, styles = [] } = options || {};
|
|
72
|
+
return createTheme({
|
|
73
|
+
theme: theme,
|
|
74
|
+
settings: {
|
|
75
|
+
...defaultSettingsVscodeLight,
|
|
76
|
+
...settings,
|
|
77
|
+
},
|
|
78
|
+
styles: [...vscodeLightStyle, ...styles],
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export const vscodeLight = vscodeLightInit();
|