first commit

This commit is contained in:
CrazyJasonwell
2026-07-23 20:36:13 +08:00
commit 513b68be8c
7915 changed files with 2642530 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
{
"domain": "cubox.pro",
"apiKey": "atBIxDAcbhG",
"folderFilter": [
"7348972174830469284"
],
"typeFilter": [
"Article",
"Snippet",
"Others"
],
"statusFilter": [
"all"
],
"isRead": false,
"isStarred": false,
"isAnnotated": false,
"tagsFilter": [
"7347206931896862549",
"7348972649067840370",
"7348972736791709098",
"7348972790638185423",
"7348972897823621956",
"7348973036999020401",
"7351520725087293197",
"7351561928977680326"
],
"syncFrequency": 0,
"targetFolder": "60-Imports/61-CuboX",
"filenameTemplate": "{{{title}}}-{{{create_time}}}",
"frontMatterVariables": [
"id",
"cubox_url",
"url",
"tags"
],
"contentTemplate": "# {{{title}}}\n\n{{{description}}}\n\n[Read in Cubox]({{{cubox_url}}}) \n[Read Original]({{{url}}}) \n\n---\n\n{{#highlights.length}}\n## Annotations \n\n{{#highlights}}\n> {{{text}}} \n\n{{#note}}\n{{{note}}}\n{{/note}}\n[Link]({{{cubox_url}}}) \n\n{{/highlights}}\n{{/highlights.length}}\n\n\n{{{content}}} \n\n\n",
"highlightInContent": true,
"dateFormat": "yyyy-MM-dd",
"lastSyncTime": 1784774948617,
"lastSyncCardId": "7474739049253569064",
"lastCardUpdateTime": "2026-07-23T10:48:42.281+0800",
"syncing": false
}
File diff suppressed because one or more lines are too long
+9
View File
@@ -0,0 +1,9 @@
{
"id": "cubox-sync",
"name": "Cubox",
"version": "1.0.7",
"minAppVersion": "0.15.0",
"description": "Sync your Cubox articles & annotations",
"author": "delphi-2015",
"isDesktopOnly": false
}
+130
View File
@@ -0,0 +1,130 @@
/*
This CSS file will be included with your plugin, and
available in the app when your plugin is enabled.
If your plugin does not need CSS, delete this file.
*/
.modal-footer {
display: flex;
justify-content: flex-end;
padding: 16px;
border-top: 1px solid var(--background-modifier-border);
}
.modal-footer button {
margin-left: 8px;
}
.modal-footer button.mod-cta {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
/* 变量列表样式优化 */
.cubox-variables-container {
margin: 20px 0;
color: var(--text-muted);
}
.cubox-variables-title {
font-weight: 500;
margin-bottom: 8px;
color: var(--text-normal);
}
.cubox-variables-list {
margin: 0;
padding-left: 15px;
list-style-type: disc;
}
.cubox-variables-list li {
margin-bottom: 4px;
line-height: 1.2;
}
.highlight-sublist {
margin-top: 4px;
padding-left: 15px;
list-style-type: disc;
}
.cubox-reference {
margin-top: 10px;
font-size: 1.0em;
}
.reference-link {
color: var(--text-accent);
text-decoration: none;
}
.reference-link:hover {
text-decoration: underline;
}
/* Modal Dialog Styles */
.cubox-modal {
display: flex;
flex-direction: column;
height: 100%;
}
.cubox-list-container {
flex-grow: 1;
overflow-y: auto;
padding-top: 20px;
padding-right: 10px;
padding-bottom: 12px;
overflow-anchor: none;
scroll-behavior: auto;
height: 100%;
max-height: 65vh;
}
/* Modal lists use Obsidian Setting + ToggleComponent; keep light row chrome only */
.cubox-list-container .setting-item {
border-radius: 4px;
transition: background-color 0.1s ease;
/* Extra vertical room so text/toggle dont sit flush on the row dividers */
padding-top: 10px;
padding-bottom: 12px;
}
.cubox-list-container .setting-item:hover {
background-color: var(--background-modifier-hover);
}
.cubox-list-container .setting-item.is-disabled {
opacity: 0.45;
}
.cubox-list-container .setting-item:first-child .setting-item-name {
font-weight: 600;
}
.type-list-container .setting-item:first-child .setting-item-name {
font-weight: normal;
}
.cubox-others-info-icon {
display: inline-flex;
align-items: center;
justify-content: center;
margin-left: 6px;
vertical-align: middle;
cursor: var(--cursor);
color: var(--text-muted);
}
.cubox-others-info-icon:hover {
color: var(--text-accent);
}
.cubox-others-info-icon svg {
width: 14px;
height: 14px;
}