summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/themes/googlecode.ts
blob: ff01d8b646604653ab12278c679e779c33d8e585 (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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */

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

export const GoogleCode: Theme = new Theme('Google Code', {
  hljs: {
    display: 'block',
    overflowX: 'auto',
    padding: '0.5em',
    background: 'white',
    color: 'black',
  },
  'hljs-comment': {
    color: '#800',
  },
  'hljs-quote': {
    color: '#800',
  },
  'hljs-keyword': {
    color: '#008',
  },
  'hljs-selector-tag': {
    color: '#008',
  },
  'hljs-section': {
    color: '#008',
  },
  'hljs-title': {
    color: '#606',
  },
  'hljs-name': {
    color: '#008',
  },
  'hljs-variable': {
    color: '#660',
  },
  'hljs-template-variable': {
    color: '#660',
  },
  'hljs-string': {
    color: '#080',
  },
  'hljs-selector-attr': {
    color: '#080',
  },
  'hljs-selector-pseudo': {
    color: '#080',
  },
  'hljs-regexp': {
    color: '#080',
  },
  'hljs-literal': {
    color: '#066',
  },
  'hljs-symbol': {
    color: '#066',
  },
  'hljs-bullet': {
    color: '#066',
  },
  'hljs-meta': {
    color: '#066',
  },
  'hljs-number': {
    color: '#066',
  },
  'hljs-link': {
    color: '#066',
  },
  'hljs-doctag': {
    color: '#606',
    fontWeight: 'bold',
  },
  'hljs-type': {
    color: '#606',
  },
  'hljs-attr': {
    color: '#606',
  },
  'hljs-built_in': {
    color: '#606',
  },
  'hljs-builtin-name': {
    color: '#606',
  },
  'hljs-params': {
    color: '#606',
  },
  'hljs-attribute': {
    color: '#000',
  },
  'hljs-subst': {
    color: '#000',
  },
  'hljs-formula': {
    backgroundColor: '#eee',
    fontStyle: 'italic',
  },
  'hljs-selector-id': {
    color: '#9B703F',
  },
  'hljs-selector-class': {
    color: '#9B703F',
  },
  'hljs-addition': {
    backgroundColor: '#baeeba',
  },
  'hljs-deletion': {
    backgroundColor: '#ffc8bd',
  },
  'hljs-strong': {
    fontWeight: 'bold',
  },
  'hljs-emphasis': {
    fontStyle: 'italic',
  },
});