Compare commits

..

2 Commits

Author SHA1 Message Date
Elian Doran
6a972aaf3d feat(codemirror): add four more themes 2026-04-07 13:25:25 +03:00
renovate[bot]
df281cbbaa fix(deps): update codemirror themes 2026-04-07 01:07:46 +00:00
15 changed files with 1482 additions and 1393 deletions

View File

@@ -21,6 +21,6 @@
"fs-extra": "11.3.4",
"js-yaml": "4.1.1",
"typedoc": "0.28.18",
"typedoc-plugin-missing-exports": "4.1.3"
"typedoc-plugin-missing-exports": "4.1.2"
}
}

View File

@@ -34,14 +34,14 @@
"@triliumnext/highlightjs": "workspace:*",
"@triliumnext/share-theme": "workspace:*",
"@triliumnext/split.js": "workspace:*",
"@univerjs/preset-sheets-conditional-formatting": "0.20.0",
"@univerjs/preset-sheets-core": "0.20.0",
"@univerjs/preset-sheets-data-validation": "0.20.0",
"@univerjs/preset-sheets-filter": "0.20.0",
"@univerjs/preset-sheets-find-replace": "0.20.0",
"@univerjs/preset-sheets-note": "0.20.0",
"@univerjs/preset-sheets-sort": "0.20.0",
"@univerjs/presets": "0.20.0",
"@univerjs/preset-sheets-conditional-formatting": "0.19.0",
"@univerjs/preset-sheets-core": "0.19.0",
"@univerjs/preset-sheets-data-validation": "0.19.0",
"@univerjs/preset-sheets-filter": "0.19.0",
"@univerjs/preset-sheets-find-replace": "0.19.0",
"@univerjs/preset-sheets-note": "0.19.0",
"@univerjs/preset-sheets-sort": "0.19.0",
"@univerjs/presets": "0.19.0",
"@zumer/snapdom": "2.7.0",
"autocomplete.js": "0.38.1",
"bootstrap": "5.3.8",
@@ -65,7 +65,7 @@
"mermaid": "11.14.0",
"mind-elixir": "5.10.0",
"panzoom": "9.4.4",
"preact": "10.29.1",
"preact": "10.29.0",
"react-i18next": "17.0.2",
"react-window": "2.2.7",
"reveal.js": "6.0.0",

View File

