|
53 | 53 |
|
54 | 54 | const vimSnippet = highlight( |
55 | 55 | `color_overrides = { |
56 | | - all = { |
57 | | - ${Object.entries($colors$) |
58 | | - .map(([color, value]) => ` ${color} = "${formatHex(value)}",`) |
59 | | - .join("\n")} |
60 | | - }, |
61 | | - },`, |
| 56 | + all = { |
| 57 | +${Object.entries($colors$) |
| 58 | + .map(([color, value]) => ` ${color} = "${formatHex(value)}",`) |
| 59 | + .join("\n")} |
| 60 | + }, |
| 61 | +},`, |
62 | 62 | "lua" |
63 | 63 | ) |
64 | 64 |
|
|
71 | 71 |
|
72 | 72 | const base16Snippet = highlight( |
73 | 73 | `base00: "${formatHex($colors$.base)}" # base |
74 | | - base01: "${formatHex($colors$.mantle)}" # mantle |
75 | | - base02: "${formatHex($colors$.surface0)}" # surface0 |
76 | | - base03: "${formatHex($colors$.surface1)}" # surface1 |
77 | | - base04: "${formatHex($colors$.surface2)}" # surface2 |
78 | | - base05: "${formatHex($colors$.text)}" # text |
79 | | - base06: "${formatHex($colors$.rosewater)}" # rosewater |
80 | | - base07: "${formatHex($colors$.lavender)}" # lavender |
81 | | - base08: "${formatHex($colors$.red)}" # red |
82 | | - base09: "${formatHex($colors$.peach)}" # peach |
83 | | - base0A: "${formatHex($colors$.yellow)}" # yellow |
84 | | - base0B: "${formatHex($colors$.green)}" # green |
85 | | - base0C: "${formatHex($colors$.teal)}" # teal |
86 | | - base0D: "${formatHex($colors$.blue)}" # blue |
87 | | - base0E: "${formatHex($colors$.mauve)}" # mauve |
88 | | - base0F: "${formatHex($colors$.flamingo)}" # flamingo`, |
| 74 | +base01: "${formatHex($colors$.mantle)}" # mantle |
| 75 | +base02: "${formatHex($colors$.surface0)}" # surface0 |
| 76 | +base03: "${formatHex($colors$.surface1)}" # surface1 |
| 77 | +base04: "${formatHex($colors$.surface2)}" # surface2 |
| 78 | +base05: "${formatHex($colors$.text)}" # text |
| 79 | +base06: "${formatHex($colors$.rosewater)}" # rosewater |
| 80 | +base07: "${formatHex($colors$.lavender)}" # lavender |
| 81 | +base08: "${formatHex($colors$.red)}" # red |
| 82 | +base09: "${formatHex($colors$.peach)}" # peach |
| 83 | +base0A: "${formatHex($colors$.yellow)}" # yellow |
| 84 | +base0B: "${formatHex($colors$.green)}" # green |
| 85 | +base0C: "${formatHex($colors$.teal)}" # teal |
| 86 | +base0D: "${formatHex($colors$.blue)}" # blue |
| 87 | +base0E: "${formatHex($colors$.mauve)}" # mauve |
| 88 | +base0F: "${formatHex($colors$.flamingo)}" # flamingo`, |
89 | 89 | "bash" |
90 | 90 | ) |
91 | 91 | </script> |
|
0 commit comments