vite-plugin-blocklet 0.13.0 → 0.13.2
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 +3 -2
- package/libs/loading.js +3 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -381,10 +381,11 @@ function generateHtml({ color, image, showDots = true, showPoweredBy, poweredByT
|
|
|
381
381
|
#loadingPoweredBy {
|
|
382
382
|
position: fixed;
|
|
383
383
|
color: oklch(70.7% 0.022 261.325);
|
|
384
|
-
bottom:
|
|
384
|
+
bottom: 8px;
|
|
385
385
|
left: 0;
|
|
386
386
|
right: 0;
|
|
387
387
|
text-align: center;
|
|
388
|
+
font-size: 12px;
|
|
388
389
|
opacity: ${showPoweredBy ? 1 : 0.01};
|
|
389
390
|
}
|
|
390
391
|
|
|
@@ -401,7 +402,7 @@ function generateHtml({ color, image, showDots = true, showPoweredBy, poweredByT
|
|
|
401
402
|
: ''
|
|
402
403
|
}
|
|
403
404
|
</div>
|
|
404
|
-
|
|
405
|
+
${showPoweredBy ? `<div id="loadingPoweredBy">${poweredByText}</div>` : ''}
|
|
405
406
|
<script>
|
|
406
407
|
(() => {
|
|
407
408
|
const isDark = document.documentElement.getAttribute('data-theme') === 'dark';
|
package/libs/loading.js
CHANGED
|
@@ -133,10 +133,11 @@ function generateHtml({ color, image, showDots = true, showPoweredBy, poweredByT
|
|
|
133
133
|
#loadingPoweredBy {
|
|
134
134
|
position: fixed;
|
|
135
135
|
color: oklch(70.7% 0.022 261.325);
|
|
136
|
-
bottom:
|
|
136
|
+
bottom: 8px;
|
|
137
137
|
left: 0;
|
|
138
138
|
right: 0;
|
|
139
139
|
text-align: center;
|
|
140
|
+
font-size: 12px;
|
|
140
141
|
opacity: ${showPoweredBy ? 1 : 0.01};
|
|
141
142
|
}
|
|
142
143
|
|
|
@@ -153,7 +154,7 @@ function generateHtml({ color, image, showDots = true, showPoweredBy, poweredByT
|
|
|
153
154
|
: ''
|
|
154
155
|
}
|
|
155
156
|
</div>
|
|
156
|
-
|
|
157
|
+
${showPoweredBy ? `<div id="loadingPoweredBy">${poweredByText}</div>` : ''}
|
|
157
158
|
<script>
|
|
158
159
|
(() => {
|
|
159
160
|
const isDark = document.documentElement.getAttribute('data-theme') === 'dark';
|