@protobase/cli 0.102.7 → 0.102.9
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/cli/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/cli",
|
|
3
|
-
"version": "0.102.
|
|
3
|
+
"version": "0.102.9",
|
|
4
4
|
"description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@better-auth/core": "^1.7.12",
|
|
45
45
|
"@hono/node-server": "^2.1.3",
|
|
46
|
-
"@protobase/config": "0.102.
|
|
47
|
-
"@protobase/layout": "0.102.
|
|
48
|
-
"@protobase/query": "0.102.
|
|
49
|
-
"@protobase/schema": "0.102.
|
|
50
|
-
"@protobase/server": "0.102.
|
|
51
|
-
"@protobase/ui": "0.102.
|
|
52
|
-
"@protobase/workflows": "0.102.
|
|
46
|
+
"@protobase/config": "0.102.9",
|
|
47
|
+
"@protobase/layout": "0.102.9",
|
|
48
|
+
"@protobase/query": "0.102.9",
|
|
49
|
+
"@protobase/schema": "0.102.9",
|
|
50
|
+
"@protobase/server": "0.102.9",
|
|
51
|
+
"@protobase/ui": "0.102.9",
|
|
52
|
+
"@protobase/workflows": "0.102.9",
|
|
53
53
|
"@react-email/render": "^2.1.0",
|
|
54
54
|
"@scalar/hono-api-reference": "^0.12.10",
|
|
55
55
|
"@sentry/vite-plugin": "^11.10.0",
|
|
@@ -53,7 +53,7 @@ The app's `index.html` links `/protobase.theme.css` after its own stylesheets, s
|
|
|
53
53
|
|
|
54
54
|
Each user picks light, dark or "System" with the theme switch in the profile menu, a visitor who is not signed in with the one above "Sign in" at the bottom of the sidebar, and the app follows their system's setting until they pick one. The choice is kept in their browser (`localStorage`, under `protobase:theme`), so it holds on every visit and in every tab; with storage blocked the app follows the system.
|
|
55
55
|
|
|
56
|
-
The app draws dark by setting `data-theme="dark"` on the `<html>` element, and `data-theme="light"` for light. The app's `index.html` sets it with a small script in its `<head>`, before the first paint,
|
|
56
|
+
The app draws dark by setting `data-theme="dark"` on the `<html>` element, and `data-theme="light"` for light. The app's `index.html` sets it with a small script in its `<head>`, before the first paint, and draws the app's background in that theme, with the app's spinner after a moment, until the app has drawn its first page, the sign-in page or the home page, over it: from the first paint on, the page never flashes or changes its background while the app loads. The background is the `--background` token of your `protobase.theme.css`, or the default without one. Native parts of the page, such as scrollbars and date pickers, follow it too (`color-scheme`). <gap>A start whose script does not load or that fails before its first page cannot say so because a start failure message is not implemented, so the spinner keeps turning.</gap>
|
|
57
57
|
|
|
58
58
|
Pictures, file previews and maps keep their own colors in dark: a map draws in the style the project names for it. A theme's `[data-theme="dark"]` values win over the app's dark ones, as its `:root` values win over the app's light ones, and a `:root` value without a dark one holds in dark too.
|
|
59
59
|
|