Skip to content

Commit e11c350

Browse files
committed
Prep for patch
1 parent cb8e38b commit e11c350

File tree

3 files changed

+109
-131
lines changed

3 files changed

+109
-131
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ If you're using this in a Svelte app:
3434
For other applications with a bundler:
3535

3636
```js
37-
import { JsonView } from '@zerodevx/svelte-json-view'
37+
// Import the compiled code from `/dist`
38+
import { JsonView } from '@zerodevx/svelte-json-view/dist'
3839

3940
const app = new JsonView({
4041
target: document.body // node to render into
@@ -77,9 +78,9 @@ In general, use CSS variables.
7778
| ---------------------------- | ------------ | --------------------------------------------- |
7879
| --jsonPaddingLeft | 1rem | Amount of left padding to apply at each depth |
7980
| --jsonBorderLeft | 1px dotted | Style applied to left border for each depth |
80-
| --jsonBracketColor | currentcolor | Color for brackets ('[', '{', '}', ']') |
81+
| --jsonBracketColor | currentcolor | Color for brackets `[`, `{`, `}` and `]` |
8182
| --jsonBracketHoverBackground | #e5e7eb | Hover background for brackets |
82-
| --jsonSeparatorColor | currentcolor | Color for separators (colons and commas) |
83+
| --jsonSeparatorColor | currentcolor | Color for separators `:` and `,` |
8384
| --jsonKeyColor | currentcolor | Color for keys |
8485
| --jsonValColor | #9ca3af | Default color for values |
8586
| --jsonValStringColor | #059669 | Color for `string` values |

0 commit comments

Comments
 (0)