@smoothstream/vue 0.1.2 → 0.1.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/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Deterministic, paced streaming Markdown for Vue 3 and Nuxt.
4
4
 
5
+ [Documentation](https://smoothstream.ai/docs/adapters/vue)
6
+
5
7
  ```sh
6
8
  npm install @smoothstream/vue vue
7
9
  ```
package/dist/base.css CHANGED
@@ -154,13 +154,6 @@ pre[data-smoothstream-code-block] {
154
154
  var(--smoothstream-code-default-background, transparent)
155
155
  )
156
156
  );
157
- color: var(
158
- --smoothstream-code-color,
159
- var(
160
- --smoothstream-shiki-color,
161
- var(--smoothstream-code-default-color, inherit)
162
- )
163
- );
164
157
  font-family: inherit;
165
158
  font-size: inherit;
166
159
  }
@@ -217,6 +210,13 @@ pre[data-smoothstream-code-block] > code {
217
210
  display: block;
218
211
  max-width: 100%;
219
212
  overflow-x: auto;
213
+ color: var(
214
+ --smoothstream-code-color,
215
+ var(
216
+ --smoothstream-shiki-color,
217
+ var(--smoothstream-code-default-color, inherit)
218
+ )
219
+ );
220
220
  }
221
221
 
222
222
  /*
package/dist/styles.css CHANGED
@@ -421,10 +421,6 @@
421
421
  var(--smoothstream-code-default-background)
422
422
  )
423
423
  );
424
- color: var(
425
- --smoothstream-code-color,
426
- var(--smoothstream-shiki-color, var(--smoothstream-code-default-color))
427
- );
428
424
  scrollbar-color: var(
429
425
  --smoothstream-code-scrollbar-color,
430
426
  color-mix(in srgb, currentColor 24%, transparent)
@@ -462,7 +458,10 @@
462
458
  padding: 0;
463
459
  border: 0;
464
460
  background: transparent;
465
- color: inherit;
461
+ color: var(
462
+ --smoothstream-code-color,
463
+ var(--smoothstream-shiki-color, var(--smoothstream-code-default-color))
464
+ );
466
465
  font-size: var(--smoothstream-code-font-size);
467
466
  font-weight: inherit;
468
467
  line-height: 1.7;
package/package.json CHANGED
@@ -1,7 +1,16 @@
1
1
  {
2
2
  "name": "@smoothstream/vue",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Deterministic, paced Markdown reveal for Vue 3",
5
+ "homepage": "https://smoothstream.ai",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/stefan-joseph/smoothstream.git",
9
+ "directory": "packages/vue"
10
+ },
11
+ "bugs": {
12
+ "url": "https://github.com/stefan-joseph/smoothstream/issues"
13
+ },
5
14
  "license": "MIT",
6
15
  "keywords": [
7
16
  "vue",
@@ -41,14 +50,5 @@
41
50
  "@smoothstream/core": "^0.1.3",
42
51
  "@smoothstream/styles": "^0.1.4",
43
52
  "property-information": "^7.2.0"
44
- },
45
- "repository": {
46
- "type": "git",
47
- "url": "git+https://github.com/stefan-joseph/smoothstream.git",
48
- "directory": "packages/vue"
49
- },
50
- "homepage": "https://github.com/stefan-joseph/smoothstream/tree/main/packages/vue",
51
- "bugs": {
52
- "url": "https://github.com/stefan-joseph/smoothstream/issues"
53
53
  }
54
54
  }