1
0
Fork 0
Browse Source

vault backup: 2022-03-29 18:18:33

master
YuJian920 3 years ago
parent
commit
5342347b47
  1. 6
      .obsidian/app.json
  2. 4
      .obsidian/appearance.json
  3. 3
      .obsidian/community-plugins.json
  4. 15
      .obsidian/core-plugins.json
  5. 22
      .obsidian/graph.json
  6. 1
      .obsidian/hotkeys.json
  7. 20
      .obsidian/plugins/obsidian-git/data.json
  8. 15087
      .obsidian/plugins/obsidian-git/main.js
  9. 8
      .obsidian/plugins/obsidian-git/manifest.json
  10. 384
      .obsidian/plugins/obsidian-git/styles.css
  11. 18
      .obsidian/workspace

6
.obsidian/app.json

@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
{
"legacyEditor": false,
"livePreview": true,
"promptDelete": false,
"alwaysUpdateLinks": true
}

4
.obsidian/appearance.json

@ -1,4 +0,0 @@ @@ -1,4 +0,0 @@
{
"baseFontSize": 16,
"translucency": false
}

3
.obsidian/community-plugins.json

@ -1,3 +0,0 @@ @@ -1,3 +0,0 @@
[
"obsidian-git"
]

15
.obsidian/core-plugins.json

@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
[
"file-explorer",
"global-search",
"switcher",
"graph",
"backlink",
"page-preview",
"note-composer",
"command-palette",
"editor-status",
"markdown-importer",
"word-count",
"open-with-default-app",
"file-recovery"
]

22
.obsidian/graph.json

@ -1,22 +0,0 @@ @@ -1,22 +0,0 @@
{
"collapse-filter": true,
"search": "",
"showTags": false,
"showAttachments": false,
"hideUnresolved": false,
"showOrphans": true,
"collapse-color-groups": true,
"colorGroups": [],
"collapse-display": true,
"showArrow": false,
"textFadeMultiplier": 0,
"nodeSizeMultiplier": 1,
"lineSizeMultiplier": 1,
"collapse-forces": true,
"centerStrength": 0.518713248970312,
"repelStrength": 10,
"linkStrength": 1,
"linkDistance": 250,
"scale": 1,
"close": false
}

1
.obsidian/hotkeys.json

@ -1 +0,0 @@ @@ -1 +0,0 @@
{}

20
.obsidian/plugins/obsidian-git/data.json

@ -1,20 +0,0 @@ @@ -1,20 +0,0 @@
{
"commitMessage": "vault backup: {{date}}",
"autoCommitMessage": "vault backup: {{date}}",
"commitDateFormat": "YYYY-MM-DD HH:mm:ss",
"autoSaveInterval": 5,
"autoPullInterval": 0,
"autoPullOnBoot": false,
"disablePush": false,
"pullBeforePush": true,
"disablePopups": false,
"listChangedFilesInMessageBody": false,
"showStatusBar": true,
"updateSubmodules": false,
"syncMethod": "merge",
"gitPath": "",
"customMessageOnAutoBackup": false,
"autoBackupAfterFileChange": false,
"treeStructure": false,
"refreshSourceControl": true
}

15087
.obsidian/plugins/obsidian-git/main.js

File diff suppressed because one or more lines are too long

8
.obsidian/plugins/obsidian-git/manifest.json

@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
{
"id": "obsidian-git",
"name": "Obsidian Git",
"description": "Backup your vault with git.",
"isDesktopOnly": true,
"js": "main.js",
"version": "1.22.0"
}

384
.obsidian/plugins/obsidian-git/styles.css

