summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/themes/vs2015.ts
diff options
context:
space:
mode:
authorjacob314 <[email protected]>2025-04-23 17:37:09 -0700
committerN. Taylor Mullen <[email protected]>2025-04-23 18:08:22 -0700
commitcf89c030d09af1e65d4094978dc82a995a2f8fa8 (patch)
tree590c59cc80c477bee0ecff6214b1e033791a9007 /packages/cli/src/ui/themes/vs2015.ts
parent105c20146c1dca470de56142061aabdee8c101aa (diff)
Make ui/colors refelect the current theme.
Diffstat (limited to 'packages/cli/src/ui/themes/vs2015.ts')
-rw-r--r--packages/cli/src/ui/themes/vs2015.ts276
1 files changed, 140 insertions, 136 deletions
diff --git a/packages/cli/src/ui/themes/vs2015.ts b/packages/cli/src/ui/themes/vs2015.ts
index fa4ec1ee..93f00ec8 100644
--- a/packages/cli/src/ui/themes/vs2015.ts
+++ b/packages/cli/src/ui/themes/vs2015.ts
@@ -4,141 +4,145 @@
* SPDX-License-Identifier: Apache-2.0
*/
-import { Theme } from './theme.js';
+import { darkTheme, Theme } from './theme.js';
-export const VS2015: Theme = new Theme('VS2015', {
- hljs: {
- display: 'block',
- overflowX: 'auto',
- padding: '0.5em',
- background: '#1E1E1E',
- color: '#DCDCDC',
+export const VS2015: Theme = new Theme(
+ 'VS2015',
+ {
+ hljs: {
+ display: 'block',
+ overflowX: 'auto',
+ padding: '0.5em',
+ background: '#1E1E1E',
+ color: '#DCDCDC',
+ },
+ 'hljs-keyword': {
+ color: '#569CD6',
+ },
+ 'hljs-literal': {
+ color: '#569CD6',
+ },
+ 'hljs-symbol': {
+ color: '#569CD6',
+ },
+ 'hljs-name': {
+ color: '#569CD6',
+ },
+ 'hljs-link': {
+ color: '#569CD6',
+ textDecoration: 'underline',
+ },
+ 'hljs-built_in': {
+ color: '#4EC9B0',
+ },
+ 'hljs-type': {
+ color: '#4EC9B0',
+ },
+ 'hljs-number': {
+ color: '#B8D7A3',
+ },
+ 'hljs-class': {
+ color: '#B8D7A3',
+ },
+ 'hljs-string': {
+ color: '#D69D85',
+ },
+ 'hljs-meta-string': {
+ color: '#D69D85',
+ },
+ 'hljs-regexp': {
+ color: '#9A5334',
+ },
+ 'hljs-template-tag': {
+ color: '#9A5334',
+ },
+ 'hljs-subst': {
+ color: '#DCDCDC',
+ },
+ 'hljs-function': {
+ color: '#DCDCDC',
+ },
+ 'hljs-title': {
+ color: '#DCDCDC',
+ },
+ 'hljs-params': {
+ color: '#DCDCDC',
+ },
+ 'hljs-formula': {
+ color: '#DCDCDC',
+ },
+ 'hljs-comment': {
+ color: '#57A64A',
+ fontStyle: 'italic',
+ },
+ 'hljs-quote': {
+ color: '#57A64A',
+ fontStyle: 'italic',
+ },
+ 'hljs-doctag': {
+ color: '#608B4E',
+ },
+ 'hljs-meta': {
+ color: '#9B9B9B',
+ },
+ 'hljs-meta-keyword': {
+ color: '#9B9B9B',
+ },
+ 'hljs-tag': {
+ color: '#9B9B9B',
+ },
+ 'hljs-variable': {
+ color: '#BD63C5',
+ },
+ 'hljs-template-variable': {
+ color: '#BD63C5',
+ },
+ 'hljs-attr': {
+ color: '#9CDCFE',
+ },
+ 'hljs-attribute': {
+ color: '#9CDCFE',
+ },
+ 'hljs-builtin-name': {
+ color: '#9CDCFE',
+ },
+ 'hljs-section': {
+ color: 'gold',
+ },
+ 'hljs-emphasis': {
+ fontStyle: 'italic',
+ },
+ 'hljs-strong': {
+ fontWeight: 'bold',
+ },
+ 'hljs-bullet': {
+ color: '#D7BA7D',
+ },
+ 'hljs-selector-tag': {
+ color: '#D7BA7D',
+ },
+ 'hljs-selector-id': {
+ color: '#D7BA7D',
+ },
+ 'hljs-selector-class': {
+ color: '#D7BA7D',
+ },
+ 'hljs-selector-attr': {
+ color: '#D7BA7D',
+ },
+ 'hljs-selector-pseudo': {
+ color: '#D7BA7D',
+ },
+ 'hljs-addition': {
+ backgroundColor: '#144212',
+ display: 'inline-block',
+ width: '100%',
+ },
+ 'hljs-deletion': {
+ backgroundColor: '#600',
+ display: 'inline-block',
+ width: '100%',
+ },
},
- 'hljs-keyword': {
- color: '#569CD6',
- },
- 'hljs-literal': {
- color: '#569CD6',
- },
- 'hljs-symbol': {
- color: '#569CD6',
- },
- 'hljs-name': {
- color: '#569CD6',
- },
- 'hljs-link': {
- color: '#569CD6',
- textDecoration: 'underline',
- },
- 'hljs-built_in': {
- color: '#4EC9B0',
- },
- 'hljs-type': {
- color: '#4EC9B0',
- },
- 'hljs-number': {
- color: '#B8D7A3',
- },
- 'hljs-class': {
- color: '#B8D7A3',
- },
- 'hljs-string': {
- color: '#D69D85',
- },
- 'hljs-meta-string': {
- color: '#D69D85',
- },
- 'hljs-regexp': {
- color: '#9A5334',
- },
- 'hljs-template-tag': {
- color: '#9A5334',
- },
- 'hljs-subst': {
- color: '#DCDCDC',
- },
- 'hljs-function': {
- color: '#DCDCDC',
- },
- 'hljs-title': {
- color: '#DCDCDC',
- },
- 'hljs-params': {
- color: '#DCDCDC',
- },
- 'hljs-formula': {
- color: '#DCDCDC',
- },
- 'hljs-comment': {
- color: '#57A64A',
- fontStyle: 'italic',
- },
- 'hljs-quote': {
- color: '#57A64A',
- fontStyle: 'italic',
- },
- 'hljs-doctag': {
- color: '#608B4E',
- },
- 'hljs-meta': {
- color: '#9B9B9B',
- },
- 'hljs-meta-keyword': {
- color: '#9B9B9B',
- },
- 'hljs-tag': {
- color: '#9B9B9B',
- },
- 'hljs-variable': {
- color: '#BD63C5',
- },
- 'hljs-template-variable': {
- color: '#BD63C5',
- },
- 'hljs-attr': {
- color: '#9CDCFE',
- },
- 'hljs-attribute': {
- color: '#9CDCFE',
- },
- 'hljs-builtin-name': {
- color: '#9CDCFE',
- },
- 'hljs-section': {
- color: 'gold',
- },
- 'hljs-emphasis': {
- fontStyle: 'italic',
- },
- 'hljs-strong': {
- fontWeight: 'bold',
- },
- 'hljs-bullet': {
- color: '#D7BA7D',
- },
- 'hljs-selector-tag': {
- color: '#D7BA7D',
- },
- 'hljs-selector-id': {
- color: '#D7BA7D',
- },
- 'hljs-selector-class': {
- color: '#D7BA7D',
- },
- 'hljs-selector-attr': {
- color: '#D7BA7D',
- },
- 'hljs-selector-pseudo': {
- color: '#D7BA7D',
- },
- 'hljs-addition': {
- backgroundColor: '#144212',
- display: 'inline-block',
- width: '100%',
- },
- 'hljs-deletion': {
- backgroundColor: '#600',
- display: 'inline-block',
- width: '100%',
- },
-});
+ darkTheme,
+);