Download packages/cli/src/ui/themes/github-light.ts from Jimmi42/openCLI: direct link, hf CLI and curl.
- Browser
- Download file 3.35 kB
-
https://huggingface.co/Jimmi42/openCLI/resolve/main/packages/cli/src/ui/themes/github-light.ts
- Command line
-
hf download hf://Jimmi42/openCLI/packages/cli/src/ui/themes/github-light.ts
-
curl -L -o github-light.ts https://huggingface.co/Jimmi42/openCLI/resolve/main/packages/cli/src/ui/themes/github-light.ts
3.35 kB
| /** | |
| * @license | |
| * Copyright 2025 Google LLC | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| import { type ColorsTheme, Theme } from './theme.js'; | |
| const githubLightColors: ColorsTheme = { | |
| type: 'light', | |
| Background: '#f8f8f8', | |
| Foreground: '#24292E', | |
| LightBlue: '#0086b3', | |
| AccentBlue: '#458', | |
| AccentPurple: '#900', | |
| AccentCyan: '#009926', | |
| AccentGreen: '#008080', | |
| AccentYellow: '#990073', | |
| AccentRed: '#d14', | |
| Comment: '#998', | |
| Gray: '#999', | |
| GradientColors: ['#458', '#008080'], | |
| }; | |
| export const GitHubLight: Theme = new Theme( | |
| 'GitHub Light', | |
| 'light', | |
| { | |
| hljs: { | |
| display: 'block', | |
| overflowX: 'auto', | |
| padding: '0.5em', | |
| color: githubLightColors.Foreground, | |
| background: githubLightColors.Background, | |
| }, | |
| 'hljs-comment': { | |
| color: githubLightColors.Comment, | |
| fontStyle: 'italic', | |
| }, | |
| 'hljs-quote': { | |
| color: githubLightColors.Comment, | |
| fontStyle: 'italic', | |
| }, | |
| 'hljs-keyword': { | |
| color: githubLightColors.Foreground, | |
| fontWeight: 'bold', | |
| }, | |
| 'hljs-selector-tag': { | |
| color: githubLightColors.Foreground, | |
| fontWeight: 'bold', | |
| }, | |
| 'hljs-subst': { | |
| color: githubLightColors.Foreground, | |
| fontWeight: 'normal', | |
| }, | |
| 'hljs-number': { | |
| color: githubLightColors.AccentGreen, | |
| }, | |
| 'hljs-literal': { | |
| color: githubLightColors.AccentGreen, | |
| }, | |
| 'hljs-variable': { | |
| color: githubLightColors.AccentGreen, | |
| }, | |
| 'hljs-template-variable': { | |
| color: githubLightColors.AccentGreen, | |
| }, | |
| 'hljs-tag .hljs-attr': { | |
| color: githubLightColors.AccentGreen, | |
| }, | |
| 'hljs-string': { | |
| color: githubLightColors.AccentRed, | |
| }, | |
| 'hljs-doctag': { | |
| color: githubLightColors.AccentRed, | |
| }, | |
| 'hljs-title': { | |
| color: githubLightColors.AccentPurple, | |
| fontWeight: 'bold', | |
| }, | |
| 'hljs-section': { | |
| color: githubLightColors.AccentPurple, | |
| fontWeight: 'bold', | |
| }, | |
| 'hljs-selector-id': { | |
| color: githubLightColors.AccentPurple, | |
| fontWeight: 'bold', | |
| }, | |
| 'hljs-type': { | |
| color: githubLightColors.AccentBlue, | |
| fontWeight: 'bold', | |
| }, | |
| 'hljs-class .hljs-title': { | |
| color: githubLightColors.AccentBlue, | |
| fontWeight: 'bold', | |
| }, | |
| 'hljs-tag': { | |
| color: githubLightColors.AccentBlue, | |
| fontWeight: 'normal', | |
| }, | |
| 'hljs-name': { | |
| color: githubLightColors.AccentBlue, | |
| fontWeight: 'normal', | |
| }, | |
| 'hljs-attribute': { | |
| color: githubLightColors.AccentBlue, | |
| fontWeight: 'normal', | |
| }, | |
| 'hljs-regexp': { | |
| color: githubLightColors.AccentCyan, | |
| }, | |
| 'hljs-link': { | |
| color: githubLightColors.AccentCyan, | |
| }, | |
| 'hljs-symbol': { | |
| color: githubLightColors.AccentYellow, | |
| }, | |
| 'hljs-bullet': { | |
| color: githubLightColors.AccentYellow, | |
| }, | |
| 'hljs-built_in': { | |
| color: githubLightColors.LightBlue, | |
| }, | |
| 'hljs-builtin-name': { | |
| color: githubLightColors.LightBlue, | |
| }, | |
| 'hljs-meta': { | |
| color: githubLightColors.Gray, | |
| fontWeight: 'bold', | |
| }, | |
| 'hljs-deletion': { | |
| background: '#fdd', | |
| }, | |
| 'hljs-addition': { | |
| background: '#dfd', | |
| }, | |
| 'hljs-emphasis': { | |
| fontStyle: 'italic', | |
| }, | |
| 'hljs-strong': { | |
| fontWeight: 'bold', | |
| }, | |
| }, | |
| githubLightColors, | |
| ); | |