diff --git a/package-lock.json b/package-lock.json index dd64271..d4943f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "easy-code-formatter-styles", - "version": "1.2.11", + "version": "1.2.12", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "easy-code-formatter-styles", - "version": "1.2.11", + "version": "1.2.12", "license": "ISC", "devDependencies": { "@types/jest": "^29.5.2", diff --git a/package.json b/package.json index 5a232c9..cb36c83 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/themes/ChatGPTStyleDark.ts b/src/themes/ChatGPTDark.ts similarity index 91% rename from src/themes/ChatGPTStyleDark.ts rename to src/themes/ChatGPTDark.ts index 2bd342c..7c421d8 100644 --- a/src/themes/ChatGPTStyleDark.ts +++ b/src/themes/ChatGPTDark.ts @@ -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: { @@ -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: { diff --git a/src/themes/index.ts b/src/themes/index.ts index faa6419..8424c35 100644 --- a/src/themes/index.ts +++ b/src/themes/index.ts @@ -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 }; @@ -41,7 +42,8 @@ export const Themes: ThemeDictionary = { A11YLight, AtelierCaveLight, AtelierCaveDark, - BlueHintGray + BlueHintGray, + ChatGPTDark } export function GetLineNumberStyle(theme: string) {