From 8ff1f7ec84e3c7050d8bccf7850731f1f1333b8b Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sat, 20 Dec 2025 20:27:04 +0200 Subject: [PATCH 01/10] style/classic toolbar: tweak background color --- apps/client/src/stylesheets/theme-next-dark.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css index dbecf4631..fc2113138 100644 --- a/apps/client/src/stylesheets/theme-next-dark.css +++ b/apps/client/src/stylesheets/theme-next-dark.css @@ -170,7 +170,7 @@ --protected-session-active-icon-color: #8edd8e; --sync-status-error-pulse-color: #f47871; - --classic-toolbar-vert-layout-background-color: var(--main-background-color); + --classic-toolbar-vert-layout-background-color: #ffffff0d; --classic-toolbar-horiz-layout-background-color: var(--main-background-color); --center-pane-vert-layout-background-color-bgfx: #0c0c0c69; From 0de9b219a54a93d590a229ac94097b285374c850 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sat, 20 Dec 2025 20:41:23 +0200 Subject: [PATCH 02/10] style/note badges: extract colors as CSS variables --- apps/client/src/stylesheets/theme-next-dark.css | 6 ++++++ apps/client/src/stylesheets/theme-next-light.css | 6 ++++++ apps/client/src/widgets/layout/NoteBadges.css | 10 +++++----- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css index fc2113138..bea87d14f 100644 --- a/apps/client/src/stylesheets/theme-next-dark.css +++ b/apps/client/src/stylesheets/theme-next-dark.css @@ -202,6 +202,12 @@ --badge-background-color: #ffffff1a; --badge-text-color: var(--muted-text-color); + --badge-temporaraily-editable-background-color: #4fa52b; + --badge-read-only-background-color: #e33f3b; + --badge-share-background-color: #3b82f6; + --badge-clipped-note-background-color: #57a2a5; + --badge-execute-background-color: #f59e0b; + --note-icon-background-color: #444444; --note-icon-color: #d4d4d4; --note-icon-hover-background-color: #555555; diff --git a/apps/client/src/stylesheets/theme-next-light.css b/apps/client/src/stylesheets/theme-next-light.css index c40b4c5ed..6214946d3 100644 --- a/apps/client/src/stylesheets/theme-next-light.css +++ b/apps/client/src/stylesheets/theme-next-light.css @@ -194,6 +194,12 @@ --badge-background-color: #00000011; --badge-text-color: var(--muted-text-color); + --badge-temporaraily-editable-background-color: #4fa52b; + --badge-read-only-background-color: #e33f3b; + --badge-share-background-color: #3b82f6; + --badge-clipped-note-background-color: #57a2a5; + --badge-execute-background-color: #f59e0b; + --note-icon-background-color: #4f4f4f; --note-icon-color: white; --note-icon-hover-background-color: #737373; diff --git a/apps/client/src/widgets/layout/NoteBadges.css b/apps/client/src/widgets/layout/NoteBadges.css index fa3bc504f..39fafd90e 100644 --- a/apps/client/src/widgets/layout/NoteBadges.css +++ b/apps/client/src/widgets/layout/NoteBadges.css @@ -11,11 +11,11 @@ --badge-radius: 12px; .ext-badge { - &.temporarily-editable-badge { --color: #4fa52b; } - &.read-only-badge { --color: #e33f3b; } - &.share-badge { --color: #3b82f6; } - &.clipped-note-badge { --color: #57a2a5; } - &.execute-badge { --color: #f59e0b; } + &.temporarily-editable-badge {--color: var(--badge-temporaraily-editable-background-color)} + &.read-only-badge {--color: var(--badge-read-only-background-color);} + &.share-badge {--color: var(--badge-share-background-color);} + &.clipped-note-badge {--color: var(--badge-clipped-note-background-color);} + &.execute-badge {--color: var(--badge-execute-background-color);} } .dropdown-badge { From 17a9550803a0e3a186596f915c447a6cf46be5a5 Mon Sep 17 00:00:00 2001 From: Wael Nasreddine Date: Sat, 20 Dec 2025 12:01:12 -0800 Subject: [PATCH 03/10] chore(etapi): Add missing share format --- apps/server/etapi.openapi.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/server/etapi.openapi.yaml b/apps/server/etapi.openapi.yaml index 12567c410..a3990754a 100644 --- a/apps/server/etapi.openapi.yaml +++ b/apps/server/etapi.openapi.yaml @@ -268,6 +268,7 @@ paths: enum: - html - markdown + - share default: html get: description: Exports ZIP file export of a given note subtree. To export whole document, use "root" for noteId From 1ed4192c93fcf407b8bbc88d468a584eee289ae5 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sat, 20 Dec 2025 23:12:39 +0200 Subject: [PATCH 04/10] style/note badges: tweak --- apps/client/src/stylesheets/theme-next-dark.css | 10 +++++----- .../client/src/stylesheets/theme-next-light.css | 10 +++++----- apps/client/src/widgets/note_title.css | 12 ++++++++++++ apps/client/src/widgets/react/Badge.css | 17 +++++++++++++++-- apps/client/src/widgets/react/Badge.tsx | 2 +- 5 files changed, 38 insertions(+), 13 deletions(-) diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css index bea87d14f..55d260755 100644 --- a/apps/client/src/stylesheets/theme-next-dark.css +++ b/apps/client/src/stylesheets/theme-next-dark.css @@ -202,11 +202,11 @@ --badge-background-color: #ffffff1a; --badge-text-color: var(--muted-text-color); - --badge-temporaraily-editable-background-color: #4fa52b; - --badge-read-only-background-color: #e33f3b; - --badge-share-background-color: #3b82f6; - --badge-clipped-note-background-color: #57a2a5; - --badge-execute-background-color: #f59e0b; + --badge-temporaraily-editable-background-color: #297331; + --badge-read-only-background-color: #af4340; + --badge-share-background-color: #4d4d4d; + --badge-clipped-note-background-color: #295773; + --badge-execute-background-color: #604180; --note-icon-background-color: #444444; --note-icon-color: #d4d4d4; diff --git a/apps/client/src/stylesheets/theme-next-light.css b/apps/client/src/stylesheets/theme-next-light.css index 6214946d3..f55e674fe 100644 --- a/apps/client/src/stylesheets/theme-next-light.css +++ b/apps/client/src/stylesheets/theme-next-light.css @@ -194,11 +194,11 @@ --badge-background-color: #00000011; --badge-text-color: var(--muted-text-color); - --badge-temporaraily-editable-background-color: #4fa52b; - --badge-read-only-background-color: #e33f3b; - --badge-share-background-color: #3b82f6; - --badge-clipped-note-background-color: #57a2a5; - --badge-execute-background-color: #f59e0b; + --badge-temporaraily-editable-background-color: #35a64c; + --badge-read-only-background-color: #c8302c; + --badge-share-background-color: #6b6b6b; + --badge-clipped-note-background-color: #2284c0; + --badge-execute-background-color: #7b47af; --note-icon-background-color: #4f4f4f; --note-icon-color: white; diff --git a/apps/client/src/widgets/note_title.css b/apps/client/src/widgets/note_title.css index fe3e0e912..637661095 100644 --- a/apps/client/src/widgets/note_title.css +++ b/apps/client/src/widgets/note_title.css @@ -80,6 +80,18 @@ body.experimental-feature-new-layout { .ext-badge .text { display: none; } + + .ext-badge { + --size: 2em; + width: var(--size); + height: var(--size); + padding: 0; + + .bx { + opacity: 1; + margin: 0; + } + }; } } diff --git a/apps/client/src/widgets/react/Badge.css b/apps/client/src/widgets/react/Badge.css index cf8542a11..cf661b4f9 100644 --- a/apps/client/src/widgets/react/Badge.css +++ b/apps/client/src/widgets/react/Badge.css @@ -1,15 +1,20 @@ .ext-badge { display: flex; + height: 1.9em; align-items: center; - padding: 2px 6px; + justify-content: center; border-radius: var(--badge-radius); + padding-inline: 8px; font-size: 0.75em; + letter-spacing: .2pt; background-color: var(--color, transparent); color: white; min-width: 0; flex-shrink: 1; + white-space: collapse; - &.clickable { + &.clickable, + .dropdown-badge & { cursor: pointer; &:hover { @@ -17,12 +22,20 @@ } } + .bx { + font-size: 1.2em; + margin-inline-end: 4px; + opacity: .6; + } + a { color: inherit !important; text-decoration: none; } > * { + display: flex; + align-items: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; diff --git a/apps/client/src/widgets/react/Badge.tsx b/apps/client/src/widgets/react/Badge.tsx index f45f377e5..e76700b61 100644 --- a/apps/client/src/widgets/react/Badge.tsx +++ b/apps/client/src/widgets/react/Badge.tsx @@ -36,7 +36,7 @@ export function Badge({ icon, className, text, tooltip, href, ...containerProps }); const content = <> - {icon && <> } + {icon && } {text} ; From 32f0d81c07725609fdbd4ccff633040eb663ce0d Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sat, 20 Dec 2025 23:33:27 +0200 Subject: [PATCH 05/10] style/links: tweak colors --- apps/client/src/stylesheets/theme-next-dark.css | 2 +- apps/client/src/stylesheets/theme-next-light.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css index 55d260755..b55d741ab 100644 --- a/apps/client/src/stylesheets/theme-next-dark.css +++ b/apps/client/src/stylesheets/theme-next-dark.css @@ -240,7 +240,7 @@ --selection-background-color: #3399FF70; - --link-color: lightskyblue; + --link-color: #95c3d9; --mermaid-theme: dark; diff --git a/apps/client/src/stylesheets/theme-next-light.css b/apps/client/src/stylesheets/theme-next-light.css index f55e674fe..612c694fa 100644 --- a/apps/client/src/stylesheets/theme-next-light.css +++ b/apps/client/src/stylesheets/theme-next-light.css @@ -238,7 +238,7 @@ --selection-background-color: #3399FF70; - --link-color: blue; + --link-color: #0d6793; --mermaid-theme: default; From 24d0d562a9dc558fdf1f566df669c0f05ce8bc79 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sun, 21 Dec 2025 00:21:17 +0200 Subject: [PATCH 06/10] style/links: tweak --- apps/client/src/stylesheets/theme-next-dark.css | 9 ++++----- apps/client/src/stylesheets/theme-next-light.css | 7 +++---- apps/client/src/stylesheets/theme-next/forms.css | 5 +++-- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css index b55d741ab..fba4514a5 100644 --- a/apps/client/src/stylesheets/theme-next-dark.css +++ b/apps/client/src/stylesheets/theme-next-dark.css @@ -74,11 +74,12 @@ --select-arrow-svg: url("data:image/svg+xml,"); --select-group-heading-text-color: gray; - --link-hover-background: #ffffff26; - --link-hover-color: white; + --link-color: #95c3d9; + --link-hover-background: #0874a33d; + --link-hover-color: var(--link-color); --hover-item-text-color: #efefef; - --hover-item-background-color: #ffffff24; + --hover-item-background-color: #ffffff16; --hover-item-border-color: transparent; --active-item-text-color: var(--left-pane-text-color); @@ -240,8 +241,6 @@ --selection-background-color: #3399FF70; - --link-color: #95c3d9; - --mermaid-theme: dark; --code-block-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); diff --git a/apps/client/src/stylesheets/theme-next-light.css b/apps/client/src/stylesheets/theme-next-light.css index 612c694fa..c5828ab17 100644 --- a/apps/client/src/stylesheets/theme-next-light.css +++ b/apps/client/src/stylesheets/theme-next-light.css @@ -74,8 +74,9 @@ --select-arrow-svg: url("data:image/svg+xml,"); --select-group-heading-text-color: gray; - --link-hover-background: #00000012; - --link-hover-color: black; + --link-color: #0076af; + --link-hover-background: #3c7fa017; + --link-hover-color: var(--link-color); --hover-item-text-color: black; --hover-item-background-color: #0000001a; @@ -238,8 +239,6 @@ --selection-background-color: #3399FF70; - --link-color: #0d6793; - --mermaid-theme: default; --code-block-box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1), 0px 0px 2px rgba(0, 0, 0, 0.2); diff --git a/apps/client/src/stylesheets/theme-next/forms.css b/apps/client/src/stylesheets/theme-next/forms.css index 2d87245d7..abe65e911 100644 --- a/apps/client/src/stylesheets/theme-next/forms.css +++ b/apps/client/src/stylesheets/theme-next/forms.css @@ -637,8 +637,8 @@ body a.tn-link:visited, border-radius: 4px; background: var(--background); color: var(--link-color); - font-weight: normal; - text-decoration: underline; + font-weight: 500; + text-decoration: none; transition: background-color 200ms ease-out, @@ -657,6 +657,7 @@ body a.tn-link:hover, box-shadow: 0 0 0 4px var(--link-hover-background); --background: var(--link-hover-background); color: var(--link-hover-color); + text-decoration: underline; transition: background-color 100ms ease-in, From a9f58262fcaf41ffeb45cac28431c5073efbff09 Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Sun, 21 Dec 2025 00:29:25 +0200 Subject: [PATCH 07/10] style/links: tweak --- apps/client/src/stylesheets/theme-next-dark.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/stylesheets/theme-next-dark.css b/apps/client/src/stylesheets/theme-next-dark.css index fba4514a5..150a3ffc6 100644 --- a/apps/client/src/stylesheets/theme-next-dark.css +++ b/apps/client/src/stylesheets/theme-next-dark.css @@ -75,7 +75,7 @@ --select-group-heading-text-color: gray; --link-color: #95c3d9; - --link-hover-background: #0874a33d; + --link-hover-background: #75c2e324; --link-hover-color: var(--link-color); --hover-item-text-color: #efefef; From 4f51aa7a430b4979350b496c7b5a613a6cd86376 Mon Sep 17 00:00:00 2001 From: noobhjy Date: Sun, 21 Dec 2025 14:55:46 +0100 Subject: [PATCH 08/10] Translated using Weblate (Chinese (Traditional Han script)) Currently translated at 96.2% (1654 of 1718 strings) Translation: Trilium Notes/Client Translate-URL: https://hosted.weblate.org/projects/trilium/client/zh_Hant/ --- apps/client/src/translations/tw/translation.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/client/src/translations/tw/translation.json b/apps/client/src/translations/tw/translation.json index 286144632..43aa33dfa 100644 --- a/apps/client/src/translations/tw/translation.json +++ b/apps/client/src/translations/tw/translation.json @@ -690,7 +690,8 @@ "convert_into_attachment_successful": "筆記 '{{title}}' 已成功轉換為附件。", "convert_into_attachment_prompt": "確定要將筆記 '{{title}}' 轉換為父級筆記的附件嗎?", "print_pdf": "匯出為 PDF…", - "open_note_on_server": "在伺服器上開啟筆記" + "open_note_on_server": "在伺服器上開啟筆記", + "view_revisions": "筆記歷史版本..." }, "onclick_button": { "no_click_handler": "按鈕元件'{{componentId}}'沒有定義點擊時的處理方式" From d43409f6e41de20318e595815ce073786c745bfc Mon Sep 17 00:00:00 2001 From: green Date: Sun, 21 Dec 2025 06:42:12 +0100 Subject: [PATCH 09/10] Translated using Weblate (Japanese) Currently translated at 100.0% (1718 of 1718 strings) Translation: Trilium Notes/Client Translate-URL: https://hosted.weblate.org/projects/trilium/client/ja/ --- .../src/translations/ja/translation.json | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/apps/client/src/translations/ja/translation.json b/apps/client/src/translations/ja/translation.json index fd47a4347..b4478749c 100644 --- a/apps/client/src/translations/ja/translation.json +++ b/apps/client/src/translations/ja/translation.json @@ -387,7 +387,7 @@ "show_toc": "目次を表示" }, "show_highlights_list_widget_button": { - "show_highlights_list": "ハイライト一覧を表示" + "show_highlights_list": "ハイライトリストを表示" }, "relation_map_buttons": { "zoom_out_title": "ズームアウト", @@ -919,7 +919,7 @@ "underline": "下線", "color": "カラーテキスト", "bg_color": "背景色付きテキスト", - "visibility_title": "ハイライトリスト表示", + "visibility_title": "ハイライトリストの表示", "visibility_description": "#hideHighlightWidget ラベルを追加することで、ノートごとにハイライトウィジェットを非表示にできます。", "shortcut_info": "設定 -> ショートカット(右ペイン切り替え)で、右ペイン(ハイライトを含む)を素早く切り替えるキーボードショートカットを設定できます。" }, @@ -932,7 +932,8 @@ }, "toc": { "table_of_contents": "目次", - "options": "オプション" + "options": "オプション", + "no_headings": "見出しはありません。" }, "text_auto_read_only_size": { "title": "自動読み取り専用のサイズ", @@ -1201,7 +1202,11 @@ }, "highlights_list_2": { "title": "ハイライトリスト", - "options": "オプション" + "options": "オプション", + "title_with_count_other": "{{count}} ハイライト", + "modal_title": "ハイライトリストの設定", + "menu_configure": "ハイライトリストの設定...", + "no_highlights": "ハイライトが見つかりません。" }, "quick-search": { "placeholder": "クイック検索", @@ -2189,5 +2194,11 @@ "scroll_to_top_title": "ノートの先頭にジャンプ", "create_new_note": "新しい子ノートを作成", "empty_hide_archived_notes": "アーカイブされたノートを非表示" + }, + "right_pane": { + "empty_message": "このノートには何も表示されません", + "empty_button": "パネルを非表示", + "toggle": "右パネルを切り替え", + "custom_widget_go_to_source": "ソースコードへ移動" } } From 308943f754a0225de6a62a907d0f2931c3f47bd4 Mon Sep 17 00:00:00 2001 From: noobhjy Date: Sat, 20 Dec 2025 15:15:47 +0100 Subject: [PATCH 10/10] Translated using Weblate (Chinese (Simplified Han script)) Currently translated at 100.0% (1718 of 1718 strings) Translation: Trilium Notes/Client Translate-URL: https://hosted.weblate.org/projects/trilium/client/zh_Hans/ --- apps/client/src/translations/cn/translation.json | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/apps/client/src/translations/cn/translation.json b/apps/client/src/translations/cn/translation.json index 47ad9e2d4..4ff56779b 100644 --- a/apps/client/src/translations/cn/translation.json +++ b/apps/client/src/translations/cn/translation.json @@ -1551,7 +1551,11 @@ }, "highlights_list_2": { "title": "高亮列表", - "options": "选项" + "options": "选项", + "title_with_count_other": "{{count}} 处高亮", + "modal_title": "配置高亮列表", + "menu_configure": "配置高亮列表...", + "no_highlights": "未找到高亮内容。" }, "quick-search": { "placeholder": "快速搜索", @@ -1622,7 +1626,8 @@ }, "toc": { "table_of_contents": "目录", - "options": "选项" + "options": "选项", + "no_headings": "无标题。" }, "watched_file_update_status": { "file_last_modified": "文件 最后修改时间为 。", @@ -2189,5 +2194,11 @@ "hoisted_badge": "聚焦", "create_new_note": "新建子笔记", "empty_hide_archived_notes": "隐藏已存档的笔记" + }, + "right_pane": { + "empty_button": "隐藏面板", + "toggle": "切换右侧面板", + "custom_widget_go_to_source": "跳转到源码", + "empty_message": "这篇笔记没有展示内容" } }