summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/themes/dracula.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/dracula.ts
parent105c20146c1dca470de56142061aabdee8c101aa (diff)
Make ui/colors refelect the current theme.
Diffstat (limited to 'packages/cli/src/ui/themes/dracula.ts')
-rw-r--r--packages/cli/src/ui/themes/dracula.ts186
1 files changed, 95 insertions, 91 deletions
diff --git a/packages/cli/src/ui/themes/dracula.ts b/packages/cli/src/ui/themes/dracula.ts
index 0b55435a..e8979e70 100644
--- a/packages/cli/src/ui/themes/dracula.ts
+++ b/packages/cli/src/ui/themes/dracula.ts
@@ -4,96 +4,100 @@
* SPDX-License-Identifier: Apache-2.0
*/
-import { Theme } from './theme.js';
+import { darkTheme, Theme } from './theme.js';
-export const Dracula: Theme = new Theme('Dracula', {
- hljs: {
- display: 'block',
- overflowX: 'auto',
- padding: '0.5em',
- background: '#282a36',
- color: '#f8f8f2',
+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',
+ },
},
- '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',
- },
-});
+ darkTheme,
+);