@rspress-theme-anatole/plugin-container-syntax 0.0.2 → 0.0.3

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/container.css CHANGED
@@ -129,6 +129,28 @@
129
129
  color: var(--rp-container-tip-text);
130
130
  }
131
131
 
132
+
133
+
134
+
135
+ .rspress-doc .rspress-directive.tabs {
136
+ border-color: var(--rp-container-tip-border);
137
+ background-color: var(--rp-container-tip-bg);
138
+ }
139
+
140
+ .rspress-doc .rspress-directive.tabs .rspress-directive-title {
141
+ color: var(--rp-container-tip-text);
142
+ }
143
+
144
+ .rspress-doc .rspress-directive.tabs code {
145
+ color: var(--rp-container-tip-text);
146
+ background-color: var(--rp-container-tip-code-bg);
147
+ }
148
+
149
+ .rspress-doc .rspress-directive.tabs a {
150
+ color: var(--rp-container-tip-text);
151
+ }
152
+
153
+
132
154
  .rspress-doc .rspress-directive.info {
133
155
  border-color: var(--rp-container-info-border);
134
156
  background-color: var(--rp-container-info-bg);
@@ -203,4 +225,4 @@
203
225
 
204
226
  .rspress-doc .rspress-directive.details a {
205
227
  color: var(--rp-container-details-link);
206
- }
228
+ }
package/dist/index.js CHANGED
@@ -2,13 +2,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
2
2
  import * as __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__ from "node:url";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE__rspress_shared_baa012d0__ from "@rspress-theme-anatole/shared";
4
4
  const DIRECTIVE_TYPES = [
5
- 'tip',
6
- 'note',
7
- 'warning',
8
- 'caution',
9
- 'danger',
10
- 'info',
11
- 'details'
5
+ 'tabs'
12
6
  ];
13
7
  const REGEX_BEGIN = /^\s*:::\s*(\w+)\s*(.*)?/;
14
8
  const REGEX_END = /\s*:::$/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress-theme-anatole/plugin-container-syntax",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "license": "MIT",
5
5
  "sideEffects": [
6
6
  "*.css",