2026-07-23 00:35:13 +05:30

113 lines
3.8 KiB
Markdown

# candy_json
A json-focused `bat` theme with json logs and other json files in mind.
### Global
| Setting | Color | Note |
| ------------ | --------- | ------------------------------- |
| Background | | Omitted to use terminal default |
| Foreground | `#BBBBBB` | High readability |
| Selection | `#343942` | Visible without overwhelming |
| Current line | `#24272B` | Subtle |
| Invisibles | `#4B5057` | Low contrast |
| Guides | `#31353A` | Structural only |
### Basic
| No. | Rule | Color | Style |
| --- | ---------------- | ---------------------- | -------- |
| 1. | JSON Keys | **`#6FCFFF`** | **bold** |
| 2. | String Values | `#FFD866` | normal |
| 3. | Generic Strings | `#FFD866` | normal |
| 4. | String Quotes | `#8A8F98` | normal |
| 5. | Escape Sequences | `#FF9E64` | bold |
| 6. | Invalid Escapes | `#FFFFFF` on `#D7263D` | bold |
| 7. | Unclosed Strings | `#FFFFFF` on `#D7263D` | bold |
### Numbers
| No. | Rule | Color | Style |
| --- | -------------- | --------- | ------ |
| 8. | Integer | `#C792EA` | normal |
| 9. | Float | `#C792EA` | normal |
| 10. | Numeric Digits | `#C792EA` | normal |
| 11. | Decimal Point | `#D7B8F3` | normal |
| 12. | Minus Sign | `#D08AE8` | bold |
### Literals
| No. | Rule | Color | Style |
| --- | ----- | --------- | ------ |
| 13. | true | `#A9DC76` | bold |
| 14. | false | `#A9DC76` | bold |
| 15. | null | `#FF6188` | italic |
### Structure
| No. | Rule | Color | Style |
| --- | -------------- | --------- | ----------- |
| 16. | Object Scope | *(none)* | *(inherit)* |
| 17. | Object Braces | `#7E848D` | normal |
| 18. | Array Scope | *(none)* | *(inherit)* |
| 19. | Array Brackets | `#7E848D` | normal |
| 20. | Colon | `#BFC5CE` | normal |
| 21. | Comma | `#666C75` | normal |
### Comments
| No. | Rule | Color | Style |
| --- | ------------------ | --------- | ------ |
| 22. | Line Comment | `#6C7A89` | italic |
| 23. | Block Comment | `#6C7A89` | italic |
| 24. | Documentation | `#8C9AA7` | italic |
| 25. | Empty Block | `#8C9AA7` | italic |
| 26. | Comment Delimiters | `#59636D` | normal |
### Invalid JSON
| No. | Rule | Color | Style |
| --- | --------------------------- | ---------------------- | ----- |
| 27. | Expected Key | `#FFFFFF` on `#D7263D` | bold |
| 28. | Expected Value | `#FFFFFF` on `#D7263D` | bold |
| 29. | Expected Separator | `#FFFFFF` on `#D7263D` | bold |
| 30. | Expected Sequence Separator | `#FFFFFF` on `#D7263D` | bold |
### Merge Conflicts
| No. | Rule | Color | Style |
| --- | ------------------ | --------- | ----- |
| 31. | Conflict Begin | `#FF6188` | bold |
| 32. | Conflict Separator | `#FFD866` | bold |
| 33. | Conflict End | `#A9DC76` | bold |
| 34. | Branch Name | `#78DCE8` | bold |
---
### Palette Summary
| Purpose | Color |
| -------- | ---------------------- |
| Keys | `#6FCFFF` |
| Strings | `#FFD866` |
| Numbers | `#C792EA` |
| Booleans | `#A9DC76` |
| Null | `#FF6188` |
| Escapes | `#FF9E64` |
| Quotes | `#8A8F98` |
| Braces | `#7E848D` |
| Colon | `#BFC5CE` |
| Comma | `#666C75` |
| Comments | `#6C7A89` |
| Errors | `#FFFFFF` on `#D7263D` |