mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 18:44:30 -07:00
Make ui/colors refelect the current theme.
This commit is contained in:
committed by
N. Taylor Mullen
parent
105c20146c
commit
cf89c030d0
@@ -4,98 +4,102 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
import { Theme } from './theme.js';
|
||||
import { lightTheme, Theme } from './theme.js';
|
||||
|
||||
export const VS: Theme = new Theme('VS', {
|
||||
hljs: {
|
||||
display: 'block',
|
||||
overflowX: 'auto',
|
||||
padding: '0.5em',
|
||||
background: 'white',
|
||||
color: 'black',
|
||||
export const VS: Theme = new Theme(
|
||||
'VS',
|
||||
{
|
||||
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',
|
||||
},
|
||||
},
|
||||
'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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user