@next-core/next-docs 1.2.423 → 1.2.425
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/brick-kit.applytheme.md +29 -0
- package/dist/brick-kit.md +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: brick-kit.applytheme
|
|
3
|
+
title: applyTheme()
|
|
4
|
+
hide_title: true
|
|
5
|
+
custom_edit_url: null
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
9
|
+
|
|
10
|
+
[API Reference](./index.md) > [@next-core/brick-kit](./brick-kit.md) > [applyTheme](./brick-kit.applytheme.md)
|
|
11
|
+
|
|
12
|
+
## applyTheme() function
|
|
13
|
+
|
|
14
|
+
**Signature:**
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
export declare function applyTheme(value?: SiteTheme): void;
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Parameters
|
|
21
|
+
|
|
22
|
+
| Parameter | Type | Description |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| value | SiteTheme | |
|
|
25
|
+
|
|
26
|
+
**Returns:**
|
|
27
|
+
|
|
28
|
+
void
|
|
29
|
+
|
package/dist/brick-kit.md
CHANGED
|
@@ -24,6 +24,7 @@ The core kit of Brick Next.
|
|
|
24
24
|
|
|
25
25
|
| Function | Description |
|
|
26
26
|
| --- | --- |
|
|
27
|
+
| [applyTheme](./brick-kit.applytheme.md) | |
|
|
27
28
|
| [batchSetAppsLocalTheme](./brick-kit.batchsetappslocaltheme.md) | |
|
|
28
29
|
| [BrickAsComponent](./brick-kit.brickascomponent.md) | 可以渲染 <code>useBrick</code> 的 React 组件。 |
|
|
29
30
|
| [BrickWrapper](./brick-kit.brickwrapper.md) | 构件的 React 组件包装器,包含 ErrorBoundary, ConfigProvider, FeatureFlagsProvider。 |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/next-docs",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.425",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/next-docs",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@easyops-cn/brick-next-pipes": "^0.4.0",
|
|
35
|
-
"@next-core/brick-kit": "^2.164.
|
|
35
|
+
"@next-core/brick-kit": "^2.164.2",
|
|
36
36
|
"@next-core/brick-types": "^2.82.3",
|
|
37
37
|
"fs-extra": "^10.1.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "45535149c9831b9a7867c9c785b5b00fbc1d7345"
|
|
40
40
|
}
|