@@ -30,11 +30,11 @@
"proxy-nginx-subdir": "docker run --name trilium-nginx-subdir --rm --network=host -v ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro nginx:latest"
},
"dependencies": {
"@ai-sdk/anthropic": "3.0.66",
"@ai-sdk/google": "3.0.58",
"@ai-sdk/openai": "3.0.50",
"@ai-sdk/anthropic": "3.0.64",
"@ai-sdk/google": "3.0.55",
"@ai-sdk/openai": "3.0.49",
"@modelcontextprotocol/sdk": "^1.12.1",
"ai": "6.0.146",
"ai": "6.0.142",
"better-sqlite3": "12.8.0",
"html-to-text": "9.0.5",
"js-yaml": "4.1.1",

View File

@@ -10,14 +10,14 @@
},
"dependencies": {
"i18next": "26.0.3",
"preact": "10.29.1",
"preact": "10.29.0",
"preact-iso": "2.11.1",
"preact-render-to-string": "6.6.7",
"react-i18next": "17.0.2"
},
"devDependencies": {
"@preact/preset-vite": "2.10.5",
"eslint": "10.2.0",
"eslint": "10.1.0",
"eslint-config-preact": "2.0.0",
"typescript": "6.0.2",
"user-agent-data-types": "0.4.3",

View File

@@ -52,7 +52,7 @@
"@triliumnext/server": "workspace:*",
"@types/express": "5.0.6",
"@types/js-yaml": "4.0.9",
"@types/node": "24.12.2",
"@types/node": "24.12.0",
"@vitest/browser-webdriverio": "4.1.2",
"@vitest/coverage-v8": "4.1.2",
"@vitest/ui": "4.1.2",
@@ -60,7 +60,7 @@
"cross-env": "10.1.0",
"dpdm": "4.0.1",
"esbuild": "0.28.0",
"eslint": "10.2.0",
"eslint": "10.1.0",
"eslint-config-preact": "2.0.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-playwright": "2.10.1",
@@ -106,7 +106,7 @@
"@lezer/highlight": "1.2.3",
"@lezer/common": "1.5.1",
"mermaid": "11.14.0",
"preact": "10.29.1",
"preact": "10.29.0",
"roughjs": "4.6.6",
"@types/express-serve-static-core": "5.1.1",
"node-abi": "4.28.0",

View File

@@ -23,7 +23,7 @@
"@vitest/browser": "4.1.2",
"@vitest/coverage-istanbul": "4.1.2",
"ckeditor5": "48.0.0",
"eslint": "10.2.0",
"eslint": "10.1.0",
"eslint-config-ckeditor5": ">=9.1.0",
"stylelint": "17.6.0",
"stylelint-config-ckeditor5": ">=9.1.0",

View File

@@ -24,7 +24,7 @@
"@vitest/browser": "4.1.2",
"@vitest/coverage-istanbul": "4.1.2",
"ckeditor5": "48.0.0",
"eslint": "10.2.0",
"eslint": "10.1.0",
"eslint-config-ckeditor5": ">=9.1.0",
"stylelint": "17.6.0",
"stylelint-config-ckeditor5": ">=9.1.0",

View File

@@ -26,7 +26,7 @@
"@vitest/browser": "4.1.2",
"@vitest/coverage-istanbul": "4.1.2",
"ckeditor5": "48.0.0",
"eslint": "10.2.0",
"eslint": "10.1.0",
"eslint-config-ckeditor5": ">=9.1.0",
"stylelint": "17.6.0",
"stylelint-config-ckeditor5": ">=9.1.0",

View File

@@ -26,7 +26,7 @@
"@vitest/browser": "4.1.2",
"@vitest/coverage-istanbul": "4.1.2",
"ckeditor5": "48.0.0",
"eslint": "10.2.0",
"eslint": "10.1.0",
"eslint-config-ckeditor5": ">=9.1.0",
"stylelint": "17.6.0",
"stylelint-config-ckeditor5": ">=9.1.0",

View File

@@ -26,7 +26,7 @@
"@vitest/browser": "4.1.2",
"@vitest/coverage-istanbul": "4.1.2",
"ckeditor5": "48.0.0",
"eslint": "10.2.0",
"eslint": "10.1.0",
"eslint-config-ckeditor5": ">=9.1.0",
"stylelint": "17.6.0",
"stylelint-config-ckeditor5": ">=9.1.0",

View File

@@ -19,30 +19,35 @@
"@codemirror/search": "6.6.0",
"@codemirror/state": "6.6.0",
"@codemirror/view": "6.41.0",
"@fsegurai/codemirror-theme-abcdef": "6.2.3",
"@fsegurai/codemirror-theme-abyss": "6.2.3",
"@fsegurai/codemirror-theme-android-studio": "6.2.3",
"@fsegurai/codemirror-theme-andromeda": "6.2.3",
"@fsegurai/codemirror-theme-basic-dark": "6.2.3",
"@fsegurai/codemirror-theme-basic-light": "6.2.3",
"@fsegurai/codemirror-theme-cobalt2": "6.0.3",
"@fsegurai/codemirror-theme-forest": "6.2.3",
"@fsegurai/codemirror-theme-github-dark": "6.2.3",
"@fsegurai/codemirror-theme-github-light": "6.2.3",
"@fsegurai/codemirror-theme-gruvbox-dark": "6.2.3",
"@fsegurai/codemirror-theme-gruvbox-light": "6.2.3",
"@fsegurai/codemirror-theme-material-dark": "6.2.3",
"@fsegurai/codemirror-theme-material-light": "6.2.3",
"@fsegurai/codemirror-theme-monokai": "6.2.3",
"@fsegurai/codemirror-theme-nord": "6.2.3",
"@fsegurai/codemirror-theme-palenight": "6.2.3",
"@fsegurai/codemirror-theme-solarized-dark": "6.2.3",
"@fsegurai/codemirror-theme-solarized-light": "6.2.3",
"@fsegurai/codemirror-theme-tokyo-night-day": "6.2.3",
"@fsegurai/codemirror-theme-tokyo-night-storm": "6.2.3",
"@fsegurai/codemirror-theme-volcano": "6.2.3",
"@fsegurai/codemirror-theme-vscode-dark": "6.2.4",
"@fsegurai/codemirror-theme-vscode-light": "6.2.4",
"@eslint/js": "10.0.1",
"@fsegurai/codemirror-theme-abcdef": "6.2.4",
"@fsegurai/codemirror-theme-abyss": "6.2.4",
"@fsegurai/codemirror-theme-android-studio": "6.2.4",
"@fsegurai/codemirror-theme-andromeda": "6.2.4",
"@fsegurai/codemirror-theme-basic-dark": "6.2.4",
"@fsegurai/codemirror-theme-basic-light": "6.2.4",
"@fsegurai/codemirror-theme-cobalt2": "6.0.4",
"@fsegurai/codemirror-theme-forest": "6.2.4",
"@fsegurai/codemirror-theme-github-dark": "6.2.4",
"@fsegurai/codemirror-theme-github-light": "6.2.4",
"@fsegurai/codemirror-theme-gruvbox-dark": "6.2.4",
"@fsegurai/codemirror-theme-gruvbox-light": "6.2.4",
"@fsegurai/codemirror-theme-high-contrast-dark": "6.0.2",
"@fsegurai/codemirror-theme-high-contrast-light": "6.0.2",
"@fsegurai/codemirror-theme-material-dark": "6.2.4",
"@fsegurai/codemirror-theme-material-light": "6.2.4",
"@fsegurai/codemirror-theme-material-ocean": "6.0.1",
"@fsegurai/codemirror-theme-monokai": "6.2.4",
"@fsegurai/codemirror-theme-nord": "6.2.4",
"@fsegurai/codemirror-theme-palenight": "6.2.4",
"@fsegurai/codemirror-theme-solarized-dark": "6.2.4",
"@fsegurai/codemirror-theme-solarized-light": "6.2.4",
"@fsegurai/codemirror-theme-synthwave-84": "6.0.2",
"@fsegurai/codemirror-theme-tokyo-night-day": "6.2.4",
"@fsegurai/codemirror-theme-tokyo-night-storm": "6.2.4",
"@fsegurai/codemirror-theme-volcano": "6.2.4",
"@fsegurai/codemirror-theme-vscode-dark": "6.2.5",
"@fsegurai/codemirror-theme-vscode-light": "6.2.5",
"@replit/codemirror-indentation-markers": "6.5.3",
"@replit/codemirror-lang-nix": "6.0.1",
"@replit/codemirror-vim": "6.3.0",
@@ -52,7 +57,6 @@
"codemirror-lang-elixir": "4.0.1",
"codemirror-lang-hcl": "0.1.0",
"codemirror-lang-mermaid": "0.5.0",
"@eslint/js": "10.0.1",
"eslint-linter-browserify": "10.1.0",
"globals": "17.4.0"
}

