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,93 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import { tags as t } from '@lezer/highlight';
|
|
3
|
+
import { createTheme } from '@uiw/codemirror-themes';
|
|
4
|
+
import { config as c } from "./color.js";
|
|
5
|
+
export var defaultSettingsKimbie = {
|
|
6
|
+
background: c.background,
|
|
7
|
+
foreground: c.foreground,
|
|
8
|
+
caret: c.cursor,
|
|
9
|
+
selection: c.selection,
|
|
10
|
+
selectionMatch: c.selection,
|
|
11
|
+
gutterBackground: c.background,
|
|
12
|
+
gutterForeground: c.foreground,
|
|
13
|
+
lineHighlight: c.activeLine
|
|
14
|
+
};
|
|
15
|
+
export var kimbieDarkStyle = [{
|
|
16
|
+
tag: t.keyword,
|
|
17
|
+
color: c.keyword
|
|
18
|
+
}, {
|
|
19
|
+
tag: [t.name, t.deleted, t.character, t.macroName],
|
|
20
|
+
color: c.variable
|
|
21
|
+
}, {
|
|
22
|
+
tag: [t.propertyName],
|
|
23
|
+
color: c.function
|
|
24
|
+
}, {
|
|
25
|
+
tag: [t.processingInstruction, t.string, t.inserted, t.special(t.string)],
|
|
26
|
+
color: c.string
|
|
27
|
+
}, {
|
|
28
|
+
tag: [t.function(t.variableName), t.labelName],
|
|
29
|
+
color: c.function
|
|
30
|
+
}, {
|
|
31
|
+
tag: [t.color, t.constant(t.name), t.standard(t.name)],
|
|
32
|
+
color: c.constant
|
|
33
|
+
}, {
|
|
34
|
+
tag: [t.definition(t.name), t.separator],
|
|
35
|
+
color: c.variable
|
|
36
|
+
}, {
|
|
37
|
+
tag: [t.className],
|
|
38
|
+
color: c.class
|
|
39
|
+
}, {
|
|
40
|
+
tag: [t.number, t.changed, t.annotation, t.modifier, t.self, t.namespace],
|
|
41
|
+
color: c.number
|
|
42
|
+
}, {
|
|
43
|
+
tag: [t.typeName],
|
|
44
|
+
color: c.type,
|
|
45
|
+
fontStyle: c.type
|
|
46
|
+
}, {
|
|
47
|
+
tag: [t.operator, t.operatorKeyword],
|
|
48
|
+
color: c.keyword
|
|
49
|
+
}, {
|
|
50
|
+
tag: [t.url, t.escape, t.regexp, t.link],
|
|
51
|
+
color: c.regexp
|
|
52
|
+
}, {
|
|
53
|
+
tag: [t.meta, t.comment],
|
|
54
|
+
color: c.comment
|
|
55
|
+
}, {
|
|
56
|
+
tag: t.tagName,
|
|
57
|
+
color: c.tag
|
|
58
|
+
}, {
|
|
59
|
+
tag: t.strong,
|
|
60
|
+
fontWeight: 'bold'
|
|
61
|
+
}, {
|
|
62
|
+
tag: t.emphasis,
|
|
63
|
+
fontStyle: 'italic'
|
|
64
|
+
}, {
|
|
65
|
+
tag: t.link,
|
|
66
|
+
textDecoration: 'underline'
|
|
67
|
+
}, {
|
|
68
|
+
tag: t.heading,
|
|
69
|
+
fontWeight: 'bold',
|
|
70
|
+
color: c.heading
|
|
71
|
+
}, {
|
|
72
|
+
tag: [t.atom, t.bool, t.special(t.variableName)],
|
|
73
|
+
color: c.variable
|
|
74
|
+
}, {
|
|
75
|
+
tag: t.invalid,
|
|
76
|
+
color: c.invalid
|
|
77
|
+
}, {
|
|
78
|
+
tag: t.strikethrough,
|
|
79
|
+
textDecoration: 'line-through'
|
|
80
|
+
}];
|
|
81
|
+
export var kimbieInit = options => {
|
|
82
|
+
var {
|
|
83
|
+
theme = 'dark',
|
|
84
|
+
settings = {},
|
|
85
|
+
styles = []
|
|
86
|
+
} = options || {};
|
|
87
|
+
return createTheme({
|
|
88
|
+
theme: theme,
|
|
89
|
+
settings: _extends({}, defaultSettingsKimbie, settings),
|
|
90
|
+
styles: [...kimbieDarkStyle, ...styles]
|
|
91
|
+
});
|
|
92
|
+
};
|
|
93
|
+
export var kimbie = kimbieInit();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@uiw/codemirror-theme-kimbie",
|
|
3
|
+
"version": "4.25.9",
|
|
4
|
+
"description": "Theme kimbie for CodeMirror.",
|
|
5
|
+
"homepage": "https://uiwjs.github.io/react-codemirror/#/theme/data/kimbie",
|
|
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
|
+
"codemirror-theme",
|
|
38
|
+
"codemirror6",
|
|
39
|
+
"theme",
|
|
40
|
+
"kimbie",
|
|
41
|
+
"syntax",
|
|
42
|
+
"ide",
|
|
43
|
+
"code"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export const config = {
|
|
2
|
+
background: '#221a0f',
|
|
3
|
+
foreground: '#d3af86',
|
|
4
|
+
selection: '#84613daa',
|
|
5
|
+
selectionMatch: '#84613daa',
|
|
6
|
+
cursor: '#d3af86',
|
|
7
|
+
dropdownBackground: '#51412c',
|
|
8
|
+
activeLine: '#5e452b52',
|
|
9
|
+
matchingBracket: '#5e452b',
|
|
10
|
+
keyword: '#98676a',
|
|
11
|
+
storage: '#98676a',
|
|
12
|
+
variable: '#dc3958',
|
|
13
|
+
parameter: '#dc3958',
|
|
14
|
+
function: '#7e602c',
|
|
15
|
+
string: '#889b4a',
|
|
16
|
+
constant: '#f79a32',
|
|
17
|
+
type: '#f06431',
|
|
18
|
+
class: '#f06431',
|
|
19
|
+
number: '#f79a32',
|
|
20
|
+
comment: '#a57a4c',
|
|
21
|
+
heading: '#8ab1b0',
|
|
22
|
+
invalid: '#dc3958',
|
|
23
|
+
regexp: '#7e602c',
|
|
24
|
+
tag: '#dc3958',
|
|
25
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { tags as t } from '@lezer/highlight';
|
|
2
|
+
import { createTheme, type CreateThemeOptions } from '@uiw/codemirror-themes';
|
|
3
|
+
import { config as c } from './color';
|
|
4
|
+
|
|
5
|
+
export const defaultSettingsKimbie: CreateThemeOptions['settings'] = {
|
|
6
|
+
background: c.background,
|
|
7
|
+
foreground: c.foreground,
|
|
8
|
+
caret: c.cursor,
|
|
9
|
+
selection: c.selection,
|
|
10
|
+
selectionMatch: c.selection,
|
|
11
|
+
gutterBackground: c.background,
|
|
12
|
+
gutterForeground: c.foreground,
|
|
13
|
+
lineHighlight: c.activeLine,
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export const kimbieDarkStyle: CreateThemeOptions['styles'] = [
|
|
17
|
+
{ tag: t.keyword, color: c.keyword },
|
|
18
|
+
{ tag: [t.name, t.deleted, t.character, t.macroName], color: c.variable },
|
|
19
|
+
{ tag: [t.propertyName], color: c.function },
|
|
20
|
+
{ tag: [t.processingInstruction, t.string, t.inserted, t.special(t.string)], color: c.string },
|
|
21
|
+
{ tag: [t.function(t.variableName), t.labelName], color: c.function },
|
|
22
|
+
{ tag: [t.color, t.constant(t.name), t.standard(t.name)], color: c.constant },
|
|
23
|
+
{ tag: [t.definition(t.name), t.separator], color: c.variable },
|
|
24
|
+
{ tag: [t.className], color: c.class },
|
|
25
|
+
{ tag: [t.number, t.changed, t.annotation, t.modifier, t.self, t.namespace], color: c.number },
|
|
26
|
+
{ tag: [t.typeName], color: c.type, fontStyle: c.type },
|
|
27
|
+
{ tag: [t.operator, t.operatorKeyword], color: c.keyword },
|
|
28
|
+
{ tag: [t.url, t.escape, t.regexp, t.link], color: c.regexp },
|
|
29
|
+
{ tag: [t.meta, t.comment], color: c.comment },
|
|
30
|
+
{ tag: t.tagName, color: c.tag },
|
|
31
|
+
{ tag: t.strong, fontWeight: 'bold' },
|
|
32
|
+
{ tag: t.emphasis, fontStyle: 'italic' },
|
|
33
|
+
{ tag: t.link, textDecoration: 'underline' },
|
|
34
|
+
{ tag: t.heading, fontWeight: 'bold', color: c.heading },
|
|
35
|
+
{ tag: [t.atom, t.bool, t.special(t.variableName)], color: c.variable },
|
|
36
|
+
{ tag: t.invalid, color: c.invalid },
|
|
37
|
+
{ tag: t.strikethrough, textDecoration: 'line-through' },
|
|
38
|
+
];
|
|
39
|
+
|
|
40
|
+
export const kimbieInit = (options?: Partial<CreateThemeOptions>) => {
|
|
41
|
+
const { theme = 'dark', settings = {}, styles = [] } = options || {};
|
|
42
|
+
return createTheme({
|
|
43
|
+
theme: theme,
|
|
44
|
+
settings: {
|
|
45
|
+
...defaultSettingsKimbie,
|
|
46
|
+
...settings,
|
|
47
|
+
},
|
|
48
|
+
styles: [...kimbieDarkStyle, ...styles],
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export const kimbie = kimbieInit();
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
<div markdown="1">
|
|
2
|
+
<sup>Using <a href="https://wangchujiang.com/#/app" target="_blank">my app</a> is also a way to <a href="https://wangchujiang.com/#/sponsor" target="_blank">support</a> me:</sup>
|
|
3
|
+
<br>
|
|
4
|
+
<a target="_blank" href="https://apps.apple.com/app/6758053530" title="Scap: Screenshot & Markup Edit for macOS"><img alt="Scap: Screenshot & Markup Edit" height="52" width="52" src="https://wangchujiang.com/appicon/scap.png"></a>
|
|
5
|
+
<a target="_blank" href="https://apps.apple.com/app/6757317079" title="Screen Test for macOS"><img alt="Screen Test" height="52" width="52" src="https://wangchujiang.com/appicon/screen-test.png"></a>
|
|
6
|
+
<a target="_blank" href="https://apps.apple.com/app/Deskmark/6755948110" title="Deskmark for macOS"><img alt="Deskmark" height="52" width="52" src="https://wangchujiang.com/appicon/deskmark.png"></a>
|
|
7
|
+
<a target="_blank" href="https://apps.apple.com/app/Keyzer/6500434773" title="Keyzer for macOS"><img alt="Keyzer" height="52" width="52" src="https://wangchujiang.com/appicon/keyzer.png"></a>
|
|
8
|
+
<a target="_blank" href="https://github.com/jaywcjlove/vidwall-hub" title="Vidwall Hub for macOS"><img alt="Vidwall Hub" height="52" width="52" src="https://wangchujiang.com/appicon/vidwall-hub.png"></a>
|
|
9
|
+
<a target="_blank" href="https://apps.apple.com/app/VidCrop/6752624705" title="VidCrop for macOS"><img alt="VidCrop" height="52" width="52" src="https://wangchujiang.com/appicon/vidcrop.png"></a>
|
|
10
|
+
<a target="_blank" href="https://apps.apple.com/app/Vidwall/6747587746" title="Vidwall for macOS"><img alt="Vidwall" height="52" width="52" src="https://wangchujiang.com/appicon/vidwall.png"></a>
|
|
11
|
+
<a target="_blank" href="https://wangchujiang.com/mousio-hint/" title="Mousio Hint for macOS"><img alt="Mousio Hint" height="52" width="52" src="https://wangchujiang.com/appicon/mousio-hint.png"></a>
|
|
12
|
+
<a target="_blank" href="https://apps.apple.com/app/6746747327" title="Mousio for macOS"><img alt="Mousio" height="52" width="52" src="https://wangchujiang.com/appicon/mousio.png"></a>
|
|
13
|
+
<a target="_blank" href="https://apps.apple.com/app/6745227444" title="Musicer for macOS"><img alt="Musicer" height="52" width="52" src="https://wangchujiang.com/appicon/musicer.png"></a>
|
|
14
|
+
<a target="_blank" href="https://apps.apple.com/app/6743841447" title="Audioer for macOS"><img alt="Audioer" height="52" width="52" src="https://wangchujiang.com/appicon/audioer.png"></a>
|
|
15
|
+
<a target="_blank" href="https://apps.apple.com/app/6744690194" title="FileSentinel for macOS"><img alt="FileSentinel" height="52" width="52" src="https://wangchujiang.com/appicon/file-sentinel.png"></a>
|
|
16
|
+
<a target="_blank" href="https://apps.apple.com/app/6743495172" title="FocusCursor for macOS"><img alt="FocusCursor" height="52" width="52" src="https://wangchujiang.com/appicon/focus-cursor.png"></a>
|
|
17
|
+
<a target="_blank" href="https://apps.apple.com/app/6742680573" title="Videoer for macOS"><img alt="Videoer" height="52" width="52" src="https://wangchujiang.com/appicon/videoer.png"></a>
|
|
18
|
+
<a target="_blank" href="https://apps.apple.com/app/6740425504" title="KeyClicker for macOS"><img alt="KeyClicker" height="52" width="52" src="https://wangchujiang.com/appicon/key-clicker.png"></a>
|
|
19
|
+
<a target="_blank" href="https://apps.apple.com/app/6739052447" title="DayBar for macOS"><img alt="DayBar" height="52" width="52" src="https://wangchujiang.com/appicon/daybar.png"></a>
|
|
20
|
+
<a target="_blank" href="https://apps.apple.com/app/6739444407" title="Iconed for macOS"><img alt="Iconed" height="52" width="52" src="https://wangchujiang.com/appicon/iconed.png"></a>
|
|
21
|
+
<a target="_blank" href="https://apps.apple.com/app/6737160756" title="Menuist for macOS"><img alt="Menuist" height="52" width="52" src="https://wangchujiang.com/appicon/rightmenu-master.png"></a>
|
|
22
|
+
<a target="_blank" href="https://apps.apple.com/app/6723903021" title="Paste Quick for macOS"><img alt="Quick RSS" height="52" width="52" src="https://wangchujiang.com/appicon/paste-quick.png"></a>
|
|
23
|
+
<a target="_blank" href="https://apps.apple.com/app/6670696072" title="Quick RSS for macOS/iOS"><img alt="Quick RSS" height="52" width="52" src="https://wangchujiang.com/appicon/quick-rss.png"></a>
|
|
24
|
+
<a target="_blank" href="https://apps.apple.com/app/6670167443" title="Web Serve for macOS"><img alt="Web Serve" height="52" width="52" src="https://wangchujiang.com/appicon/web-serve.png"></a>
|
|
25
|
+
<a target="_blank" href="https://apps.apple.com/app/6503953628" title="Copybook Generator for macOS/iOS"><img alt="Copybook Generator" height="52" width="52" src="https://wangchujiang.com/appicon/copybook-generator.png"></a>
|
|
26
|
+
<a target="_blank" href="https://apps.apple.com/app/6471227008" title="DevTutor for macOS/iOS"><img alt="DevTutor for SwiftUI" height="52" width="52" src="https://wangchujiang.com/appicon/devtutor.png"></a>
|
|
27
|
+
<a target="_blank" href="https://apps.apple.com/app/6479819388" title="RegexMate for macOS/iOS"><img alt="RegexMate" height="52" width="52" src="https://wangchujiang.com/appicon/regex-mate.png"></a>
|
|
28
|
+
<a target="_blank" href="https://apps.apple.com/app/6479194014" title="Time Passage for macOS/iOS"><img alt="Time Passage" height="52" width="52" src="https://wangchujiang.com/appicon/time-passage.png"></a>
|
|
29
|
+
<a target="_blank" href="https://apps.apple.com/app/6478772538" title="IconizeFolder for macOS"><img alt="Iconize Folder" height="52" width="52" src="https://wangchujiang.com/appicon/iconize-folder.png"></a>
|
|
30
|
+
<a target="_blank" href="https://apps.apple.com/app/6478511402" title="Textsound Saver for macOS/iOS"><img alt="Textsound Saver" height="52" width="52" src="https://wangchujiang.com/appicon/textsound-saver.png"></a>
|
|
31
|
+
<a target="_blank" href="https://apps.apple.com/app/6476924627" title="Create Custom Symbols for macOS"><img alt="Create Custom Symbols" height="52" width="52" src="https://wangchujiang.com/appicon/create-custom-symbols.png"></a>
|
|
32
|
+
<a target="_blank" href="https://apps.apple.com/app/6476452351" title="DevHub for macOS"><img alt="DevHub" height="52" width="52" src="https://wangchujiang.com/appicon/devhub.png"></a>
|
|
33
|
+
<a target="_blank" href="https://apps.apple.com/app/6476400184" title="Resume Revise for macOS"><img alt="Resume Revise" height="52" width="52" src="https://wangchujiang.com/appicon/resume-revise.png"></a>
|
|
34
|
+
<a target="_blank" href="https://apps.apple.com/app/6472593276" title="Palette Genius for macOS"><img alt="Palette Genius" height="52" width="52" src="https://wangchujiang.com/appicon/palette-genius.png"></a>
|
|
35
|
+
<a target="_blank" href="https://apps.apple.com/app/6470879005" title="Symbol Scribe for macOS"><img alt="Symbol Scribe" height="52" width="52" src="https://wangchujiang.com/appicon/symbol-scribe.png"></a>
|
|
36
|
+
<br><br>
|
|
37
|
+
</div>
|
|
38
|
+
<hr>
|
|
39
|
+
|
|
40
|
+
<!--rehype:ignore:start-->
|
|
41
|
+
|
|
42
|
+
# Material Theme
|
|
43
|
+
|
|
44
|
+
<!--rehype:ignore:end-->
|
|
45
|
+
|
|
46
|
+
[](https://jaywcjlove.github.io/#/sponsor)
|
|
47
|
+
[](https://www.npmjs.com/package/@uiw/codemirror-theme-material)
|
|
48
|
+
|
|
49
|
+
This package implements the [Material](https://material.io/tools/color/) Dark theme for the CodeMirror code editor.
|
|
50
|
+
|
|
51
|
+
<a href="https://uiwjs.github.io/react-codemirror/#/theme/data/material/dark">
|
|
52
|
+
<img width="436" alt="codemirror-theme-material" src="https://user-images.githubusercontent.com/1680273/205537793-79f9c99c-831a-4ce3-8189-78b42896656f.png">
|
|
53
|
+
</a>
|
|
54
|
+
|
|
55
|
+
<a href="https://uiwjs.github.io/react-codemirror/#/theme/data/material/light">
|
|
56
|
+
<img width="436" alt="codemirror-theme-material" src="https://user-images.githubusercontent.com/1680273/206124615-b3896e2c-d299-4609-b1d9-523ea1cf9f5b.png">
|
|
57
|
+
</a>
|
|
58
|
+
|
|
59
|
+
## Install
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
npm install @uiw/codemirror-theme-material --save
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
```js
|
|
66
|
+
import { EditorState } from '@codemirror/state';
|
|
67
|
+
import { javascript } from '@codemirror/lang-javascript';
|
|
68
|
+
import { material } from '@uiw/codemirror-theme-material';
|
|
69
|
+
|
|
70
|
+
const state = EditorState.create({
|
|
71
|
+
doc: 'my source code',
|
|
72
|
+
extensions: [material, javascript({ jsx: true })],
|
|
73
|
+
});
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Using in React:
|
|
77
|
+
|
|
78
|
+
```jsx
|
|
79
|
+
import { materialDark, materialDarkInit, materialLight, materialLightInit } from '@uiw/codemirror-theme-material';
|
|
80
|
+
|
|
81
|
+
// materialInit === materialDarkInit
|
|
82
|
+
// material === materialDark
|
|
83
|
+
|
|
84
|
+
<CodeMirror theme={material} />
|
|
85
|
+
<CodeMirror
|
|
86
|
+
theme={materialInit({
|
|
87
|
+
settings: {
|
|
88
|
+
caret: '#c6c6c6',
|
|
89
|
+
fontFamily: 'monospace',
|
|
90
|
+
}
|
|
91
|
+
})}
|
|
92
|
+
/>
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## API
|
|
96
|
+
|
|
97
|
+
```tsx
|
|
98
|
+
import { CreateThemeOptions } from '@uiw/codemirror-themes';
|
|
99
|
+
export declare const defaultSettingsMaterial: CreateThemeOptions['settings'];
|
|
100
|
+
export declare const defaultSettingsMaterialDark: import('@uiw/codemirror-themes').Settings;
|
|
101
|
+
export declare const materialInit: (options?: Partial<CreateThemeOptions>) => import('@codemirror/state').Extension;
|
|
102
|
+
export declare const materialDarkInit: (options?: Partial<CreateThemeOptions>) => import('@codemirror/state').Extension;
|
|
103
|
+
export declare const materialDark: import('@codemirror/state').Extension;
|
|
104
|
+
export declare const material: import('@codemirror/state').Extension;
|
|
105
|
+
export declare const defaultSettingsMaterialLight: CreateThemeOptions['settings'];
|
|
106
|
+
export declare const materialLightInit: (
|
|
107
|
+
options?: Partial<CreateThemeOptions>,
|
|
108
|
+
) => import('@codemirror/state').Extension;
|
|
109
|
+
export declare const materialLight: import('@codemirror/state').Extension;
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Usage
|
|
113
|
+
|
|
114
|
+
```jsx
|
|
115
|
+
import CodeMirror from '@uiw/react-codemirror';
|
|
116
|
+
import { material } from '@uiw/codemirror-theme-material';
|
|
117
|
+
import { javascript } from '@codemirror/lang-javascript';
|
|
118
|
+
|
|
119
|
+
function App() {
|
|
120
|
+
return (
|
|
121
|
+
<CodeMirror
|
|
122
|
+
value="console.log('hello world!');"
|
|
123
|
+
height="200px"
|
|
124
|
+
theme={material}
|
|
125
|
+
extensions={[javascript({ jsx: true })]}
|
|
126
|
+
/>
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
export default App;
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
```js
|
|
133
|
+
import { EditorView } from '@codemirror/view';
|
|
134
|
+
import { EditorState } from '@codemirror/state';
|
|
135
|
+
import { javascript } from '@codemirror/lang-javascript';
|
|
136
|
+
import { material } from '@uiw/codemirror-theme-material';
|
|
137
|
+
|
|
138
|
+
const state = EditorState.create({
|
|
139
|
+
doc: 'my source code',
|
|
140
|
+
extensions: [material, javascript({ jsx: true })],
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
const view = new EditorView({
|
|
144
|
+
parent: document.querySelector('#editor'),
|
|
145
|
+
state,
|
|
146
|
+
});
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## Contributors
|
|
150
|
+
|
|
151
|
+
As always, thanks to our amazing contributors!
|
|
152
|
+
|
|
153
|
+
<a href="https://github.com/uiwjs/react-codemirror/graphs/contributors">
|
|
154
|
+
<img src="https://uiwjs.github.io/react-codemirror/CONTRIBUTORS.svg" />
|
|
155
|
+
</a>
|
|
156
|
+
|
|
157
|
+
Made with [github-action-contributors](https://github.com/jaywcjlove/github-action-contributors).
|
|
158
|
+
|
|
159
|
+
## License
|
|
160
|
+
|
|
161
|
+
Licensed under the MIT License.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type CreateThemeOptions } from '@uiw/codemirror-themes';
|
|
2
|
+
export declare const defaultSettingsMaterial: CreateThemeOptions['settings'];
|
|
3
|
+
export declare const defaultSettingsMaterialDark: import("@uiw/codemirror-themes").Settings;
|
|
4
|
+
export declare const materialDarkStyle: CreateThemeOptions['styles'];
|
|
5
|
+
export declare const materialInit: (options?: Partial<CreateThemeOptions>) => import("@codemirror/state").Extension;
|
|
6
|
+
export declare const materialDarkInit: (options?: Partial<CreateThemeOptions>) => import("@codemirror/state").Extension;
|
|
7
|
+
export declare const materialDark: import("@codemirror/state").Extension;
|
|
8
|
+
export declare const material: import("@codemirror/state").Extension;
|
|
9
|
+
export declare const defaultSettingsMaterialLight: CreateThemeOptions['settings'];
|
|
10
|
+
export declare const materialLightStyle: CreateThemeOptions['styles'];
|
|
11
|
+
export declare const materialLightInit: (options?: Partial<CreateThemeOptions>) => import("@codemirror/state").Extension;
|
|
12
|
+
export declare const materialLight: import("@codemirror/state").Extension;
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.materialLightStyle = exports.materialLightInit = exports.materialLight = exports.materialInit = exports.materialDarkStyle = exports.materialDarkInit = exports.materialDark = exports.material = exports.defaultSettingsMaterialLight = exports.defaultSettingsMaterialDark = exports.defaultSettingsMaterial = void 0;
|
|
8
|
+
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
|
+
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
10
|
+
var _highlight = require("@lezer/highlight");
|
|
11
|
+
var _codemirrorThemes = require("@uiw/codemirror-themes");
|
|
12
|
+
var defaultSettingsMaterial = exports.defaultSettingsMaterial = {
|
|
13
|
+
background: '#2e3235',
|
|
14
|
+
foreground: '#bdbdbd',
|
|
15
|
+
caret: '#a0a4ae',
|
|
16
|
+
selection: '#d7d4f063',
|
|
17
|
+
selectionMatch: '#d7d4f063',
|
|
18
|
+
gutterBackground: '#2e3235',
|
|
19
|
+
gutterForeground: '#999',
|
|
20
|
+
gutterActiveForeground: '#4f5b66',
|
|
21
|
+
lineHighlight: '#545b6130'
|
|
22
|
+
};
|
|
23
|
+
var defaultSettingsMaterialDark = exports.defaultSettingsMaterialDark = defaultSettingsMaterial;
|
|
24
|
+
var materialDarkStyle = exports.materialDarkStyle = [{
|
|
25
|
+
tag: _highlight.tags.keyword,
|
|
26
|
+
color: '#cf6edf'
|
|
27
|
+
}, {
|
|
28
|
+
tag: [_highlight.tags.name, _highlight.tags.deleted, _highlight.tags.character, _highlight.tags.macroName],
|
|
29
|
+
color: '#56c8d8'
|
|
30
|
+
}, {
|
|
31
|
+
tag: [_highlight.tags.propertyName],
|
|
32
|
+
color: '#facf4e'
|
|
33
|
+
}, {
|
|
34
|
+
tag: [_highlight.tags.variableName],
|
|
35
|
+
color: '#bdbdbd'
|
|
36
|
+
}, {
|
|
37
|
+
tag: [_highlight.tags["function"](_highlight.tags.variableName)],
|
|
38
|
+
color: '#56c8d8'
|
|
39
|
+
}, {
|
|
40
|
+
tag: [_highlight.tags.labelName],
|
|
41
|
+
color: '#cf6edf'
|
|
42
|
+
}, {
|
|
43
|
+
tag: [_highlight.tags.color, _highlight.tags.constant(_highlight.tags.name), _highlight.tags.standard(_highlight.tags.name)],
|
|
44
|
+
color: '#facf4e'
|
|
45
|
+
}, {
|
|
46
|
+
tag: [_highlight.tags.definition(_highlight.tags.name), _highlight.tags.separator],
|
|
47
|
+
color: '#fa5788'
|
|
48
|
+
}, {
|
|
49
|
+
tag: [_highlight.tags.brace],
|
|
50
|
+
color: '#cf6edf'
|
|
51
|
+
}, {
|
|
52
|
+
tag: [_highlight.tags.annotation],
|
|
53
|
+
color: '#ff5f52'
|
|
54
|
+
}, {
|
|
55
|
+
tag: [_highlight.tags.number, _highlight.tags.changed, _highlight.tags.annotation, _highlight.tags.modifier, _highlight.tags.self, _highlight.tags.namespace],
|
|
56
|
+
color: '#ffad42'
|
|
57
|
+
}, {
|
|
58
|
+
tag: [_highlight.tags.typeName, _highlight.tags.className],
|
|
59
|
+
color: '#ffad42'
|
|
60
|
+
}, {
|
|
61
|
+
tag: [_highlight.tags.operator, _highlight.tags.operatorKeyword],
|
|
62
|
+
color: '#7186f0'
|
|
63
|
+
}, {
|
|
64
|
+
tag: [_highlight.tags.tagName],
|
|
65
|
+
color: '#99d066'
|
|
66
|
+
}, {
|
|
67
|
+
tag: [_highlight.tags.squareBracket],
|
|
68
|
+
color: '#ff5f52'
|
|
69
|
+
}, {
|
|
70
|
+
tag: [_highlight.tags.angleBracket],
|
|
71
|
+
color: '#606f7a'
|
|
72
|
+
}, {
|
|
73
|
+
tag: [_highlight.tags.attributeName],
|
|
74
|
+
color: '#bdbdbd'
|
|
75
|
+
}, {
|
|
76
|
+
tag: [_highlight.tags.regexp],
|
|
77
|
+
color: '#ff5f52'
|
|
78
|
+
}, {
|
|
79
|
+
tag: [_highlight.tags.quote],
|
|
80
|
+
color: '#6abf69'
|
|
81
|
+
}, {
|
|
82
|
+
tag: [_highlight.tags.string],
|
|
83
|
+
color: '#99d066'
|
|
84
|
+
}, {
|
|
85
|
+
tag: _highlight.tags.link,
|
|
86
|
+
color: '#56c8d8',
|
|
87
|
+
textDecoration: 'underline',
|
|
88
|
+
textUnderlinePosition: 'under'
|
|
89
|
+
}, {
|
|
90
|
+
tag: [_highlight.tags.url, _highlight.tags.escape, _highlight.tags.special(_highlight.tags.string)],
|
|
91
|
+
color: '#facf4e'
|
|
92
|
+
}, {
|
|
93
|
+
tag: [_highlight.tags.meta],
|
|
94
|
+
color: '#707d8b'
|
|
95
|
+
}, {
|
|
96
|
+
tag: [_highlight.tags.comment],
|
|
97
|
+
color: '#707d8b',
|
|
98
|
+
fontStyle: 'italic'
|
|
99
|
+
}, {
|
|
100
|
+
tag: _highlight.tags.monospace,
|
|
101
|
+
color: '#bdbdbd'
|
|
102
|
+
}, {
|
|
103
|
+
tag: _highlight.tags.strong,
|
|
104
|
+
fontWeight: 'bold',
|
|
105
|
+
color: '#ff5f52'
|
|
106
|
+
}, {
|
|
107
|
+
tag: _highlight.tags.emphasis,
|
|
108
|
+
fontStyle: 'italic',
|
|
109
|
+
color: '#99d066'
|
|
110
|
+
}, {
|
|
111
|
+
tag: _highlight.tags.strikethrough,
|
|
112
|
+
textDecoration: 'line-through'
|
|
113
|
+
}, {
|
|
114
|
+
tag: _highlight.tags.heading,
|
|
115
|
+
fontWeight: 'bold',
|
|
116
|
+
color: '#facf4e'
|
|
117
|
+
}, {
|
|
118
|
+
tag: _highlight.tags.heading1,
|
|
119
|
+
fontWeight: 'bold',
|
|
120
|
+
color: '#facf4e'
|
|
121
|
+
}, {
|
|
122
|
+
tag: [_highlight.tags.heading2, _highlight.tags.heading3, _highlight.tags.heading4],
|
|
123
|
+
fontWeight: 'bold',
|
|
124
|
+
color: '#facf4e'
|
|
125
|
+
}, {
|
|
126
|
+
tag: [_highlight.tags.heading5, _highlight.tags.heading6],
|
|
127
|
+
color: '#facf4e'
|
|
128
|
+
}, {
|
|
129
|
+
tag: [_highlight.tags.atom, _highlight.tags.bool, _highlight.tags.special(_highlight.tags.variableName)],
|
|
130
|
+
color: '#56c8d8'
|
|
131
|
+
}, {
|
|
132
|
+
tag: [_highlight.tags.processingInstruction, _highlight.tags.inserted],
|
|
133
|
+
color: '#ff5f52'
|
|
134
|
+
}, {
|
|
135
|
+
tag: [_highlight.tags.contentSeparator],
|
|
136
|
+
color: '#56c8d8'
|
|
137
|
+
}, {
|
|
138
|
+
tag: _highlight.tags.invalid,
|
|
139
|
+
color: '#606f7a',
|
|
140
|
+
borderBottom: "1px dotted #ff5f52"
|
|
141
|
+
}];
|
|
142
|
+
var materialInit = exports.materialInit = function materialInit(options) {
|
|
143
|
+
var _ref = options || {},
|
|
144
|
+
_ref$theme = _ref.theme,
|
|
145
|
+
theme = _ref$theme === void 0 ? 'dark' : _ref$theme,
|
|
146
|
+
_ref$settings = _ref.settings,
|
|
147
|
+
settings = _ref$settings === void 0 ? {} : _ref$settings,
|
|
148
|
+
_ref$styles = _ref.styles,
|
|
149
|
+
styles = _ref$styles === void 0 ? [] : _ref$styles;
|
|
150
|
+
return (0, _codemirrorThemes.createTheme)({
|
|
151
|
+
theme: theme,
|
|
152
|
+
settings: (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, defaultSettingsMaterial), settings),
|
|
153
|
+
styles: [].concat(materialDarkStyle, (0, _toConsumableArray2["default"])(styles))
|
|
154
|
+
});
|
|
155
|
+
};
|
|
156
|
+
var materialDarkInit = exports.materialDarkInit = materialInit;
|
|
157
|
+
var materialDark = exports.materialDark = materialInit();
|
|
158
|
+
var material = exports.material = materialInit();
|
|
159
|
+
var defaultSettingsMaterialLight = exports.defaultSettingsMaterialLight = {
|
|
160
|
+
background: '#FAFAFA',
|
|
161
|
+
foreground: '#90A4AE',
|
|
162
|
+
caret: '#272727',
|
|
163
|
+
selection: '#80CBC440',
|
|
164
|
+
selectionMatch: '#80CBC440',
|
|
165
|
+
gutterBackground: '#FAFAFA',
|
|
166
|
+
gutterForeground: '#90A4AE',
|
|
167
|
+
gutterBorder: 'transparent',
|
|
168
|
+
lineHighlight: '#CCD7DA50'
|
|
169
|
+
};
|
|
170
|
+
var materialLightStyle = exports.materialLightStyle = [{
|
|
171
|
+
tag: _highlight.tags.keyword,
|
|
172
|
+
color: '#39ADB5'
|
|
173
|
+
}, {
|
|
174
|
+
tag: [_highlight.tags.name, _highlight.tags.deleted, _highlight.tags.character, _highlight.tags.macroName],
|
|
175
|
+
color: '#90A4AE'
|
|
176
|
+
}, {
|
|
177
|
+
tag: [_highlight.tags.propertyName],
|
|
178
|
+
color: '#6182B8'
|
|
179
|
+
}, {
|
|
180
|
+
tag: [_highlight.tags.processingInstruction, _highlight.tags.string, _highlight.tags.inserted, _highlight.tags.special(_highlight.tags.string)],
|
|
181
|
+
color: '#91B859'
|
|
182
|
+
}, {
|
|
183
|
+
tag: [_highlight.tags["function"](_highlight.tags.variableName), _highlight.tags.labelName],
|
|
184
|
+
color: '#6182B8'
|
|
185
|
+
}, {
|
|
186
|
+
tag: [_highlight.tags.color, _highlight.tags.constant(_highlight.tags.name), _highlight.tags.standard(_highlight.tags.name)],
|
|
187
|
+
color: '#39ADB5'
|
|
188
|
+
}, {
|
|
189
|
+
tag: [_highlight.tags.definition(_highlight.tags.name), _highlight.tags.separator],
|
|
190
|
+
color: '#90A4AE'
|
|
191
|
+
}, {
|
|
192
|
+
tag: [_highlight.tags.className],
|
|
193
|
+
color: '#E2931D'
|
|
194
|
+
}, {
|
|
195
|
+
tag: [_highlight.tags.number, _highlight.tags.changed, _highlight.tags.annotation, _highlight.tags.modifier, _highlight.tags.self, _highlight.tags.namespace],
|
|
196
|
+
color: '#F76D47'
|
|
197
|
+
}, {
|
|
198
|
+
tag: [_highlight.tags.typeName],
|
|
199
|
+
color: '#E2931D',
|
|
200
|
+
fontStyle: '#E2931D'
|
|
201
|
+
}, {
|
|
202
|
+
tag: [_highlight.tags.operator, _highlight.tags.operatorKeyword],
|
|
203
|
+
color: '#39ADB5'
|
|
204
|
+
}, {
|
|
205
|
+
tag: [_highlight.tags.url, _highlight.tags.escape, _highlight.tags.regexp, _highlight.tags.link],
|
|
206
|
+
color: '#91B859'
|
|
207
|
+
}, {
|
|
208
|
+
tag: [_highlight.tags.meta, _highlight.tags.comment],
|
|
209
|
+
color: '#90A4AE'
|
|
210
|
+
}, {
|
|
211
|
+
tag: _highlight.tags.strong,
|
|
212
|
+
fontWeight: 'bold'
|
|
213
|
+
}, {
|
|
214
|
+
tag: _highlight.tags.emphasis,
|
|
215
|
+
fontStyle: 'italic'
|
|
216
|
+
}, {
|
|
217
|
+
tag: _highlight.tags.link,
|
|
218
|
+
textDecoration: 'underline'
|
|
219
|
+
}, {
|
|
220
|
+
tag: _highlight.tags.heading,
|
|
221
|
+
fontWeight: 'bold',
|
|
222
|
+
color: '#39ADB5'
|
|
223
|
+
}, {
|
|
224
|
+
tag: [_highlight.tags.atom, _highlight.tags.bool, _highlight.tags.special(_highlight.tags.variableName)],
|
|
225
|
+
color: '#90A4AE'
|
|
226
|
+
}, {
|
|
227
|
+
tag: _highlight.tags.invalid,
|
|
228
|
+
color: '#E5393570'
|
|
229
|
+
}, {
|
|
230
|
+
tag: _highlight.tags.strikethrough,
|
|
231
|
+
textDecoration: 'line-through'
|
|
232
|
+
}];
|
|
233
|
+
var materialLightInit = exports.materialLightInit = function materialLightInit(options) {
|
|
234
|
+
var _ref2 = options || {},
|
|
235
|
+
_ref2$theme = _ref2.theme,
|
|
236
|
+
theme = _ref2$theme === void 0 ? 'light' : _ref2$theme,
|
|
237
|
+
_ref2$settings = _ref2.settings,
|
|
238
|
+
settings = _ref2$settings === void 0 ? {} : _ref2$settings,
|
|
239
|
+
_ref2$styles = _ref2.styles,
|
|
240
|
+
styles = _ref2$styles === void 0 ? [] : _ref2$styles;
|
|
241
|
+
return (0, _codemirrorThemes.createTheme)({
|
|
242
|
+
theme: theme,
|
|
243
|
+
settings: (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, defaultSettingsMaterialLight), settings),
|
|
244
|
+
styles: [].concat(materialLightStyle, (0, _toConsumableArray2["default"])(styles))
|
|
245
|
+
});
|
|
246
|
+
};
|
|
247
|
+
var materialLight = exports.materialLight = materialLightInit();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type CreateThemeOptions } from '@uiw/codemirror-themes';
|
|
2
|
+
export declare const defaultSettingsMaterial: CreateThemeOptions['settings'];
|
|
3
|
+
export declare const defaultSettingsMaterialDark: import("@uiw/codemirror-themes").Settings;
|
|
4
|
+
export declare const materialDarkStyle: CreateThemeOptions['styles'];
|
|
5
|
+
export declare const materialInit: (options?: Partial<CreateThemeOptions>) => import("@codemirror/state").Extension;
|
|
6
|
+
export declare const materialDarkInit: (options?: Partial<CreateThemeOptions>) => import("@codemirror/state").Extension;
|
|
7
|
+
export declare const materialDark: import("@codemirror/state").Extension;
|
|
8
|
+
export declare const material: import("@codemirror/state").Extension;
|
|
9
|
+
export declare const defaultSettingsMaterialLight: CreateThemeOptions['settings'];
|
|
10
|
+
export declare const materialLightStyle: CreateThemeOptions['styles'];
|
|
11
|
+
export declare const materialLightInit: (options?: Partial<CreateThemeOptions>) => import("@codemirror/state").Extension;
|
|
12
|
+
export declare const materialLight: import("@codemirror/state").Extension;
|