@rspress/plugin-llms 2.0.0-beta.25 → 2.0.0-beta.27

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.
@@ -6,14 +6,14 @@
6
6
  }
7
7
 
8
8
  .llmsCopyButtonContainer-osHvFn {
9
- color: #000000e6;
10
- background: #fff;
11
- border: 1px solid #e5e6eb;
9
+ border: 1px solid var(--rp-c-divider-light);
10
+ background: var(--rp-c-bg);
11
+ height: 40px;
12
+ color: var(--rp-c-text-1);
12
13
  border-radius: 8px;
13
14
  justify-content: center;
14
15
  align-items: center;
15
16
  gap: 8px;
16
- height: 40px;
17
17
  padding: 8px 12px;
18
18
  font-size: 14px;
19
19
  font-style: normal;
@@ -23,14 +23,12 @@
23
23
  }
24
24
 
25
25
  .llmsCopyButtonContainer-osHvFn:hover {
26
- background: #f5f5f5;
27
- border: 1px solid #e5e6eb;
26
+ background: var(--rp-c-bg-mute);
28
27
  }
29
28
 
30
29
  .llmsCopyButtonContainer-osHvFn.loading-p5nEhg {
30
+ background: var(--rp-c-bg-mute);
31
31
  opacity: .5;
32
- background: #f5f5f5;
33
- border: 1px solid #e5e6eb;
34
32
  }
35
33
 
36
34
  .llmsCopyButtonContainer-osHvFn.success-F4Qj8u .iconCopy-g1n4MZ {
@@ -71,14 +69,14 @@
71
69
  }
72
70
 
73
71
  .llmsViewOptionsContainer-EuqmUT {
74
- color: #000000e6;
75
- background: #fff;
76
- border: 1px solid #e5e6eb;
72
+ border: 1px solid var(--rp-c-divider-light);
73
+ background: var(--rp-c-bg);
74
+ height: 40px;
75
+ color: var(--rp-c-text-1);
77
76
  border-radius: 8px;
78
77
  justify-content: center;
79
78
  align-items: center;
80
79
  gap: 8px;
81
- height: 40px;
82
80
  padding: 8px 12px;
83
81
  font-size: 14px;
84
82
  font-style: normal;
@@ -89,7 +87,7 @@
89
87
  }
90
88
 
91
89
  .llmsViewOptionsContainer-EuqmUT:hover, .llmsViewOptionsContainer-EuqmUT.active-SacMuO {
92
- background: #f5f5f5;
90
+ background: var(--rp-c-bg-mute);
93
91
  }
94
92
 
95
93
  .dropdownButton-Mj4g7p {
@@ -107,12 +105,13 @@
107
105
 
108
106
  .dropdownMenu-_ggfjT {
109
107
  z-index: 2;
110
- background: #fff;
111
- border: 1px solid #e5e6eb;
108
+ border: 1px solid var(--rp-c-divider-light);
109
+ background: var(--rp-c-bg);
110
+ width: 250px;
111
+ color: var(--rp-c-text-1);
112
112
  border-radius: 8px;
113
113
  flex-direction: column;
114
114
  align-items: flex-start;
115
- width: 250px;
116
115
  margin-top: 4px;
117
116
  padding: 8px;
118
117
  display: inline-flex;
@@ -137,7 +136,7 @@
137
136
  }
138
137
 
139
138
  .dropdownItem-taWikf:hover {
140
- background: #f5f5f5;
139
+ background: var(--rp-c-bg-mute);
141
140
  }
142
141
 
143
142
  .leftIcon-JI6iFK {
@@ -232,7 +232,7 @@ const LlmsViewOptions = ({ options = [
232
232
  height: "24",
233
233
  children: /*#__PURE__*/ jsxs("g", {
234
234
  fill: "none",
235
- stroke: "black",
235
+ stroke: "currentColor",
236
236
  strokeLinecap: "round",
237
237
  strokeLinejoin: "round",
238
238
  strokeWidth: "2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-llms",
3
- "version": "2.0.0-beta.25",
3
+ "version": "2.0.0-beta.27",
4
4
  "description": "A plugin for rspress to generate llms.txt, llms-full.txt, md files to let llm understand your website.",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -37,21 +37,21 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@microsoft/api-extractor": "^7.52.10",
40
- "@rsbuild/core": "~1.4.13",
41
- "@rsbuild/plugin-react": "~1.3.4",
42
- "@rsbuild/plugin-sass": "~1.3.3",
43
- "@rslib/core": "0.11.1",
40
+ "@rsbuild/core": "~1.4.15",
41
+ "@rsbuild/plugin-react": "~1.3.5",
42
+ "@rsbuild/plugin-sass": "~1.3.5",
43
+ "@rslib/core": "0.11.2",
44
44
  "@types/hast": "^3.0.4",
45
45
  "@types/node": "^22.8.1",
46
46
  "@types/react": "^19.1.9",
47
47
  "react": "^19.1.1",
48
- "rsbuild-plugin-publint": "^0.3.2",
48
+ "rsbuild-plugin-publint": "^0.3.3",
49
49
  "typescript": "^5.8.2",
50
50
  "vfile": "^6.0.3",
51
51
  "@rspress/config": "1.0.0"
52
52
  },
53
53
  "peerDependencies": {
54
- "@rspress/core": "^2.0.0-beta.25"
54
+ "@rspress/core": "^2.0.0-beta.27"
55
55
  },
56
56
  "engines": {
57
57
  "node": ">=18.0.0"