.
@ -79,10 +79,14 @@
|
||||
"initOnSelectionChanged": true,
|
||||
"store": {
|
||||
"background": {
|
||||
"light" : "#F5F5F5",
|
||||
"light" : "#042B48",
|
||||
"dark" : "#042B48"
|
||||
},
|
||||
"screenshots" : ["resources/store/screen_1.png"]
|
||||
"screenshots" : ["resources/store/screen_1.png"],
|
||||
"icons" : {
|
||||
"light" : "resources/store/icons",
|
||||
"dark" : "resources/store/icons"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
BIN
sdkjs-plugins/content/deepl/resources/store/icons/icon.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
sdkjs-plugins/content/deepl/resources/store/icons/icon@1.25x.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
sdkjs-plugins/content/deepl/resources/store/icons/icon@1.5x.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
sdkjs-plugins/content/deepl/resources/store/icons/icon@1.75x.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
sdkjs-plugins/content/deepl/resources/store/icons/icon@2x.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
@ -60,10 +60,14 @@
|
||||
"initOnSelectionChanged": true,
|
||||
"store": {
|
||||
"background": {
|
||||
"light" : "#F5F5F5",
|
||||
"dark" : "#555555"
|
||||
"light" : "linear-gradient(180deg, #FF8E3D 0%, #FF6F3D 100%)",
|
||||
"dark" : "linear-gradient(180deg, #FF8E3D 0%, #FF6F3D 100%)"
|
||||
},
|
||||
"screenshots" : ["resources/store/screen_1.png"]
|
||||
"screenshots" : ["resources/store/screen_1.png"],
|
||||
"icons" : {
|
||||
"light" : "resources/store/icons",
|
||||
"dark" : "resources/store/icons"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
BIN
sdkjs-plugins/content/doc2md/resources/store/icons/icon.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
BIN
sdkjs-plugins/content/doc2md/resources/store/icons/icon@1.5x.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
BIN
sdkjs-plugins/content/doc2md/resources/store/icons/icon@2x.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
@ -100,10 +100,14 @@
|
||||
"size": [ 1200, 1000 ],
|
||||
"store": {
|
||||
"background": {
|
||||
"light": "#F5F5F5",
|
||||
"dark": "#F5F5F5"
|
||||
"light" : "#FC8B00",
|
||||
"dark" : "#FC8B00;"
|
||||
},
|
||||
"screenshots": ["resources/store/screen_1.png"]
|
||||
"screenshots" : ["resources/store/screen_1.png"],
|
||||
"icon" : {
|
||||
"light" : "resources/store/icons",
|
||||
"dark" : "resources/store/icons"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
BIN
sdkjs-plugins/content/drawio/resources/store/icons/icon.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
BIN
sdkjs-plugins/content/drawio/resources/store/icons/icon@1.5x.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
BIN
sdkjs-plugins/content/drawio/resources/store/icons/icon@2x.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
@ -6,16 +6,10 @@
|
||||
{
|
||||
"description" : "EasyBib",
|
||||
"url" : "index.html",
|
||||
"icons": [ "resources/img/icon.png", "resources/img/icon@2x.png" ],
|
||||
"icons2": [
|
||||
{
|
||||
"100%": { "normal": "resources/img/icon.png" },
|
||||
"125%": { "normal": "resources/img/icon@1.25x.png" },
|
||||
"150%": { "normal": "resources/img/icon@1.5x.png" },
|
||||
"175%": { "normal": "resources/img/icon@1.75x.png" },
|
||||
"200%": { "normal": "resources/img/icon@2x.png" }
|
||||
}
|
||||
],
|
||||
"icons": {
|
||||
"light" : "resources/img",
|
||||
"dark" : "resources/img"
|
||||
},
|
||||
"isViewer" : false,
|
||||
"EditorsSupport" : ["word"],
|
||||
"initDataType" : "html",
|
||||
|
||||
@ -14,47 +14,10 @@
|
||||
},
|
||||
"url" : "index.html",
|
||||
|
||||
"icons": [ "resources/light/icon.png", "resources/light/icon@2x.png" ],
|
||||
"icons2": [
|
||||
{
|
||||
"style" : "light",
|
||||
|
||||
"100%": {
|
||||
"normal": "resources/light/icon.png"
|
||||
},
|
||||
"125%": {
|
||||
"normal": "resources/light/icon@1.25x.png"
|
||||
},
|
||||
"150%": {
|
||||
"normal": "resources/light/icon@1.5x.png"
|
||||
},
|
||||
"175%": {
|
||||
"normal": "resources/light/icon@1.75x.png"
|
||||
},
|
||||
"200%": {
|
||||
"normal": "resources/light/icon@2x.png"
|
||||
}
|
||||
},
|
||||
{
|
||||
"style" : "dark",
|
||||
|
||||
"100%": {
|
||||
"normal": "resources/dark/icon.png"
|
||||
},
|
||||
"125%": {
|
||||
"normal": "resources/dark/icon@1.25x.png"
|
||||
},
|
||||
"150%": {
|
||||
"normal": "resources/dark/icon@1.5x.png"
|
||||
},
|
||||
"175%": {
|
||||
"normal": "resources/dark/icon@1.75x.png"
|
||||
},
|
||||
"200%": {
|
||||
"normal": "resources/dark/icon@2x.png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"icons": {
|
||||
"light" : "resources/light",
|
||||
"dark" : "resources/dark"
|
||||
},
|
||||
"isViewer" : true,
|
||||
"EditorsSupport" : ["word"],
|
||||
"isVisual" : true,
|
||||
|
||||
@ -820,7 +820,7 @@ function getImageUrl(guid) {
|
||||
if (variation.store && variation.store.icons) {
|
||||
// иконки в конфиге у объекта стор (работаем только по новой схеме)
|
||||
// это будет объект с двумя полями для темной и светлой темы, которые будут указывать путь до папки в которой хранятся иконки
|
||||
curIcon = plugin.baseUrl + variation.store.icons[themeType] + 'icon.png';
|
||||
curIcon = plugin.baseUrl + variation.store.icons[themeType] + '/icon@2.png';
|
||||
} else if (variation.icons2) {
|
||||
// это старая схема и тут может быть массив с объектами у которых есть поле темы, так и массив из одного объекта у которого нет поля темы
|
||||
let icon = variation.icons2[0];
|
||||
@ -837,7 +837,7 @@ function getImageUrl(guid) {
|
||||
// это будет объект с двумя полями для темной и светлой темы, которые будут указывать путь до папки в которой хранятся иконкио
|
||||
if (typeof(variation.icons) == 'object') {
|
||||
// новая схема
|
||||
curIcon = plugin.baseUrl + variation.icons[themeType] + 'icon.png';
|
||||
curIcon = plugin.baseUrl + variation.icons[themeType] + '/icon@2.png';
|
||||
} else {
|
||||
// старая схема
|
||||
if (typeof(variation.icons[0]) == 'object' ) {
|
||||
|
||||