File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,12 @@ npm install @catppuccin/palette
21
21
```
22
22
23
23
``` ts
24
- import { flavors , flavorEntries } from " @catppuccin/palette" ;
24
+ import { flavors , flavorEntries , version } from " @catppuccin/palette" ;
25
25
import chalk from " chalk" ;
26
26
27
+ // a string containing the version of the library
28
+ console .log (version )
29
+
27
30
// an object containing all catppuccin flavors
28
31
console .log (flavors );
29
32
@@ -49,9 +52,12 @@ flavorEntries.map(([_, flavor]) => {
49
52
The library is available through [ JSR] ( https://jsr.io/@catppuccin/palette ) and [ ` deno.land/x/catppuccin ` ] ( https://deno.land/x/catppuccin ) :
50
53
51
54
``` ts
52
- import { flavors , flavorEntries } from " https://deno.land/x/catppuccin/mod.ts" ;
55
+ import { flavors , flavorEntries , version } from " https://deno.land/x/catppuccin/mod.ts" ;
53
56
import { bgRgb24 } from " https://deno.land/std/fmt/colors.ts" ;
54
57
58
+ // a string containing the version of the library
59
+ console .log (version )
60
+
55
61
// an object containing all catppuccin flavors
56
62
console .log (flavors );
57
63
You can’t perform that action at this time.
0 commit comments