summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/themes/dracula.ts
blob: 0b55435a85d3748c4f950ed23534b1884cd55f9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */

import { Theme } from './theme.js';

export const Dracula: Theme = new Theme('Dracula', {
  hljs: {
    display: 'block',
    overflowX: 'auto',
    padding: '0.5em',
    background: '#282a36',
    color: '#f8f8f2',
  },
  'hljs-keyword': {
    color: '#8be9fd',
    fontWeight: 'bold',
  },
  'hljs-selector-tag': {
    color: '#8be9fd',
    fontWeight: 'bold',
  },
  'hljs-literal': {
    color: '#8be9fd',
    fontWeight: 'bold',
  },
  'hljs-section': {
    color: '#8be9fd',
    fontWeight: 'bold',
  },
  'hljs-link': {
    color: '#8be9fd',
  },
  'hljs-function .hljs-keyword': {
    color: '#ff79c6',
  },
  'hljs-subst': {
    color: '#f8f8f2',
  },
  'hljs-string': {
    color: '#f1fa8c',
  },
  'hljs-title': {
    color: '#f1fa8c',
    fontWeight: 'bold',
  },
  'hljs-name': {
    color: '#f1fa8c',
    fontWeight: 'bold',
  },
  'hljs-type': {
    color: '#f1fa8c',
    fontWeight: 'bold',
  },
  'hljs-attribute': {
    color: '#f1fa8c',
  },
  'hljs-symbol': {
    color: '#f1fa8c',
  },
  'hljs-bullet': {
    color: '#f1fa8c',
  },
  'hljs-addition': {
    color: '#f1fa8c',
  },
  'hljs-variable': {
    color: '#f1fa8c',
  },
  'hljs-template-tag': {
    color: '#f1fa8c',
  },
  'hljs-template-variable': {
    color: '#f1fa8c',
  },
  'hljs-comment': {
    color: '#6272a4',
  },
  'hljs-quote': {
    color: '#6272a4',
  },
  'hljs-deletion': {
    color: '#6272a4',
  },
  'hljs-meta': {
    color: '#6272a4',
  },
  'hljs-doctag': {
    fontWeight: 'bold',
  },
  'hljs-strong': {
    fontWeight: 'bold',
  },
  'hljs-emphasis': {
    fontStyle: 'italic',
  },
});