[obsidian] vault backup: 2024-06-22 01:02:42[
Some checks are pending
Build / build (push) Waiting to run

This commit is contained in:
松浦 知也 Matsuura Tomoya 2024-06-22 01:02:42 +09:00
parent 41f44feee5
commit fa474581b4
4 changed files with 66 additions and 20 deletions

View File

@ -28,7 +28,7 @@
"gitDir": "", "gitDir": "",
"showFileMenu": true, "showFileMenu": true,
"lineAuthor": { "lineAuthor": {
"show": false, "show": true,
"followMovement": "inactive", "followMovement": "inactive",
"authorDisplay": "initials", "authorDisplay": "initials",
"showCommitHash": false, "showCommitHash": false,

View File

@ -5,5 +5,5 @@
"isDesktopOnly": false, "isDesktopOnly": false,
"fundingUrl": "https://ko-fi.com/vinzent", "fundingUrl": "https://ko-fi.com/vinzent",
"js": "main.js", "js": "main.js",
"version": "2.23.2" "version": "2.24.2"
} }

View File

@ -8,16 +8,16 @@
} }
} }
.workspace-leaf-content[data-type='git-view'] .button-border { .workspace-leaf-content[data-type="git-view"] .button-border {
border: 2px solid var(--interactive-accent); border: 2px solid var(--interactive-accent);
border-radius: var(--radius-s); border-radius: var(--radius-s);
} }
.workspace-leaf-content[data-type='git-view'] .view-content { .workspace-leaf-content[data-type="git-view"] .view-content {
padding: 0; padding: 0;
} }
.workspace-leaf-content[data-type='git-history-view'] .view-content { .workspace-leaf-content[data-type="git-history-view"] .view-content {
padding: 0; padding: 0;
} }
@ -77,6 +77,18 @@
height: auto; height: auto;
} }
.git-author {
color: var(--text-accent);
}
.git-date {
color: var(--text-accent);
}
.git-ref {
color: var(--text-accent);
}
.workspace-leaf-content[data-type="diff-view"] .d2h-d-none { .workspace-leaf-content[data-type="diff-view"] .d2h-d-none {
display: none; display: none;
} }
@ -228,12 +240,18 @@
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del, .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del { .theme-light
.workspace-leaf-content[data-type="diff-view"]
.d2h-code-side-line
del {
background-color: #ffb6ba; background-color: #ffb6ba;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del, .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line del,
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line del { .theme-dark
.workspace-leaf-content[data-type="diff-view"]
.d2h-code-side-line
del {
background-color: #8d232881; background-color: #8d232881;
} }
@ -249,13 +267,19 @@
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins, .theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins { .theme-light
.workspace-leaf-content[data-type="diff-view"]
.d2h-code-side-line
ins {
background-color: #97f295; background-color: #97f295;
text-align: left; text-align: left;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins, .theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-line ins,
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-code-side-line ins { .theme-dark
.workspace-leaf-content[data-type="diff-view"]
.d2h-code-side-line
ins {
background-color: #1d921996; background-color: #1d921996;
text-align: left; text-align: left;
} }
@ -376,19 +400,31 @@
color: var(--text-normal); color: var(--text-normal);
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change { .theme-light
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-diff
.d2h-del.d2h-change {
background-color: #fdf2d0; background-color: #fdf2d0;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-del.d2h-change { .theme-dark
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-diff
.d2h-del.d2h-change {
background-color: #55492480; background-color: #55492480;
} }
.theme-light .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change { .theme-light
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-diff
.d2h-ins.d2h-change {
background-color: #ded; background-color: #ded;
} }
.theme-dark .workspace-leaf-content[data-type="diff-view"] .d2h-file-diff .d2h-ins.d2h-change { .theme-dark
.workspace-leaf-content[data-type="diff-view"]
.d2h-file-diff
.d2h-ins.d2h-change {
background-color: rgba(37, 78, 37, 0.418); background-color: rgba(37, 78, 37, 0.418);
} }
@ -401,7 +437,9 @@
text-decoration: none; text-decoration: none;
} }
.workspace-leaf-content[data-type="diff-view"] .d2h-file-list-wrapper a:visited { .workspace-leaf-content[data-type="diff-view"]
.d2h-file-list-wrapper
a:visited {
color: #3572b0; color: #3572b0;
} }
@ -501,7 +539,8 @@
background-color: var(--background-secondary); background-color: var(--background-secondary);
} }
.cm-gutterElement.obs-git-blame-gutter > div, .line-author-settings-preview { .cm-gutterElement.obs-git-blame-gutter > div,
.line-author-settings-preview {
/* delegate text color to settings */ /* delegate text color to settings */
color: var(--obs-git-gutter-text); color: var(--obs-git-gutter-text);
font-family: monospace; font-family: monospace;
@ -510,3 +549,10 @@
padding: 0px 6px 0px 6px; padding: 0px 6px 0px 6px;
white-space: pre; /* Keep spaces and do not collapse them. */ white-space: pre; /* Keep spaces and do not collapse them. */
} }
@media(max-width:800px){
/* hide git blame gutter not to superpose text */
.cm-gutterElement.obs-git-blame-gutter {
display: none;
}
}

@ -1 +1 @@
Subproject commit bfef64db8f4b1833b32bd271e65d0c3b5df90515 Subproject commit ad6c1d8b0baba0ace0e900e07dc597cf0937989e