From cbc1614b8441dc3dcf35cf4f2e6b3c3457045fcb Mon Sep 17 00:00:00 2001 From: Miguel Solorio Date: Sat, 31 May 2025 11:10:52 -0700 Subject: Update default & ANSI theme names (#637) --- packages/cli/src/ui/themes/default-light.ts | 106 ++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 packages/cli/src/ui/themes/default-light.ts (limited to 'packages/cli/src/ui/themes/default-light.ts') diff --git a/packages/cli/src/ui/themes/default-light.ts b/packages/cli/src/ui/themes/default-light.ts new file mode 100644 index 00000000..b86af6f3 --- /dev/null +++ b/packages/cli/src/ui/themes/default-light.ts @@ -0,0 +1,106 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +import { lightTheme, Theme } from './theme.js'; + +export const DefaultLight: Theme = new Theme( + 'Default Light', + 'light', + { + hljs: { + display: 'block', + overflowX: 'auto', + padding: '0.5em', + background: 'white', + color: 'black', + }, + 'hljs-comment': { + color: '#008000', + }, + 'hljs-quote': { + color: '#008000', + }, + 'hljs-variable': { + color: '#008000', + }, + 'hljs-keyword': { + color: '#00f', + }, + 'hljs-selector-tag': { + color: '#00f', + }, + 'hljs-built_in': { + color: '#00f', + }, + 'hljs-name': { + color: '#00f', + }, + 'hljs-tag': { + color: '#00f', + }, + 'hljs-string': { + color: '#a31515', + }, + 'hljs-title': { + color: '#a31515', + }, + 'hljs-section': { + color: '#a31515', + }, + 'hljs-attribute': { + color: '#a31515', + }, + 'hljs-literal': { + color: '#a31515', + }, + 'hljs-template-tag': { + color: '#a31515', + }, + 'hljs-template-variable': { + color: '#a31515', + }, + 'hljs-type': { + color: '#a31515', + }, + 'hljs-addition': { + color: '#a31515', + }, + 'hljs-deletion': { + color: '#2b91af', + }, + 'hljs-selector-attr': { + color: '#2b91af', + }, + 'hljs-selector-pseudo': { + color: '#2b91af', + }, + 'hljs-meta': { + color: '#2b91af', + }, + 'hljs-doctag': { + color: '#808080', + }, + 'hljs-attr': { + color: '#f00', + }, + 'hljs-symbol': { + color: '#00b0e8', + }, + 'hljs-bullet': { + color: '#00b0e8', + }, + 'hljs-link': { + color: '#00b0e8', + }, + 'hljs-emphasis': { + fontStyle: 'italic', + }, + 'hljs-strong': { + fontWeight: 'bold', + }, + }, + lightTheme, +); -- cgit v1.2.3