π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
New theme color for editor and fixes
Smaug67397b73b5960aad
diff --git a/frontend/app/components/AppTagInput.vue b/frontend/app/components/AppTagInput.vueindex 2dd422c4..467995e0 100644--- a/frontend/app/components/AppTagInput.vue+++ b/frontend/app/components/AppTagInput.vue@@ -50,8 +50,6 @@ function removeLastTag() {display: flex;width: 100%;padding: 0 7px;- border-radius: 10px;- background: var(--bg-color);align-items: center;flex-wrap: wrap;}diff --git a/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue b/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vueindex 1ebf3ccd..afcd8b4b 100644--- a/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue+++ b/frontend/app/components/MarkdownEditor/LazyMarkdownEditor.vue@@ -1,6 +1,6 @@<!-- eslint-disable vue/no-v-html --><template>- <div style="height: 100%; padding: 4px">+ <div style="height: 100%"><div class="editor-container"><Toolbar v-model="document" :minimal="minimal" @execute-action="exec" /><div style="display: flex; min-height: 0; padding: 6px; flex: 1; flex-direction: column; gap: 8px">@@ -29,8 +29,7 @@ import { defaultKeymap, history, historyKeymap, indentWithTab } from '@codemirroimport { highlightSelectionMatches, searchKeymap } from '@codemirror/search';import { autocompletion } from '@codemirror/autocomplete';import { markdown, markdownLanguage } from '@codemirror/lang-markdown';-import { materialLight } from '@fsegurai/codemirror-theme-material-light';-import { materialDark } from '@fsegurai/codemirror-theme-material-dark';+import { materialLight } from './theme-light';import Toolbar from './Toolbar.vue';import ImageSelectorModal from './ImageSelectorModal.vue';import GridOrganizationModal from './GridOrganizationModal.vue';@@ -303,12 +302,6 @@ const markdownKeysmap: readonly KeyBinding[] = [const themeCompartment = new Compartment();-watch(useColorMode(), mode => {- if (!editorView.value) return;- editorView.value.dispatch({- effects: themeCompartment.reconfigure(mode.value === 'dark' ? materialDark : materialLight),- });-});const updateListener = EditorView.updateListener.of(v => {if (v.docChanged) {updateDocumentContent();@@ -328,7 +321,7 @@ const state = EditorState.create({updateListener,snippetListener,fileUploadHandler,- themeCompartment.of(useColorMode().value === 'dark' ? materialDark : materialLight),+ themeCompartment.of(materialLight),highlightSelectionMatches({}),EditorView.lineWrapping,EditorState.allowMultipleSelections.of(true),diff --git a/frontend/app/components/MarkdownEditor/theme-light.ts b/frontend/app/components/MarkdownEditor/theme-light.tsnew file mode 100644index 00000000..6847b351--- /dev/null+++ b/frontend/app/components/MarkdownEditor/theme-light.ts@@ -0,0 +1,461 @@+import { EditorView } from '@codemirror/view';+import { HighlightStyle, syntaxHighlighting } from '@codemirror/language';+import { tags } from '@lezer/highlight';++// Helper module for styling options+const generalContent = {+ fontSize: '14px',+ fontFamily: 'JetBrains Mono, Consolas, monospace',+ lineHeight: '1.6',+};+const generalCursor = {+ borderLeftWidth: '2px',+};+const generalDiff = {+ insertedTextDecoration: 'none',+ deletedTextDecoration: 'line-through',+ insertedLinePadding: '1px 3px',+ borderRadious: '3px',+};+const generalGutter = {+ border: 'none',+ paddingRight: '8px',+ fontSize: '0.9em',+ fontWeight: '500',+};+const generalPanel = {+ border: 'none',+ borderRadius: '4px',+ padding: '2px 10px',+};+const generalLine = {+ borderRadius: '2px',+};+const generalMatching = {+ borderRadius: '2px',+};+const generalPlaceholder = {+ borderRadius: '4px',+ padding: '0 5px',+ margin: '0 2px',+};+const generalScroller = {+ width: '8px',+ height: '12px',+ borderRadius: '6px',+};+const generalSearchField = {+ borderRadius: '4px',+ padding: '2px 6px',+};+const generalTooltip = {+ borderRadius: '4px',+ borderRadiusSelected: '3px',+ lineHeight: '1.3',+ padding: '4px 8px',+ paddingRight: '8px',+};++// Base colors+const base00 = 'var(--bg-color)', // Background - pure white for clean look+ base01 = '', // Lighter background (popups, statuslines)+ base02 = 'var(--font-color)', // Main text - nearly black for contrast+ base03 = 'var(--font-color-light)', // Comments, invisibles - gray 600+ base04 = 'var(--border-color)', // Cursor and line numbers - gray 500+ base05 = '#424242', // Default foreground - gray 800+ base06 = '#eeeeee', // Light borders or divisions - gray 200+ base07 = 'var(--bg-color)', // Light background (gutter) - gray 50+ // Accent colors - using standard Material Design palette+ base08 = 'var(--red)', // Red 500+ base09 = '#ff3e00', // Deep Orange 500+ base0A = '#FF00E9FF', // Pink 500+ base0B = '#ffc107', // Amber 500 (better than yellow for light theme)+ base0C = 'var(--yellow)', // Orange 500+ base0D = 'var(--teal)', // Cyan 600 (better contrast for light theme)+ base0E = 'var(--blue)', // Indigo 600 (better contrast for light theme)+ base0F = 'var(--purple)', // Purple 600 (better contrast for light theme)+ base10 = 'var(--green)', // Green 600 (better contrast for light theme)+ base11 = '#00897b', // Teal 600 (better contrast for light theme)+ base12 = '#1e88e5'; // Blue 600 (better contrast for light theme)+// UI specific colors+const invalid = base08,+ highlightBackground = '#00000008', // Line highlight+ background = base00,+ tooltipBackground = base01,+ selection = '#DDEEFF', // Selection background+ selectionMatch = '#90a4ae26', // Selection match background+ cursor = base04, // Cursor color+ activeBracketBg = '#DDEEFF80', // Active bracket background+ activeBracketBorder = base0D, // Active bracket border+ diagnosticWarning = base0C, // Warning color+ linkColor = base0D, // Link color+ visitedLinkColor = base0F, // Visited link color+ hoverHighlight = '#ECEFF180'; // Hover highlight+// Diff/merge specific colors+const addedBackground = '#e6ffed80', // Light green with transparency for insertions+ removedBackground = '#ffebe980', // Light red with transparency for deletions+ addedText = '#28a745', // Bright green for added text+ removedText = '#d73a49'; // Bright red for removed text+/**+ * Enhanced editor theme styles for Material Light+ */+const materialLightTheme = EditorView.theme(+ {+ // Base editor styles+ '&': {+ color: base02,+ backgroundColor: background,+ fontSize: generalContent.fontSize,+ fontFamily: generalContent.fontFamily,+ },+ // Content and cursor+ '.cm-content': {+ caretColor: cursor,+ lineHeight: generalContent.lineHeight,+ },+ '.cm-cursor, .cm-dropCursor': {+ borderLeftColor: cursor,+ borderLeftWidth: generalCursor.borderLeftWidth,+ },+ '.cm-fat-cursor': {+ backgroundColor: `${base02}99`,+ color: background,+ },+ // Selection+ '&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection': {+ backgroundColor: selection,+ },+ // Make sure selection appears above active line+ '.cm-selectionLayer': {+ zIndex: 100,+ },+ // Search functionality+ '.cm-searchMatch': {+ backgroundColor: '#FFA72680',+ outline: `1px solid ${base0B}`,+ color: base02,+ borderRadius: generalSearchField.borderRadius,+ '& span': {+ color: base02,+ },+ },+ '.cm-searchMatch.cm-searchMatch-selected': {+ backgroundColor: base0D,+ color: background,+ padding: generalSearchField.padding,+ '& span': {+ color: background,+ },+ },+ '.cm-search.cm-panel.cm-textfield': {+ color: base02,+ borderRadius: generalSearchField.borderRadius,+ padding: generalSearchField.padding,+ },+ // Panels+ '.cm-panels': {+ backgroundColor: base06,+ color: base02,+ borderRadius: '4px',+ boxShadow: '0 2px 8px rgba(0, 0, 0, 0.15)',+ },+ '.cm-panels.cm-panels-top': {+ borderBottom: `1px solid ${base04}`,+ },+ '.cm-panels.cm-panels-bottom': {+ borderTop: `1px solid ${base04}`,+ },+ '.cm-panel button': {+ backgroundColor: tooltipBackground,+ color: base02,+ border: generalPanel.border,+ borderRadius: generalPanel.borderRadius,+ padding: generalPanel.padding,+ },+ '.cm-panel button:hover': {+ backgroundColor: '#CFD8DC',+ },+ // Line highlighting+ '.cm-activeLine': {+ backgroundColor: highlightBackground,+ borderRadius: generalLine.borderRadius,+ zIndex: 1,+ },+ // Gutters+ '.cm-gutters': {+ backgroundColor: base07,+ color: base03,+ border: generalGutter.border,+ borderRight: `1px solid ${base04}`,+ paddingRight: generalGutter.paddingRight,+ },+ '.cm-activeLineGutter': {+ backgroundColor: '#E0E0E0',+ color: base02,+ fontWeight: generalGutter.fontWeight,+ },+ '.cm-lineNumbers': {+ fontSize: generalGutter.fontSize,+ },+ '.cm-foldGutter': {+ fontSize: generalGutter.fontSize,+ },+ '.cm-foldGutter .cm-gutterElement': {+ color: base03,+ cursor: 'pointer',+ transition: 'color 0.15s ease',+ },+ '.cm-foldGutter .cm-gutterElement:hover': {+ color: base02,+ },+ // Diff/Merge View Styles+ // Inserted/Added Content+ '.cm-insertedLine': {+ textDecoration: generalDiff.insertedTextDecoration,+ backgroundColor: addedBackground,+ color: addedText,+ padding: generalDiff.insertedLinePadding,+ borderRadius: generalDiff.borderRadious,+ },+ 'ins.cm-insertedLine, ins.cm-insertedLine:not(:has(.cm-changedText))': {+ textDecoration: generalDiff.insertedTextDecoration,+ backgroundColor: `${addedBackground} !important`,+ color: addedText,+ padding: generalDiff.insertedLinePadding,+ borderRadius: generalDiff.borderRadious,+ border: `1px solid ${addedText}30`,+ },+ 'ins.cm-insertedLine .cm-changedText': {+ background: 'transparent !important',+ },+ // Deleted/Removed Content+ '.cm-deletedLine': {+ textDecoration: generalDiff.deletedTextDecoration,+ backgroundColor: removedBackground,+ color: removedText,+ padding: generalDiff.insertedLinePadding,+ borderRadius: generalDiff.borderRadious,+ },+ 'del.cm-deletedLine, del, del:not(:has(.cm-deletedText))': {+ textDecoration: generalDiff.deletedTextDecoration,+ backgroundColor: `${removedBackground} !important`,+ color: removedText,+ padding: generalDiff.insertedLinePadding,+ borderRadius: generalDiff.borderRadious,+ border: `1px solid ${removedText}30`,+ },+ 'del .cm-deletedText, del .cm-changedText': {+ background: 'transparent !important',+ },+ // Tooltips and autocomplete+ '.cm-tooltip': {+ backgroundColor: tooltipBackground,+ border: `1px solid ${base04}`,+ borderRadius: generalTooltip.borderRadius,+ padding: generalTooltip.padding,+ boxShadow: '0 2px 8px rgba(0, 0, 0, 0.15)',+ },+ '.cm-tooltip-autocomplete': {+ '& > ul': {+ backgroundColor: tooltipBackground,+ border: 'none',+ },+ '& > ul > li': {+ padding: generalTooltip.padding,+ lineHeight: generalTooltip.lineHeight,+ },+ '& > ul > li[aria-selected]': {+ backgroundColor: hoverHighlight,+ color: base02,+ borderRadius: generalTooltip.borderRadiusSelected,+ },+ '& > ul > li:hover': {+ backgroundColor: hoverHighlight,+ },+ '& > ul > li > span.cm-completionIcon': {+ color: base03,+ paddingRight: generalTooltip.paddingRight,+ },+ '& > ul > li > span.cm-completionDetail': {+ color: base03,+ fontStyle: 'italic',+ },+ },+ '.cm-tooltip .cm-tooltip-arrow:before': {+ borderTopColor: 'transparent',+ borderBottomColor: 'transparent',+ },+ '.cm-tooltip .cm-tooltip-arrow:after': {+ borderTopColor: tooltipBackground,+ borderBottomColor: tooltipBackground,+ },+ // Diagnostics styling+ '.cm-diagnostic': {+ '&-error': {+ borderLeft: `3px solid ${invalid}`,+ },+ '&-warning': {+ borderLeft: `3px solid ${diagnosticWarning}`,+ },+ '&-info': {+ borderLeft: `3px solid ${linkColor}`,+ },+ },+ '.cm-lintPoint-error': {+ borderBottom: `2px wavy ${invalid}`,+ },+ '.cm-lintPoint-warning': {+ borderBottom: `2px wavy ${diagnosticWarning}`,+ },+ // Matching brackets+ '.cm-matchingBracket': {+ backgroundColor: activeBracketBg,+ outline: `1px solid ${activeBracketBorder}`,+ borderRadius: generalMatching.borderRadius,+ },+ '.cm-nonmatchingBracket': {+ backgroundColor: `${invalid}20`,+ outline: `1px solid ${invalid}`,+ borderRadius: generalMatching.borderRadius,+ },+ // Selection matches+ '.cm-selectionMatch': {+ backgroundColor: selectionMatch,+ outline: `1px solid ${base03}30`,+ borderRadius: generalMatching.borderRadius,+ },+ // Fold placeholder+ '.cm-foldPlaceholder': {+ backgroundColor: base01,+ color: base03,+ border: `1px dotted ${base03}70`,+ borderRadius: generalPlaceholder.borderRadius,+ padding: generalPlaceholder.padding,+ margin: generalPlaceholder.margin,+ },+ // Focus outline+ '&.cm-focused': {+ outline: 'none',+ boxShadow: `0 0 0 2px ${background}, 0 0 0 3px ${base0D}40`,+ },+ // Scrollbars+ '& .cm-scroller::-webkit-scrollbar': {+ width: generalScroller.width,+ height: generalScroller.height,+ },+ '& .cm-scroller::-webkit-scrollbar-track': {+ background: base07,+ },+ '& .cm-scroller::-webkit-scrollbar-thumb': {+ backgroundColor: base04,+ borderRadius: generalScroller.borderRadius,+ border: `3px solid ${base07}`,+ },+ '& .cm-scroller::-webkit-scrollbar-thumb:hover': {+ backgroundColor: base02,+ },+ // Ghost text+ '.cm-ghostText': {+ opacity: '0.5',+ color: base03,+ },+ },+ { dark: false },+);++const materialLightHighlightStyle = HighlightStyle.define([+ // Keywords and control flow+ { tag: tags.keyword, color: base0D, fontWeight: 'bold' },+ { tag: tags.controlKeyword, color: base0D, fontWeight: 'bold' },+ { tag: tags.moduleKeyword, color: base0D, fontWeight: 'bold' },+ // Names and variables+ { tag: [tags.name, tags.deleted, tags.character, tags.macroName], color: base05 },+ { tag: [tags.variableName], color: base05 },+ { tag: [tags.propertyName], color: base11, fontStyle: 'normal' },+ // Classes and types+ { tag: [tags.typeName], color: base0C },+ { tag: [tags.className], color: base0C, fontStyle: 'italic' },+ { tag: [tags.namespace], color: base0E, fontStyle: 'italic' },+ // Operators and punctuation+ { tag: [tags.operator, tags.operatorKeyword], color: base0E },+ { tag: [tags.bracket], color: base0F },+ { tag: [tags.brace], color: base0F },+ { tag: [tags.punctuation], color: base03 },+ // Functions and parameters+ { tag: [tags.function(tags.variableName)], color: base09 },+ { tag: [tags.labelName], color: base12, fontStyle: 'italic' },+ { tag: [tags.definition(tags.function(tags.variableName))], color: base09 },+ { tag: [tags.definition(tags.variableName)], color: base0A },+ // Constants and literals+ { tag: tags.number, color: base0C },+ { tag: tags.changed, color: base0C },+ { tag: tags.annotation, color: invalid, fontStyle: 'italic' },+ { tag: tags.modifier, color: base0C, fontStyle: 'italic' },+ { tag: tags.self, color: base0C },+ {+ tag: [tags.color, tags.constant(tags.name), tags.standard(tags.name)],+ color: base0C,+ },+ { tag: [tags.atom, tags.bool], color: base0F },+ // Strings and regex+ { tag: [tags.processingInstruction, tags.inserted], color: base10 },+ { tag: tags.string, color: base10 },+ { tag: [tags.special(tags.string), tags.regexp], color: base0A },+ // Punctuation and structure+ { tag: tags.definition(tags.typeName), color: base0A, fontWeight: 'bold' },+ { tag: [tags.definition(tags.name), tags.separator], color: base0A },+ // Comments and documentation+ { tag: tags.meta, color: base03 },+ { tag: tags.comment, fontStyle: 'italic', color: base03 },+ { tag: tags.docComment, fontStyle: 'italic', color: base03 },+ // HTML/XML elements+ { tag: [tags.tagName], color: base09 },+ { tag: [tags.attributeName], color: base05 },+ // Markdown and text formatting+ { tag: [tags.heading], fontWeight: 'bold', color: base11 },+ { tag: tags.heading1, color: base12, fontSize: '1.2em', fontWeight: 'bold' },+ { tag: tags.heading2, color: base0C, fontSize: '1.1em', fontWeight: 'bold' },+ { tag: tags.heading3, color: base0D, fontSize: '1em', fontWeight: 'bold' },+ { tag: tags.heading4, color: base0E },+ { tag: tags.heading5, color: base0F },+ { tag: tags.heading6, color: base10 },+ { tag: [tags.strong], fontWeight: 'bold', color: base0E },+ { tag: [tags.emphasis], fontStyle: 'italic', color: base0C },+ // Links and URLs+ {+ tag: [tags.link],+ color: visitedLinkColor,+ fontWeight: '500',+ textDecoration: 'underline',+ textUnderlinePosition: 'under',+ },+ {+ tag: [tags.url],+ color: linkColor,+ textDecoration: 'underline',+ textUnderlineOffset: '2px',+ },+ // Special states+ {+ tag: [tags.invalid],+ color: base02,+ textDecoration: 'underline wavy',+ borderBottom: `1px dotted ${base08}`,+ },+ { tag: [tags.strikethrough], color: invalid, textDecoration: 'line-through' },+ // Enhanced syntax highlighting+ { tag: tags.constant(tags.name), color: base09 },+ { tag: tags.deleted, color: invalid },+ { tag: tags.squareBracket, color: base08 },+ { tag: tags.angleBracket, color: base02 },+ // Additional specific styles+ { tag: tags.monospace, color: base02 },+ { tag: [tags.contentSeparator], color: base0D },+ { tag: tags.quote, color: base10 },+]);+/**+ * Combined Material Light theme extension+ */+const materialLight = [materialLightTheme, syntaxHighlighting(materialLightHighlightStyle)];++export { materialLight };diff --git a/frontend/app/styles/_variables.scss b/frontend/app/styles/_variables.scssindex 09c368e2..0c873ef0 100644--- a/frontend/app/styles/_variables.scss+++ b/frontend/app/styles/_variables.scss@@ -36,7 +36,7 @@ $primary-dark: color.adjust(#6024ec, $lightness: -10%);--default: #3956e7;--default-bg: #dde1f8;--default-border: #dde1f8;- --bg-color: #fefefe;+ --bg-color: #fff;--bg-contrast: #F1F6FD;--bg-contrast-2: #e2ebfd;--bg-ui: rgba(8, 8, 8, 0.05);diff --git a/frontend/bun.lock b/frontend/bun.lockindex 6cebbcb7..4f2d1986 100644--- a/frontend/bun.lock+++ b/frontend/bun.lock@@ -10,7 +10,7 @@"@codemirror/search": "6.5.11","@codemirror/state": "^6.5.2","@codemirror/view": "^6.38.2",- "@fsegurai/codemirror-theme-bundle": "^6.2.2",+ "@lezer/highlight": "^1.2.1","@nuxt/devtools": "latest","@nuxt/eslint": "1.9.0","@nuxtjs/color-mode": "^3.5.2",@@ -356,56 +356,6 @@"@eslint/plugin-kit": ["@eslint/[email protected]", "", { "dependencies": { "@eslint/core": "^0.15.2", "levn": "^0.4.1" } }, "sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w=="],- "@fsegurai/codemirror-theme-abcdef": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-pf9r0jOutR0yajaqV7vLEz+qOIcpQar62jnPXjIFR6NYoexP1S5Y5pwNY1fXzWXd0c2ZUcBvGE6YqhUAB0yy1w=="],-- "@fsegurai/codemirror-theme-abyss": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-kTz+9KpV+23V9w8PfzD1KwNdT/4XbcLhsIF46j/UTeXYw6ZIB63hD3eatTNNCDfgiRdWBjFBCxyUXX75JAprKw=="],-- "@fsegurai/codemirror-theme-android-studio": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-LeX/RlVCGVRBRuP64iGAF/5rqlSdaMNrNSACKO7/nJLR4jQ7CGWY2ZbbAd2gmwcB8NISfNjTTDvOv5iUyFNjAg=="],-- "@fsegurai/codemirror-theme-andromeda": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-XgwvRETA25bdaadC7bnC3OXKIritipQtO3CdO0ybzylS08FAIhFzliBD9v8dGzpMfw7pFGcMhrYCgwCGNzY2EQ=="],-- "@fsegurai/codemirror-theme-basic-dark": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-cVK4VheF7ZkuV0sfy20lmH2S7Q2xIfKoqN2HdU5rpGH8mZM2LVG9Tl+oHT0XNPpsWFqNAAKLzjYFw0IPX95Biw=="],-- "@fsegurai/codemirror-theme-basic-light": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-zFtJ6VwwEeZ/HAXMYdcJz6+DdW1aQkngFwbD3diku79cctpTglCWH49KRFO8Mifjzwylsynm7dLyOUnGhIu0NQ=="],-- "@fsegurai/codemirror-theme-bundle": ["@fsegurai/[email protected]", "", { "dependencies": { "@fsegurai/codemirror-theme-abcdef": "^6.2.2", "@fsegurai/codemirror-theme-abyss": "^6.2.2", "@fsegurai/codemirror-theme-android-studio": "^6.2.2", "@fsegurai/codemirror-theme-andromeda": "^6.2.2", "@fsegurai/codemirror-theme-basic-dark": "^6.2.2", "@fsegurai/codemirror-theme-basic-light": "^6.2.2", "@fsegurai/codemirror-theme-cobalt2": "^6.0.2", "@fsegurai/codemirror-theme-forest": "^6.2.2", "@fsegurai/codemirror-theme-github-dark": "^6.2.2", "@fsegurai/codemirror-theme-github-light": "^6.2.2", "@fsegurai/codemirror-theme-gruvbox-dark": "^6.2.2", "@fsegurai/codemirror-theme-gruvbox-light": "^6.2.2", "@fsegurai/codemirror-theme-material-dark": "^6.2.2", "@fsegurai/codemirror-theme-material-light": "^6.2.2", "@fsegurai/codemirror-theme-monokai": "^6.2.2", "@fsegurai/codemirror-theme-nord": "^6.2.2", "@fsegurai/codemirror-theme-palenight": "^6.2.2", "@fsegurai/codemirror-theme-solarized-dark": "^6.2.2", "@fsegurai/codemirror-theme-solarized-light": "^6.2.2", "@fsegurai/codemirror-theme-tokyo-night-day": "^6.2.2", "@fsegurai/codemirror-theme-tokyo-night-storm": "^6.2.2", "@fsegurai/codemirror-theme-volcano": "^6.2.2", "@fsegurai/codemirror-theme-vscode-dark": "^6.2.2", "@fsegurai/codemirror-theme-vscode-light": "^6.2.2" }, "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-tyZDmaNz+fgVdtQzYHtWLWkk0yHKgGzXAFtXRPu4D6Ij/Ry9ItqTq8QnUUIUN6wKegJTCRPslO7VEWgXIhSPnA=="],-- "@fsegurai/codemirror-theme-cobalt2": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-giDccKgpj4+ERr6r/exoVmodDEMPwoKwLVHs+zCVg98NfLAzo0P3/TKPjKZA9VMnZ06Qo+gRPHaw8rCc0eZiCg=="],-- "@fsegurai/codemirror-theme-forest": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-qqktDJ9CI/1jj4bioX/u1khAiO6v4Pdzza9mTKFX82cytL7L1O19POqXvsIo+Pm64OBuYHkweWJhw0xGfx1lJQ=="],-- "@fsegurai/codemirror-theme-github-dark": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-JP+UxyCrqX528oHF4/lJuRFrmjaAAJB+UzKJXIKV2u/hgurjvHyNOs4w9c5Cv5+1ITxyNUP1Zn2gPEGWjB0c6g=="],-- "@fsegurai/codemirror-theme-github-light": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-YQr5MbhMlhRlAQcSCSbet4NDDkMvd5sbUyk9JmM0vfZhQbatvw4c56gNG/54JKGM0kWY5zRWzgLtFuz6D7yEsw=="],-- "@fsegurai/codemirror-theme-gruvbox-dark": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-AcEh2EvZDcqjl3qDCKYs5tcw49TYJzkEmLomBFo19uQBlNYuSmowNjpUWa4wIS1ITJH4UBJ1vncijirUqt3D1Q=="],-- "@fsegurai/codemirror-theme-gruvbox-light": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-JHekLI7W8Fivz4iPp7XKV7T3bw0hNubKdMvWNFDeMy8GbByB9WUi5h6IydoxbQKQRZfdHBT8/vt3/Dx7szWy4A=="],-- "@fsegurai/codemirror-theme-material-dark": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-RISNwSHEmxpUwYB81UuZSzxpTO49znJr4eBnjNCuhVP4Q88TTHh2ENlNcKEvhzIiaH81Nzk1Q68u4InquxG9HA=="],-- "@fsegurai/codemirror-theme-material-light": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-HkXow6grTdK6paZI4YRIdxghZo5XpedRE8PB96grb6EMOOXDs8xTUbUgkEP05MI8gjUPMAYF+ZuDZSOGIiMqkA=="],-- "@fsegurai/codemirror-theme-monokai": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-WEevHJsZVIDelfK3yE3KOfVTlW1uc/XwfSb1/4xfJU/r5mhVSvFAn+b6vkrzK1gLFIm+U+OSusBzUG+cFyXtkw=="],-- "@fsegurai/codemirror-theme-nord": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-1Et7ZHpGhrQGHMFX67jlJJgC2Okl8mHF59ZAgZcTqMQoK9sL1yxBxxVjKKRx1whEgP7sZYHt/NRAz6+DZJneFg=="],-- "@fsegurai/codemirror-theme-palenight": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-44q47WUB8HPo+7wXSo3cG9hUhATqafOeBvyE1zEhNd0ngj6BbV1U18inNal/4IU7n47uctboGF/r5R7WvhEyXQ=="],-- "@fsegurai/codemirror-theme-solarized-dark": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-pKEsnoruphjis/iBukkH3plfG4ylHJOOzWajBhb9Cn7jtxCZud3po51cOQQAwqqMAYXSYhotjMMDhEDRmp/hZg=="],-- "@fsegurai/codemirror-theme-solarized-light": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-a5ENPtWD1t9iIftnxXqSBKHZjoVIfz+jWeje0PmFIarQLL3NsueKH0H1mGMgg+9i/mhpwIeJdQrHuGDSV1Rr0A=="],-- "@fsegurai/codemirror-theme-tokyo-night-day": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-eiikMj/E8U+WoGuUxsppFMCd+CfbtLg802PsyGP01RTPHjuFbZpMnL5VFbI177yXKSXKmiegkBHwJ7rVVSBBxQ=="],-- "@fsegurai/codemirror-theme-tokyo-night-storm": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-3lvaim/06xYYbpNhGccIs54/0QjQPKLMXh+ggSD6s2I2ux5Y/HLnIa/atkehK4pu/fdid3+c7SCpu1XlF+SLDA=="],-- "@fsegurai/codemirror-theme-volcano": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-nuwKfPGhBK8HU+eoSZNt41TmvYFDUkM0M9Mpda+/lE757wmouktPwM+94podhbG04hW9wlCbDDzGvqDHh1hxwQ=="],-- "@fsegurai/codemirror-theme-vscode-dark": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-TyyHxUoI1VcPaa22k0978o7p6nh5cucvlpsWdU4KS3leB+9mQPw8lwcpIfuuwicDNjKzf1ATxjx3WdDUd97H5Q=="],-- "@fsegurai/codemirror-theme-vscode-light": ["@fsegurai/[email protected]", "", { "peerDependencies": { "@codemirror/language": "^6.0.0", "@codemirror/state": "^6.0.0", "@codemirror/view": "^6.0.0", "@lezer/highlight": "^1.0.0" } }, "sha512-bKVIvdmukbcI/OPuzmbkuLSrbqiii+SamSHdMFl/nV3olEumbcEo0tq9arJDL/vsboe/uXEa/MjwXSpWMVTCcQ=="],-"@humanfs/core": ["@humanfs/[email protected]", "", {}, "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA=="],"@humanfs/node": ["@humanfs/[email protected]", "", { "dependencies": { "@humanfs/core": "^0.19.1", "@humanwhocodes/retry": "^0.4.0" } }, "sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ=="],diff --git a/frontend/package.json b/frontend/package.jsonindex 26be5350..31cc94e9 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -22,7 +22,7 @@"@codemirror/search": "6.5.11","@codemirror/state": "^6.5.2","@codemirror/view": "^6.38.2",- "@fsegurai/codemirror-theme-bundle": "^6.2.2",+ "@lezer/highlight": "^1.2.1","@nuxt/devtools": "latest","@nuxt/eslint": "1.9.0","@nuxtjs/color-mode": "^3.5.2",