Total Complexity | 0 |
Complexity/F | 0 |
Lines of Code | 38 |
Function Count | 0 |
Duplicated Lines | 0 |
Ratio | 0 % |
Coverage | 100% |
Changes | 0 |
1 | /** |
||
2 | * Supported environment when parsing code string. Every environment contains its specific colors for some specific code word (like `import`) |
||
3 | * |
||
4 | * @author Cataldo Cianciaruso <https://github.com/CianciarusoCataldo> |
||
5 | * |
||
6 | * @copyright 2022 Cataldo Cianciaruso |
||
7 | */ |
||
8 | 1 | export const CODE_LANGUAGES = { |
|
9 | common: { |
||
10 | DEFAULT_VALUE: "#FFFFF", |
||
11 | STRING: "#f6713c", |
||
12 | }, |
||
13 | javascript: { |
||
14 | import: "#d81313", |
||
15 | from: "#d81313", |
||
16 | if: "#d81313", |
||
17 | else: "#d81313", |
||
18 | try: "#d81313", |
||
19 | catch: "#d81313", |
||
20 | while: "#d81313", |
||
21 | export: "#d81313", |
||
22 | default: "#3b82f6", |
||
23 | const: "#2432f5", |
||
24 | COMPONENT_DECLARATION: "#3b82f6", |
||
25 | }, |
||
26 | python: { |
||
27 | pip: "#5b9306", |
||
28 | }, |
||
29 | terminal: { |
||
30 | sh: "#5b9306", |
||
31 | npm: "#5b9306", |
||
32 | node: "#5b9306", |
||
33 | git: "#5b9306", |
||
34 | "gh-pages": "#5b9306", |
||
35 | docker: "#5b9306", |
||
36 | }, |
||
37 | }; |
||
38 |