@aiquants/auth-react-router 0.31.0 → 0.32.0
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/README.md +4 -2
- package/dist/admin.js +1 -1
- package/dist/admin.mjs +1 -1
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -8,7 +8,8 @@ React Router v7 auth adapter for [`@aiquants/auth-core`](../auth-core/): Google
|
|
|
8
8
|
pnpm add @aiquants/auth-core @aiquants/auth-react-router
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
Peers: `react`, `react-router@^7`, `remix-auth@^4`, `remix-auth-oauth2@^3`, `react-icons
|
|
11
|
+
Peers: `react`, `react-router@^7`, `remix-auth@^4`, `remix-auth-oauth2@^3`, `react-icons`, `@aiquants/console-ui@^0.6.0`
|
|
12
|
+
(the admin console reads every colour from it, the values of `@aiquants/console-ui/core`, and needs none of its stylesheets).
|
|
12
13
|
|
|
13
14
|
## User admin shell: the self-permission badge
|
|
14
15
|
|
|
@@ -232,7 +233,8 @@ export default () => <AuthUserAdminAppView basePath="/users" />
|
|
|
232
233
|
Every colour the console draws is a pair of a light value and a dark value written as CSS `light-dark()`, so it follows
|
|
233
234
|
the `color-scheme` the host sets on an ancestor: `color-scheme: dark` (on `html.dark`, for example) shows the dark
|
|
234
235
|
values, and a page that sets none keeps the light ones. The package reads neither a `.dark` class nor
|
|
235
|
-
`prefers-color-scheme`, and it declares no colour property for a host to bind.
|
|
236
|
+
`prefers-color-scheme`, and it declares no colour property for a host to bind. The values are `@aiquants/console-ui`'s
|
|
237
|
+
tokens and tone table, so the console and a console built on console-ui draw the same colours.
|
|
236
238
|
|
|
237
239
|
The shell (`AuthUserAdminAppView`, or `UserAdminShell` around your own views) is the console's colour root: it paints
|
|
238
240
|
the console's surface and text, every button, field and select carries its own palette text and surface, and every link
|