@rizom/brain 0.1.1-alpha.6 → 0.1.1-alpha.7
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/brain.js +983 -921
- package/dist/seed-content/relay/README.md +1 -1
- package/dist/site.d.ts +37 -12
- package/dist/site.js +790 -288
- package/dist/site.js.map +33 -4
- package/dist/themes.d.ts +7 -12
- package/package.json +2 -1
package/dist/themes.d.ts
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
* Prepend the shared base theme utilities to a
|
|
20
|
-
*
|
|
19
|
+
* Prepend the shared base theme utilities to a raw theme CSS string
|
|
20
|
+
* and return the combined result.
|
|
21
21
|
*
|
|
22
22
|
* The base utilities layer contains:
|
|
23
23
|
*
|
|
@@ -32,22 +32,17 @@
|
|
|
32
32
|
* - Universal gradient, status, selection, and warning utilities
|
|
33
33
|
* - Prose color slots for `@tailwindcss/typography`
|
|
34
34
|
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* Cannot apply unknown utility class `focus-visible:ring-brand`
|
|
35
|
+
* The framework resolver uses this helper when it loads a raw theme
|
|
36
|
+
* package or inline theme CSS. Advanced consumers can use the same
|
|
37
|
+
* helper when they need a fully composed CSS string outside the
|
|
38
|
+
* resolver.
|
|
40
39
|
*
|
|
41
40
|
* @example
|
|
42
41
|
* ```ts
|
|
43
42
|
* import { composeTheme } from "@rizom/brain/themes";
|
|
44
|
-
* import type { SitePackage } from "@rizom/brain/site";
|
|
45
43
|
* import themeCSS from "./theme.css" with { type: "text" };
|
|
46
44
|
*
|
|
47
|
-
* const
|
|
48
|
-
* theme: composeTheme(themeCSS),
|
|
49
|
-
* // ...
|
|
50
|
-
* };
|
|
45
|
+
* const fullThemeCSS = composeTheme(themeCSS);
|
|
51
46
|
* ```
|
|
52
47
|
*/
|
|
53
48
|
export function composeTheme(themeCSS: string): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rizom/brain",
|
|
3
|
-
"version": "0.1.1-alpha.
|
|
3
|
+
"version": "0.1.1-alpha.7",
|
|
4
4
|
"description": "Brain runtime + CLI — scaffold, run, and manage AI brain instances",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"@brains/app": "workspace:*",
|
|
50
50
|
"@brains/eslint-config": "workspace:*",
|
|
51
51
|
"@brains/layout-personal": "workspace:*",
|
|
52
|
+
"@brains/layout-professional": "workspace:*",
|
|
52
53
|
"@brains/mcp-service": "workspace:*",
|
|
53
54
|
"@brains/plugins": "workspace:*",
|
|
54
55
|
"@brains/rover": "workspace:*",
|