@x-titan/fetcher 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.obsidian/app.json +7 -0
- package/.obsidian/appearance.json +5 -0
- package/.obsidian/community-plugins.json +7 -0
- package/.obsidian/core-plugins.json +33 -0
- package/.obsidian/hotkeys.json +19 -0
- package/.obsidian/icons/boxicons.zip +0 -0
- package/.obsidian/icons/font-awesome-brands.zip +0 -0
- package/.obsidian/icons/font-awesome-regular.zip +0 -0
- package/.obsidian/icons/font-awesome-solid.zip +0 -0
- package/.obsidian/icons/simple-icons.zip +0 -0
- package/.obsidian/plugins/advanced-canvas/main.js +7372 -0
- package/.obsidian/plugins/advanced-canvas/manifest.json +11 -0
- package/.obsidian/plugins/advanced-canvas/styles.css +508 -0
- package/.obsidian/plugins/canvas-mindmap/main.js +8 -0
- package/.obsidian/plugins/canvas-mindmap/manifest.json +15 -0
- package/.obsidian/plugins/canvas-mindmap/styles.css +29 -0
- package/.obsidian/plugins/custom-sidebar-icons/main.js +37831 -0
- package/.obsidian/plugins/custom-sidebar-icons/manifest.json +15 -0
- package/.obsidian/plugins/custom-sidebar-icons/styles.css +1 -0
- package/.obsidian/plugins/iconic/data.json +38 -0
- package/.obsidian/plugins/iconic/main.js +9 -0
- package/.obsidian/plugins/iconic/manifest.json +10 -0
- package/.obsidian/plugins/iconic/styles.css +609 -0
- package/.obsidian/plugins/obsidian-excalidraw-plugin/main.js +10 -0
- package/.obsidian/plugins/obsidian-excalidraw-plugin/manifest.json +12 -0
- package/.obsidian/plugins/obsidian-excalidraw-plugin/styles.css +1 -0
- package/.obsidian/plugins/obsidian-icon-folder/data.json +31 -0
- package/.obsidian/plugins/obsidian-icon-folder/main.js +7158 -0
- package/.obsidian/plugins/obsidian-icon-folder/manifest.json +10 -0
- package/.obsidian/plugins/obsidian-icon-folder/styles.css +120 -0
- package/.obsidian/plugins/obsidian-kanban/main.js +153 -0
- package/.obsidian/plugins/obsidian-kanban/manifest.json +11 -0
- package/.obsidian/plugins/obsidian-kanban/styles.css +1 -0
- package/.obsidian/plugins/table-editor-obsidian/data.json +6 -0
- package/.obsidian/plugins/table-editor-obsidian/main.js +236 -0
- package/.obsidian/plugins/table-editor-obsidian/manifest.json +17 -0
- package/.obsidian/plugins/table-editor-obsidian/styles.css +78 -0
- package/.obsidian/snippets/CustomIcon-AutoGen.css +17 -0
- package/.obsidian/templates.json +3 -0
- package/.obsidian/themes/ASET Simple/.editorconfig +10 -0
- package/.obsidian/themes/ASET Simple/.git1/HEAD +1 -0
- package/.obsidian/themes/ASET Simple/.git1/config +13 -0
- package/.obsidian/themes/ASET Simple/.git1/description +1 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/applypatch-msg.sample +15 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/commit-msg.sample +24 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/fsmonitor-watchman.sample +174 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/post-update.sample +8 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/pre-applypatch.sample +14 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/pre-commit.sample +49 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/pre-merge-commit.sample +13 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/pre-push.sample +53 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/pre-rebase.sample +169 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/pre-receive.sample +24 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/prepare-commit-msg.sample +42 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/push-to-checkout.sample +78 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/sendemail-validate.sample +77 -0
- package/.obsidian/themes/ASET Simple/.git1/hooks/update.sample +128 -0
- package/.obsidian/themes/ASET Simple/.git1/index +0 -0
- package/.obsidian/themes/ASET Simple/.git1/info/exclude +6 -0
- package/.obsidian/themes/ASET Simple/.git1/objects/pack/pack-37b1d733e37d8c14f634edcfb396cffa341c1de9.idx +0 -0
- package/.obsidian/themes/ASET Simple/.git1/objects/pack/pack-37b1d733e37d8c14f634edcfb396cffa341c1de9.pack +0 -0
- package/.obsidian/themes/ASET Simple/.git1/objects/pack/pack-37b1d733e37d8c14f634edcfb396cffa341c1de9.rev +0 -0
- package/.obsidian/themes/ASET Simple/.git1/packed-refs +2 -0
- package/.obsidian/themes/ASET Simple/.git1/refs/heads/master +1 -0
- package/.obsidian/themes/ASET Simple/.git1/refs/remotes/origin/HEAD +1 -0
- package/.obsidian/themes/ASET Simple/.github/workflows/release-version.yml +50 -0
- package/.obsidian/themes/ASET Simple/README.md +95 -0
- package/.obsidian/themes/ASET Simple/manifest.json +7 -0
- package/.obsidian/themes/ASET Simple/package.json +7 -0
- package/.obsidian/themes/ASET Simple/theme.css +164 -0
- package/.obsidian/themes/ASET Simple/version-bump.mjs +26 -0
- package/.obsidian/themes/ASET Simple/versions.json +3 -0
- package/.obsidian/themes/Atom/manifest.json +6 -0
- package/.obsidian/themes/Atom/theme.css +339 -0
- package/.obsidian/themes/Borealis/manifest.json +7 -0
- package/.obsidian/themes/Borealis/theme.css +1164 -0
- package/.obsidian/themes/Cupertino/manifest.json +8 -0
- package/.obsidian/themes/Cupertino/theme.css +107 -0
- package/.obsidian/themes/Flexoki/manifest.json +7 -0
- package/.obsidian/themes/Flexoki/theme.css +82 -0
- package/.obsidian/themes/Focus/manifest.json +7 -0
- package/.obsidian/themes/Focus/theme.css +1047 -0
- package/.obsidian/themes/GitHub Theme/manifest.json +7 -0
- package/.obsidian/themes/GitHub Theme/theme.css +1245 -0
- package/.obsidian/themes/Minimal/manifest.json +8 -0
- package/.obsidian/themes/Minimal/theme.css +2223 -0
- package/.obsidian/themes/Notation/manifest.json +6 -0
- package/.obsidian/themes/Notation/theme.css +831 -0
- package/.obsidian/themes/Notation 2/manifest.json +7 -0
- package/.obsidian/themes/Notation 2/theme.css +1887 -0
- package/.obsidian/themes/Oreo/manifest.json +7 -0
- package/.obsidian/themes/Oreo/theme.css +2242 -0
- package/.obsidian/themes/Pure/manifest.json +6 -0
- package/.obsidian/themes/Pure/theme.css +288 -0
- package/.obsidian/themes/Simple/manifest.json +7 -0
- package/.obsidian/themes/Simple/theme.css +1005 -0
- package/.obsidian/themes/Sodalite/manifest.json +7 -0
- package/.obsidian/themes/Sodalite/theme.css +905 -0
- package/.obsidian/themes/Things/manifest.json +7 -0
- package/.obsidian/themes/Things/theme.css +1628 -0
- package/.obsidian/themes/Vanilla AMOLED/manifest.json +7 -0
- package/.obsidian/themes/Vanilla AMOLED/theme.css +25 -0
- package/.obsidian/themes/Vanilla AMOLED Color/manifest.json +7 -0
- package/.obsidian/themes/Vanilla AMOLED Color/theme.css +49 -0
- package/.obsidian/themes/Wikipedia/manifest.json +7 -0
- package/.obsidian/themes/Wikipedia/theme.css +1134 -0
- package/.obsidian/themes/mono black (monochrome, charcoal)/manifest.json +7 -0
- package/.obsidian/themes/mono black (monochrome, charcoal)/theme.css +17 -0
- package/.obsidian/workspace.json +218 -0
- package/LICENCE +21 -0
- package/dist/fetcher.d.ts +17 -0
- package/dist/fetcher.d.ts.map +1 -0
- package/dist/fetcher.js +54 -0
- package/dist/fetcher.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +25 -0
- package/dist/index.js.map +1 -0
- package/dist/responses.d.ts +6 -0
- package/dist/responses.d.ts.map +1 -0
- package/dist/responses.js +23 -0
- package/dist/responses.js.map +1 -0
- package/dist/types.d.ts +9 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +3 -0
- package/dist/types.js.map +1 -0
- package/dist/utils.d.ts +3 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +9 -0
- package/dist/utils.js.map +1 -0
- package/nodemon.json +6 -0
- package/package.json +38 -0
- package/src/fetcher.ts +68 -0
- package/src/index.ts +7 -0
- package/src/responses.ts +19 -0
- package/src/types.ts +15 -0
- package/src/utils.ts +9 -0
- package/tsconfig.json +49 -0
- package/tsup.config.ts +11 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
body {
|
|
2
|
+
|
|
3
|
+
--divider-color: none;
|
|
4
|
+
--modal-radius: 16px;
|
|
5
|
+
--modal-border-color: none;
|
|
6
|
+
--prompt-border-color: none;
|
|
7
|
+
--tab-radius-active: 0;
|
|
8
|
+
--tab-background-active: none;
|
|
9
|
+
--titlebar-background-focused: none;
|
|
10
|
+
--titlebar-background: none;
|
|
11
|
+
/* --prompt-max-height: 50vh */
|
|
12
|
+
--modal-height: 65vh;
|
|
13
|
+
--nav-item-padding: var(--size-2-1) var(--size-4-2) var(--size-2-1) var(--size-4-6);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.theme-dark {
|
|
17
|
+
--background-primary: #090A0C;
|
|
18
|
+
--background-primary-alt: #0F1214;
|
|
19
|
+
--background-secondary: #111517;
|
|
20
|
+
--background-secondary-alt: #1A1E21;
|
|
21
|
+
--background-modifier-cover: var(--color-base-20);
|
|
22
|
+
--table-background: var(--background-primary-alt);
|
|
23
|
+
--table-border-color: none;
|
|
24
|
+
--table-header-background: var(--background-secondary-alt);
|
|
25
|
+
--table-header-background-hover: var(--background-secondary-alt);
|
|
26
|
+
--table-row-background: var(--background-secondary-alt);
|
|
27
|
+
--table-row-alt-background: var(--background-secondary);
|
|
28
|
+
--table-row-background-hover: var(--background-secondary-alt);
|
|
29
|
+
--table-row-alt-background-hover: var(--background-secondary-alt);
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* resize */
|
|
34
|
+
|
|
35
|
+
.workspace-leaf-resize-handle {
|
|
36
|
+
border-color: var(--background-secondary);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* header mod root, left and right */
|
|
40
|
+
|
|
41
|
+
.workspace-tab-header-container {
|
|
42
|
+
--radius-s: 0;
|
|
43
|
+
--tab-radius: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* tabs mod root */
|
|
47
|
+
|
|
48
|
+
.mod-root .workspace-tab-header-container-inner {
|
|
49
|
+
/* padding: 0; */
|
|
50
|
+
margin: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.workspace .mod-root .workspace-tab-header {
|
|
54
|
+
padding: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.workspace-split.mod-root .workspace-tab-header.is-active::before,
|
|
58
|
+
.workspace-split.mod-root .workspace-tab-header.is-active::after {
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.mod-root .workspace-tab-header.is-active {
|
|
63
|
+
border-bottom: 3px solid var(--color-accent);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* mod left and right */
|
|
67
|
+
|
|
68
|
+
.mod-left-split .workspace-tab-header-container-inner,
|
|
69
|
+
.mod-right-split .workspace-tab-header-container-inner {
|
|
70
|
+
padding: 0;
|
|
71
|
+
margin: 0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.mod-left-split .workspace-tab-header-inner,
|
|
75
|
+
|
|
76
|
+
.mod-right-split .workspace-tab-header-inner {
|
|
77
|
+
padding: 0 13px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* mod left ribbon */
|
|
81
|
+
|
|
82
|
+
.workspace-ribbon,
|
|
83
|
+
.workspace-ribbon.mod-left.is-collapsed,
|
|
84
|
+
.workspace-ribbon.mod-left:before {
|
|
85
|
+
background-color: var(--background-secondary-alt);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* workspace mod left and right */
|
|
89
|
+
|
|
90
|
+
.workspace-split.mod-left-split,
|
|
91
|
+
.workspace-split.mod-right-split {
|
|
92
|
+
--radius-s: 0;
|
|
93
|
+
--clickable-icon-radius: 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* mod left nav files, bookmarks and search */
|
|
97
|
+
|
|
98
|
+
.nav-files-container,
|
|
99
|
+
.workspace-leaf-content[data-type=bookmarks] .view-content,
|
|
100
|
+
.search-result-container.mod-global-search {
|
|
101
|
+
|
|
102
|
+
/* --nav-item-background-hover: red; */
|
|
103
|
+
/* --nav-item-background-active: red; */
|
|
104
|
+
padding: var(--size-4-1) 0 var(--size-4-6) 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* mod left vault profile */
|
|
108
|
+
|
|
109
|
+
body:not(.is-mobile) .workspace-split.mod-left-split .workspace-sidedock-vault-profile .workspace-drawer-vault-switcher {
|
|
110
|
+
padding: 0 13px;
|
|
111
|
+
height: 100%;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
body:not(.is-mobile) .workspace-split.mod-left-split .workspace-sidedock-vault-profile .clickable-icon {
|
|
115
|
+
padding: 6px 13px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
body:not(.is-mobile) .workspace-split.mod-left-split .workspace-sidedock-vault-profile {
|
|
119
|
+
padding: 0;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* modal */
|
|
123
|
+
|
|
124
|
+
.modal {
|
|
125
|
+
--radius-s: 4px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.horizontal-tab-nav-item,
|
|
129
|
+
.vertical-tab-nav-item {
|
|
130
|
+
padding: var(--size-2-1) var(--size-4-3);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* Editor mode */
|
|
134
|
+
|
|
135
|
+
.markdown-source-view {
|
|
136
|
+
--font-text: 'Fira Code', 'Source Code Pro', Consolas, 'Courier New', monospace;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* table view mode */
|
|
140
|
+
|
|
141
|
+
.markdown-rendered table {
|
|
142
|
+
max-width: 100%;
|
|
143
|
+
width: 100%;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.markdown-rendered tbody tr:nth-child(2n+2) {
|
|
147
|
+
/* background-color: var(--table-row-background); */
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.markdown-rendered thead tr>th:nth-child(2n+2),
|
|
151
|
+
.markdown-rendered tbody tr>td:nth-child(2n+2) {
|
|
152
|
+
background-color: unset;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* pills */
|
|
156
|
+
|
|
157
|
+
.multi-select-pill-content {
|
|
158
|
+
margin-inline-end: var(--pill-padding-x);
|
|
159
|
+
height: 1.1em;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.multi-select-pill-remove-button {
|
|
163
|
+
display: none;
|
|
164
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This script makes it slightly easier to release new versions of your
|
|
3
|
+
* theme. If you are not using Github Releases with your theme, or
|
|
4
|
+
* you are not interested in automating the process, you can safely ignore
|
|
5
|
+
* this script.
|
|
6
|
+
*
|
|
7
|
+
* Usage: `$ npm run version`
|
|
8
|
+
*
|
|
9
|
+
* This script will automatically add a new entry to the versions.json file for
|
|
10
|
+
* the current version of your theme.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { readFileSync, writeFileSync } from "fs";
|
|
14
|
+
|
|
15
|
+
const targetVersion = process.env.npm_package_version;
|
|
16
|
+
|
|
17
|
+
// read minAppVersion from manifest.json and bump version to target version
|
|
18
|
+
let manifest = JSON.parse(readFileSync("manifest.json", "utf8"));
|
|
19
|
+
const { minAppVersion } = manifest;
|
|
20
|
+
manifest.version = targetVersion;
|
|
21
|
+
writeFileSync("manifest.json", JSON.stringify(manifest, null, "\t"));
|
|
22
|
+
|
|
23
|
+
// update versions.json with target version and minAppVersion from manifest.json
|
|
24
|
+
let versions = JSON.parse(readFileSync("versions.json", "utf8"));
|
|
25
|
+
versions[targetVersion] = minAppVersion;
|
|
26
|
+
writeFileSync("versions.json", JSON.stringify(versions, null, "\t"));
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
/* Base colors - TODO: are grey 1 and grey 2 used? */
|
|
2
|
+
.theme-dark {
|
|
3
|
+
--accent-h: 219;
|
|
4
|
+
--accent-s: 56%;
|
|
5
|
+
--accent-l: 55%;
|
|
6
|
+
|
|
7
|
+
--background-primary: #272b34;
|
|
8
|
+
--background-primary-alt: #20242b;
|
|
9
|
+
--background-secondary: #20242b;
|
|
10
|
+
--background-secondary-alt: #1a1e24;
|
|
11
|
+
--background-accent: #000;
|
|
12
|
+
--background-modifier-border: #424958;
|
|
13
|
+
--background-modifier-form-field: rgba(0, 0, 0, 0.3);
|
|
14
|
+
--background-modifier-form-field-highlighted: rgba(0, 0, 0, 0.22);
|
|
15
|
+
--background-modifier-box-shadow: rgba(0, 0, 0, 0.3);
|
|
16
|
+
--background-modifier-success: #539126;
|
|
17
|
+
--background-modifier-error: #3d0000;
|
|
18
|
+
--background-modifier-error-rgb: 61, 0, 0;
|
|
19
|
+
--background-modifier-error-hover: #470000;
|
|
20
|
+
--background-modifier-cover: rgba(0, 0, 0, 0.6);
|
|
21
|
+
--text-accent: #61afef;
|
|
22
|
+
--text-accent-hover: #70bdfc;
|
|
23
|
+
--text-normal: #dcddde;
|
|
24
|
+
--text-muted: #888;
|
|
25
|
+
--text-faint: rgb(81, 86, 99);
|
|
26
|
+
--text-error: #e16d76;
|
|
27
|
+
--text-error-hover: #c9626a;
|
|
28
|
+
--text-highlight-bg: rgba(255, 255, 0, 0.4);
|
|
29
|
+
--text-selection: rgba(0, 122, 255, 0.2);
|
|
30
|
+
--text-on-accent: #dcddde;
|
|
31
|
+
--interactive-normal: #20242b;
|
|
32
|
+
--interactive-hover: #353b47;
|
|
33
|
+
--interactive-accent-hover: hsl(var(--accent-h), calc(var(--accent-s) + 5%), calc(var(--accent-l) - 10%));
|
|
34
|
+
--scrollbar-active-thumb-bg: rgba(255, 255, 255, 0.2);
|
|
35
|
+
--scrollbar-bg: rgba(255, 255, 255, 0.05);
|
|
36
|
+
--scrollbar-thumb-bg: rgba(255, 255, 255, 0.1);
|
|
37
|
+
--panel-border-color: #18191e;
|
|
38
|
+
--gray-1: #5C6370;
|
|
39
|
+
--gray-2: #abb2bf;
|
|
40
|
+
--red: #e06c75;
|
|
41
|
+
--orange: #d19a66;
|
|
42
|
+
--green: #98c379;
|
|
43
|
+
--aqua: #56b6c2;
|
|
44
|
+
--purple: #c678dd;
|
|
45
|
+
--blue: #61afef;
|
|
46
|
+
--yellow: #e5c07b;
|
|
47
|
+
|
|
48
|
+
--background-modifier-hover: hsla(var(--accent-h), calc(var(--accent-s) - 35%), var(--accent-l), 0.06);
|
|
49
|
+
--divider-color-hover: #404754;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.theme-light {
|
|
53
|
+
--accent-h: 230;
|
|
54
|
+
--accent-s: 83%;
|
|
55
|
+
--accent-l: 64%;
|
|
56
|
+
|
|
57
|
+
--background-primary: #fafafa;
|
|
58
|
+
--background-primary-alt: #eaeaeb;
|
|
59
|
+
--background-secondary: #eaeaeb;
|
|
60
|
+
--background-secondary-alt: #dbdbdc;
|
|
61
|
+
--background-accent: #fff;
|
|
62
|
+
--background-modifier-border: #dbdbdc;
|
|
63
|
+
--background-modifier-form-field: #fff;
|
|
64
|
+
--background-modifier-form-field-highlighted: #fff;
|
|
65
|
+
--background-modifier-box-shadow: rgba(0, 0, 0, 0.1);
|
|
66
|
+
--background-modifier-success: #A4E7C3;
|
|
67
|
+
--background-modifier-error: #e68787;
|
|
68
|
+
--background-modifier-error-rgb: 230, 135, 135;
|
|
69
|
+
--background-modifier-error-hover: #FF9494;
|
|
70
|
+
--background-modifier-cover: rgba(0, 0, 0, 0.8);
|
|
71
|
+
--text-accent: #1592ff;
|
|
72
|
+
--text-accent-hover: #097add;
|
|
73
|
+
--text-normal: #383a42;
|
|
74
|
+
--text-muted: #8e8e90;
|
|
75
|
+
--text-faint: #999999;
|
|
76
|
+
--text-error: #e75545;
|
|
77
|
+
--text-error-hover: #f86959;
|
|
78
|
+
--text-highlight-bg: rgba(255, 255, 0, 0.4);
|
|
79
|
+
--text-selection: rgba(0, 122, 255, 0.15);
|
|
80
|
+
--text-on-accent: #f2f2f2;
|
|
81
|
+
--interactive-normal: #eaeaeb;
|
|
82
|
+
--interactive-hover: #dbdbdc;
|
|
83
|
+
--interactive-accent-rgb: 21, 146, 255;
|
|
84
|
+
--interactive-accent-hover: hsl(var(--accent-h), calc(var(--accent-s) - 10%), calc(var(--accent-l) - 4%));
|
|
85
|
+
--scrollbar-active-thumb-bg: rgba(0, 0, 0, 0.2);
|
|
86
|
+
--scrollbar-bg: rgba(0, 0, 0, 0.05);
|
|
87
|
+
--scrollbar-thumb-bg: rgba(0, 0, 0, 0.1);
|
|
88
|
+
--panel-border-color: #dbdbdc;
|
|
89
|
+
--gray-1: #383a42;
|
|
90
|
+
--gray-2: #383a42;
|
|
91
|
+
--red: #e75545;
|
|
92
|
+
--green: #4ea24c;
|
|
93
|
+
--blue: #3d74f6;
|
|
94
|
+
--purple: #a625a4;
|
|
95
|
+
--aqua: #0084bc;
|
|
96
|
+
--yellow: #e35649;
|
|
97
|
+
--orange: #986800;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.theme-dark, .theme-light {
|
|
101
|
+
--ribbon-background: var(--background-primary);
|
|
102
|
+
--drag-ghost-background: var(--background-secondary-alt);
|
|
103
|
+
--background-modifier-message: var(--background-secondary-alt);
|
|
104
|
+
|
|
105
|
+
--tab-outline-color: transparent;
|
|
106
|
+
--divider-color: transparent;
|
|
107
|
+
|
|
108
|
+
--prompt-border-color: var(--panel-border-color);
|
|
109
|
+
--modal-border-color: var(--panel-border-color);
|
|
110
|
+
|
|
111
|
+
--background-modifier-border-hover: var(--interactive-hover);
|
|
112
|
+
--background-modifier-border-focus: var(--interactive-hover);
|
|
113
|
+
|
|
114
|
+
--checkbox-color: var(--text-accent);
|
|
115
|
+
--checkbox-color-hover: var(--text-accent-hover);
|
|
116
|
+
|
|
117
|
+
--nav-item-background-active: var(--interactive-accent);
|
|
118
|
+
--nav-item-color-active: #ffffff;
|
|
119
|
+
|
|
120
|
+
--tag-color: var(--yellow);
|
|
121
|
+
--tag-background: var(--background-primary-alt);
|
|
122
|
+
--tag-color-hover: var(--yellow);
|
|
123
|
+
--tag-background-hover: var(--background-primary-alt);
|
|
124
|
+
--tag-padding-x: 4px;
|
|
125
|
+
--tag-padding-y: 2px;
|
|
126
|
+
--tag-radius: 4px;
|
|
127
|
+
|
|
128
|
+
--inline-title-weight: var(--bold-weight);
|
|
129
|
+
--link-decoration: none;
|
|
130
|
+
--link-external-decoration: none;
|
|
131
|
+
--embed-padding: 0 0 0 var(--size-4-4);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* Search */
|
|
135
|
+
.search-result .search-result-file-title {
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.search-result .collapse-icon {
|
|
140
|
+
cursor: var(--cursor);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.search-result:not(.is-collapsed) .search-result-file-title {
|
|
144
|
+
color: var(--blue);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/* File tab separators */
|
|
148
|
+
.workspace .mod-root .workspace-tab-header-inner::after {
|
|
149
|
+
right: unset;
|
|
150
|
+
left: -0.5px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.workspace .mod-root .workspace-tab-header:last-child .workspace-tab-header-inner::before {
|
|
154
|
+
position: absolute;
|
|
155
|
+
right: -0.5px;
|
|
156
|
+
width: 1px;
|
|
157
|
+
background-color: var(--tab-divider-color);
|
|
158
|
+
content: '';
|
|
159
|
+
height: 20px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.workspace .mod-root .workspace-tab-header.is-active .workspace-tab-header-inner::after,
|
|
163
|
+
.workspace .mod-root .workspace-tab-header.is-active .workspace-tab-header-inner::before,
|
|
164
|
+
.workspace .mod-root .workspace-tab-header:first-child .workspace-tab-header-inner::after,
|
|
165
|
+
.workspace .mod-root .workspace-tab-header.is-active + .workspace-tab-header .workspace-tab-header-inner::after {
|
|
166
|
+
opacity: 0;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* Editor and output */
|
|
170
|
+
.markdown-rendered blockquote {
|
|
171
|
+
padding: var(--embed-padding);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
mjx-container {
|
|
175
|
+
text-align: left !important;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.math-block {
|
|
179
|
+
font-size: 1.3em;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.theme-light :not(pre)>code,
|
|
183
|
+
.theme-light pre {
|
|
184
|
+
background: var(--background-primary);
|
|
185
|
+
box-shadow: inset 0 0 0 1px var(--background-primary-alt);
|
|
186
|
+
border-radius: 4px;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.markdown-preview-section > div h1,
|
|
190
|
+
.markdown-preview-section > div h2,
|
|
191
|
+
.markdown-preview-section > div h3,
|
|
192
|
+
.markdown-preview-section > div h4,
|
|
193
|
+
.markdown-preview-section > div h5,
|
|
194
|
+
.markdown-preview-section > div h6 {
|
|
195
|
+
margin-top: 40px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.mod-header + div h1,
|
|
199
|
+
.mod-header + div h2,
|
|
200
|
+
.mod-header + div h3,
|
|
201
|
+
.mod-header + div h4,
|
|
202
|
+
.mod-header + div h5,
|
|
203
|
+
.mod-header + div h6 {
|
|
204
|
+
margin-top: 30px;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.cm-sizer > .inline-title {
|
|
208
|
+
margin-bottom: 20px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/* Miscellaneous */
|
|
212
|
+
.theme-dark .dropdown:hover {
|
|
213
|
+
background-color: var(--background-modifier-form-field);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.tooltip {
|
|
217
|
+
color: var(--text-muted);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.nav-file, .nav-folder {
|
|
221
|
+
padding: 1px 2px;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
body:not(.is-grabbing) .nav-file-title.is-being-dragged,
|
|
225
|
+
body:not(.is-grabbing) .nav-folder-title.is-being-dragged,
|
|
226
|
+
.nav-file-title.is-being-dragged,
|
|
227
|
+
.nav-folder-title.is-being-dragged {
|
|
228
|
+
background-color: var(--background-primary-alt);
|
|
229
|
+
color: var(--nav-item-color);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.view-header-title {
|
|
233
|
+
text-decoration: underline;
|
|
234
|
+
text-decoration-color: var(--text-muted);
|
|
235
|
+
text-underline-offset: 1.5px;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.status-bar {
|
|
239
|
+
border-color: var(--panel-border-color);
|
|
240
|
+
border-width: 1px;
|
|
241
|
+
padding: 4px 8px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.theme-dark button.mod-warning {
|
|
245
|
+
--background-modifier-error: #d42020;
|
|
246
|
+
--background-modifier-error-hover: #b01515;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.theme-light button.mod-warning {
|
|
250
|
+
--background-modifier-error: #f23f3f;
|
|
251
|
+
--background-modifier-error-hover: #d72020;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/* Code syntax highlighting */
|
|
255
|
+
code[class*='language-'], pre[class*='language-'] {
|
|
256
|
+
text-align: left !important;
|
|
257
|
+
white-space: pre !important;
|
|
258
|
+
word-spacing: normal !important;
|
|
259
|
+
word-break: normal !important;
|
|
260
|
+
word-wrap: normal !important;
|
|
261
|
+
line-height: 1.5 !important;
|
|
262
|
+
tab-size: 4 !important;
|
|
263
|
+
hyphens: none !important;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
pre[class*='language-'] {
|
|
267
|
+
/* Code blocks */
|
|
268
|
+
padding: 1em !important;
|
|
269
|
+
margin: .5em 0 !important;
|
|
270
|
+
overflow: auto !important;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
:not(pre)>code[class*='language-'] {
|
|
274
|
+
/* Inline code */
|
|
275
|
+
padding: .1em !important;
|
|
276
|
+
border-radius: .3em !important;
|
|
277
|
+
white-space: normal !important;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.token.comment, .token.prolog, .token.doctype, .token.cdata,
|
|
281
|
+
.HyperMD-codeblock .cm-comment {
|
|
282
|
+
color: var(--gray-1) !important;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.token.punctuation,
|
|
286
|
+
.HyperMD-codeblock .cm-hmd-codeblock, .HyperMD-codeblock .cm-bracket {
|
|
287
|
+
color: var(--gray-2) !important;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.token.selector, .token.tag,
|
|
291
|
+
.HyperMD-codeblock .cm-tag, .HyperMD-codeblock .cm-property, .HyperMD-codeblock .cm-meta, .HyperMD-codeblock .cm-qualifier, .HyperMD-codeblock .cm-header, .HyperMD-codeblock .cm-quote, .HyperMD-codeblock .cm-hr, .HyperMD-codeblock .cm-link {
|
|
292
|
+
color: var(--red) !important;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.token.property, .token.boolean, .token.number, .token.constant, .token.symbol, .token.attr-name, .token.deleted,
|
|
296
|
+
.HyperMD-codeblock .cm-number, .HyperMD-codeblock .cm-atom, .HyperMD-codeblock .cm-attribute {
|
|
297
|
+
color: var(--orange) !important;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.token.string, .token.char, .token.attr-value, .token.builtin, .token.inserted,
|
|
301
|
+
.HyperMD-codeblock .cm-string, .HyperMD-codeblock .cm-builtin {
|
|
302
|
+
color: var(--green) !important;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.token.operator, .token.entity, .token.url, .language-css .token.string, .style .token.string,
|
|
306
|
+
.HyperMD-codeblock .cm-string-2, .HyperMD-codeblock .cm-operator {
|
|
307
|
+
color: var(--aqua) !important;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.token.atrule, .token.keyword,
|
|
311
|
+
.HyperMD-codeblock .cm-keyword {
|
|
312
|
+
color: var(--purple) !important;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.token.function, .token.macro.property,
|
|
316
|
+
.HyperMD-codeblock .cm-def, .HyperMD-codeblock .cm-variable {
|
|
317
|
+
color: var(--blue) !important;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.token.class-name,
|
|
321
|
+
.HyperMD-codeblock .cm-variable-2, .HyperMD-codeblock .cm-variable-3 {
|
|
322
|
+
color: var(--yellow) !important;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.token.regex, .token.important, .token.variable {
|
|
326
|
+
color: var(--purple) !important;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.token.important, .token.bold {
|
|
330
|
+
font-weight: bold !important;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.token.italic {
|
|
334
|
+
font-style: italic !important;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.token.entity {
|
|
338
|
+
cursor: help !important;
|
|
339
|
+
}
|