View File

@@ -77,6 +77,16 @@ const themes: ThemeDefinition[] = [
name: "GitHub Light",
load: async () => (await import("@fsegurai/codemirror-theme-github-light")).githubLight
},
{
id: "high-contrast-dark",
name: "High Contrast Dark",
load: async () => (await import("@fsegurai/codemirror-theme-high-contrast-dark")).highContrastDark
},
{
id: "high-contrast-light",
name: "High Contrast Light",
load: async () => (await import("@fsegurai/codemirror-theme-high-contrast-light")).highContrastLight
},
{
id: "gruvbox-dark",
name: "Gruvbox Dark",
@@ -97,6 +107,11 @@ const themes: ThemeDefinition[] = [
name: "Material Light",
load: async () => (await import("@fsegurai/codemirror-theme-material-light")).materialLight
},
{
id: "material-ocean",
name: "Material Ocean",
load: async () => (await import("@fsegurai/codemirror-theme-material-ocean")).materialOcean
},
{
id: "monokai",
name: "Monokai",
@@ -122,6 +137,11 @@ const themes: ThemeDefinition[] = [
name: "Solarized Light",
load: async () => (await import("@fsegurai/codemirror-theme-solarized-light")).solarizedLight
},
{
id: "synthwave-84",
name: "Synthwave '84",
load: async () => (await import("@fsegurai/codemirror-theme-synthwave-84")).synthwave84
},
{
id: "tokyo-night-day",
name: "Tokyo Night Day",

View File

@@ -35,7 +35,7 @@
"@typescript-eslint/parser": "8.58.0",
"dotenv": "17.4.0",
"esbuild": "0.28.0",
"eslint": "10.2.0",
"eslint": "10.1.0",
"highlight.js": "11.11.1",
"typescript": "6.0.2"
}

View File

@@ -26,7 +26,7 @@
},
"devDependencies": {
"happy-dom": "20.8.9",
"turndown": "7.2.4",
"turndown": "7.2.2",
"vitest": "4.1.2"
}
}

2749
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff