Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "easy-code-formatter-styles",
"version": "1.2.10",
"version": "1.2.12",
"description": "a package which contains the styling details for easy code formatter office app.",
"main": "dist/index.js",
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions src/themes/ChatGPTStyleDark.ts → src/themes/ChatGPTDark.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { ITheme } from "./ITheme";

/** Added White text due to dark background */
export const ChatGPTStyleDark: ITheme = {
export const ChatGPTDark: ITheme = {
/** Display name */
DisplayName: 'ChatGPT Style Dark',
DisplayName: 'ChatGPT Dark',
/** Code styles */
CodeStyles: {
Keyword: {
Expand Down Expand Up @@ -49,7 +49,7 @@ export const ChatGPTStyleDark: ITheme = {
},
// Background color
BackgroundStyle: {
BackgroundColor: '2D2E41' // Dark background (near black)
BackgroundColor: '2d2e41' // Dark background (near black)
},
// Line number background colors
LineNumberStyle: {
Expand Down
4 changes: 3 additions & 1 deletion src/themes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { A11YLight } from './A11YLight';
import { AtelierCaveLight } from './AtelierCaveLight';
import { AtelierCaveDark } from './AtelierCaveDark';
import { BlueHintGray } from './BlueHintGray';
import { ChatGPTDark } from './ChatGPTDark';

type ThemeDictionary = { [key: string]: ITheme };

Expand Down Expand Up @@ -41,7 +42,8 @@ export const Themes: ThemeDictionary = {
A11YLight,
AtelierCaveLight,
AtelierCaveDark,
BlueHintGray
BlueHintGray,
ChatGPTDark
}

export function GetLineNumberStyle(theme: string) {
Expand Down