@memobit/themes 1.0.1 → 1.0.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/vite.d.ts +1 -3
- package/dist/vite.js +2 -3
- package/package.json +1 -1
package/dist/vite.d.ts
CHANGED
package/dist/vite.js
CHANGED
|
@@ -33,9 +33,8 @@ var memobitThemes = (options = {}) => {
|
|
|
33
33
|
const themes = readThemeFiles(root);
|
|
34
34
|
return {
|
|
35
35
|
name: "memobit-themes",
|
|
36
|
-
config(
|
|
37
|
-
const
|
|
38
|
-
const urls = Object.fromEntries([...themes.keys()].map((name) => [name, `${base}/${THEME_ASSET_DIR}/${name}.css`]));
|
|
36
|
+
config() {
|
|
37
|
+
const urls = Object.fromEntries([...themes.keys()].map((name) => [name, `../${THEME_ASSET_DIR}/${name}.css`]));
|
|
39
38
|
return { define: { __MEMOBIT_THEME_URLS__: JSON.stringify(urls) } };
|
|
40
39
|
},
|
|
41
40
|
configureServer(server) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memobit/themes",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "64 themes for the Memobit apps — each published as its own stylesheet so an app loads only the one it is showing, with preview palettes for the theme picker.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|