vite-plugin-blocklet 0.6.9 → 0.6.11
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/dist/index.cjs +1 -2
- package/libs/loading.js +1 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -193,7 +193,6 @@ function generateHtml({ color, image }) {
|
|
|
193
193
|
body,
|
|
194
194
|
html,
|
|
195
195
|
#app {
|
|
196
|
-
background: white;
|
|
197
196
|
width: 100%;
|
|
198
197
|
height: 100%;
|
|
199
198
|
display: flex;
|
|
@@ -296,7 +295,7 @@ function generateHtml({ color, image }) {
|
|
|
296
295
|
function createLoadingPlugin({
|
|
297
296
|
loadingElementId = 'app',
|
|
298
297
|
loadingColor = '#8abaf0',
|
|
299
|
-
loadingImage = '/.well-known/service/blocklet/logo
|
|
298
|
+
loadingImage = '/.well-known/service/blocklet/logo?imageFilter=resize&w=80',
|
|
300
299
|
} = {}) {
|
|
301
300
|
const injectHtml = generateHtml({
|
|
302
301
|
color: loadingColor,
|
package/libs/loading.js
CHANGED
|
@@ -21,7 +21,6 @@ function generateHtml({ color, image }) {
|
|
|
21
21
|
body,
|
|
22
22
|
html,
|
|
23
23
|
#app {
|
|
24
|
-
background: white;
|
|
25
24
|
width: 100%;
|
|
26
25
|
height: 100%;
|
|
27
26
|
display: flex;
|
|
@@ -124,7 +123,7 @@ function generateHtml({ color, image }) {
|
|
|
124
123
|
export default function createLoadingPlugin({
|
|
125
124
|
loadingElementId = 'app',
|
|
126
125
|
loadingColor = '#8abaf0',
|
|
127
|
-
loadingImage = '/.well-known/service/blocklet/logo
|
|
126
|
+
loadingImage = '/.well-known/service/blocklet/logo?imageFilter=resize&w=80',
|
|
128
127
|
} = {}) {
|
|
129
128
|
const injectHtml = generateHtml({
|
|
130
129
|
color: loadingColor,
|