@ -1,384 +0,0 @@ @@ -1,384 +0,0 @@
@keyframes loading {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.loading > svg {
animation: 2s linear infinite loading;
transform-origin: 50% 50%;
display: inline-block;
}
.obsidian-git-center {
margin: auto;
width: 50%;
}
.tooltip.mod-left {
overflow-wrap: break-word;
}
.tooltip.mod-right {
overflow-wrap: break-word;
}
.obsidian-git-shortcuts {
margin: 10px;
}
.diff-err {
height: 100%;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.diff-err-sign {
font-size: 2em;
}
.d2h-d-none {
display: none;
}
.d2h-wrapper {
text-align: left;
}
.d2h-file-header {
background-color: var(--background-primary);
border-bottom: 1px solid var(--interactive-accent);
font-family: var(--font-monospace);
height: 35px;
padding: 5px 10px;
}
.d2h-file-header,
.d2h-file-stats {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.d2h-file-stats {
font-size: 14px;
margin-left: auto;
}
.d2h-lines-added {
border: 1px solid #b4e2b4;
border-radius: 5px 0 0 5px;
color: #399839;
padding: 2px;
text-align: right;
vertical-align: middle;
}
.d2h-lines-deleted {
border: 1px solid #e9aeae;
border-radius: 0 5px 5px 0;
color: #c33;
margin-left: 1px;
padding: 2px;
text-align: left;
vertical-align: middle;
}
.d2h-file-name-wrapper {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 15px;
width: 100%;
}
.d2h-file-name {
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.d2h-file-wrapper {
border: 1px solid var(--background-modifier-border);
border-radius: 3px;
margin-bottom: 1em;
}
.d2h-file-collapse {
-webkit-box-pack: end;
-ms-flex-pack: end;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
border: 1px solid var(--background-modifier-border);
border-radius: 3px;
cursor: pointer;
display: none;
font-size: 12px;
justify-content: flex-end;
padding: 4px 8px;
}
.d2h-file-collapse.d2h-selected {
background-color: #c8e1ff;
}
.d2h-file-collapse-input {
margin: 0 4px 0 0;
}
.d2h-diff-table {
border-collapse: collapse;
font-family: Menlo, Consolas, monospace;
font-size: 13px;
width: 100%;
}
.d2h-files-diff {
width: 100%;
}
.d2h-file-diff {
overflow-y: hidden;
}
.d2h-file-side-diff {
display: inline-block;
margin-bottom: -8px;
margin-right: -4px;
overflow-x: scroll;
overflow-y: hidden;
width: 50%;
}
.d2h-code-line {
padding: 0 8em;
}
.d2h-code-line,
.d2h-code-side-line {
display: inline-block;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space: nowrap;
width: 100%;
}
.d2h-code-side-line {
padding: 0 4.5em;
}
.d2h-code-line-ctn {
word-wrap: normal;
background: none;
display: inline-block;
padding: 0;
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
vertical-align: middle;
white-space: pre;
width: 100%;
}
.theme-light .d2h-code-line del,
.theme-light .d2h-code-side-line del {
background-color: #ffb6ba;
}
.theme-dark .d2h-code-line del,
.theme-dark .d2h-code-side-line del {
background-color: #8d232881;
}
.d2h-code-line del,
.d2h-code-line ins,
.d2h-code-side-line del,
.d2h-code-side-line ins {
border-radius: 0.2em;
display: inline-block;
margin-top: -1px;
text-decoration: none;
vertical-align: middle;
}
.theme-light .d2h-code-line ins,
.theme-light .d2h-code-side-line ins {
background-color: #97f295;
text-align: left;
}
.theme-dark .d2h-code-line ins,
.theme-dark .d2h-code-side-line ins {
background-color: #1d921996;
text-align: left;
}
.d2h-code-line-prefix {
word-wrap: normal;
background: none;
display: inline;
padding: 0;
white-space: pre;
}
.line-num1 {
float: left;
}
.line-num1,
.line-num2 {
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
padding: 0 0.5em;
text-overflow: ellipsis;
width: 3.5em;
}
.line-num2 {
float: right;
}
.d2h-code-linenumber {
background-color: var(--background-primary);
border: solid var(--background-modifier-border);
border-width: 0 1px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: var(--text-muted);
cursor: pointer;
display: inline-block;
position: absolute;
text-align: right;
width: 7.5em;
}
.d2h-code-linenumber:after {
content: "\200b";
}
.d2h-code-side-linenumber {
background-color: var(--background-primary);
border: solid var(--background-modifier-border);
border-width: 0 1px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: var(--text-muted);
cursor: pointer;
display: inline-block;
overflow: hidden;
padding: 0 0.5em;
position: absolute;
text-align: right;
text-overflow: ellipsis;
width: 4em;
}
.d2h-code-side-linenumber:after {
content: "\200b";
}
.d2h-code-side-emptyplaceholder,
.d2h-emptyplaceholder {
background-color: var(--background-primary);
border-color: var(--background-modifier-border);
}
.d2h-code-line-prefix,
.d2h-code-linenumber,
.d2h-code-side-linenumber,
.d2h-emptyplaceholder {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.d2h-code-linenumber,
.d2h-code-side-linenumber {
direction: rtl;
}
.theme-light .d2h-del {
background-color: #fee8e9;
border-color: #e9aeae;
}
.theme-light .d2h-ins {
background-color: #dfd;
border-color: #b4e2b4;
}
.theme-dark .d2h-del {
background-color: #521b1d83;
border-color: #691d1d73;
}
.theme-dark .d2h-ins {
background-color: rgba(30, 71, 30, 0.5);
border-color: #13501381;
}
.d2h-info {
background-color: var(--background-primary);
border-color: var(--background-modifier-border);
color: var(--text-normal);
}
.theme-light .d2h-file-diff .d2h-del.d2h-change {
background-color: #fdf2d0;
}
.theme-dark .d2h-file-diff .d2h-del.d2h-change {
background-color: #55492480;
}
.theme-light .d2h-file-diff .d2h-ins.d2h-change {
background-color: #ded;
}
.theme-dark .d2h-file-diff .d2h-ins.d2h-change {
background-color: rgba(37, 78, 37, 0.418);
}
.d2h-file-list-wrapper {
margin-bottom: 10px;
}
.d2h-file-list-wrapper a {
color: #3572b0;
text-decoration: none;
}
.d2h-file-list-wrapper a:visited {
color: #3572b0;
}
.d2h-file-list-header {
text-align: left;
}
.d2h-file-list-title {
font-weight: 700;
}
.d2h-file-list-line {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
text-align: left;
}
.d2h-file-list {
display: block;
list-style: none;
margin: 0;
padding: 0;
}
.d2h-file-list > li {
border-bottom: 1px solid var(--background-modifier-border);
margin: 0;
padding: 5px 10px;
}
.d2h-file-list > li:last-child {
border-bottom: none;
}
.d2h-file-switch {
cursor: pointer;
display: none;
font-size: 10px;
}
.d2h-icon {
fill: currentColor;
margin-right: 10px;
vertical-align: middle;
}
.d2h-deleted {
color: #c33;
}
.d2h-added {
color: #399839;
}
.d2h-changed {
color: #d0b44c;
}
.d2h-moved {
color: #3572b0;
}
.d2h-tag {
background-color: var(--background-primary);
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-size: 10px;
margin-left: 5px;
padding: 0 2px;
}
.d2h-deleted-tag {
border: 2px solid #c33;
}
.d2h-added-tag {
border: 1px solid #399839;
}
.d2h-changed-tag {
border: 1px solid #d0b44c;
}
.d2h-moved-tag {
border: 1px solid #3572b0;
}

18
.obsidian/workspace

@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
"state": {
"type": "markdown",
"state": {
"file": "随时随地/简单的 React 思考 - Context.md",
"file": "随时随地/React Hooks 的碎片记录.md",
"mode": "source",
"source": false
}
@ -69,7 +69,7 @@ @@ -69,7 +69,7 @@
"state": {
"type": "backlink",
"state": {
"file": "随时随地/简单的 React 思考 - Context.md",
"file": "随时随地/React Hooks 的碎片记录.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@ -89,15 +89,15 @@ @@ -89,15 +89,15 @@
},
"active": "1508f46ea2481b37",
"lastOpenFiles": [
"随时随地/简单的 React 思考 - Context.md",
"随时随地/简单的 React 思考 - useCallback.md",
"随时随地/简单的 React 思考 - useMemo.md",
"随时随地/React Hooks 的碎片记录.md",
"随时随地/奇怪的疑惑.md",
"随时随地/简单的 React 思考 - useReducer.md",
"随时随地/简单的 React 思考 - Fiber 创建.md",
"随时随地/React Hooks 的碎片记录.md",
"随时随地/简单的 React 思考 - useMemo.md",
"随时随地/useEffect 和 Debounce.md",
"随时随地/简单的 React 思考 - 状态管理工具.md",
"1648111615(1) 5.png.md"
"1648111615(1) 5.png.md",
"1648111615(1).png",
"1648111615(1) 5.png",
"随时随地/简单的 React 思考 - Hook.md",
"随时随地/简单的 React 思考 - Fiber 创建.md"
]
}
Loading…
Cancel
Save