diff --git a/package.json b/package.json index 7ec051f..d86fafa 100644 --- a/package.json +++ b/package.json @@ -25,17 +25,17 @@ } }, "devDependencies": { - "@babel/core": "7.4.5", - "@babel/preset-env": "7.4.5", - "@commitlint/cli": "^8.3.5", - "@commitlint/config-conventional": "^8.3.4", - "@typescript-eslint/eslint-plugin": "2.15.0", - "@typescript-eslint/parser": "2.15.0", - "babel-eslint": "^10.0.3", - "conventional-changelog-cli": "^2.0.11", - "eslint": "6.8.0", - "husky": "^4.2.1", - "prettier": "^1.18.2", - "typescript": "^3.7.2" + "@babel/core": "7.12.10", + "@babel/preset-env": "7.12.11", + "@commitlint/cli": "11.0.0", + "@commitlint/config-conventional": "^11.0.0", + "@typescript-eslint/eslint-plugin": "4.13.0", + "@typescript-eslint/parser": "4.13.0", + "babel-eslint": "^10.1.0", + "conventional-changelog-cli": "^2.1.1", + "eslint": "7.17.0", + "husky": "^4.3.7", + "prettier": "^2.2.1", + "typescript": "^4.1.3" } } diff --git a/src/index.ts b/src/index.ts index e4b5f39..fcfcae3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,4 @@ -export { light } from "./variations/light" -export { dark } from "./variations/dark" +export { lighter } from "./variations/lighter" +export { darker } from "./variations/darker" +export { palenight } from "./variations/palenight" export { IColors } from './interfaces' diff --git a/src/interfaces.ts b/src/interfaces.ts index 5c505ad..65880cd 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -1,9 +1,5 @@ -export interface IColors { - accent: string; - cursor: string; - foreground: string; - background: string; - comments: string; +export interface IColorsBase { + black: string; blue: string; brown: string; cyan: string; @@ -12,10 +8,21 @@ export interface IColors { pink: string; purple: string; red: string; + violet: string; + white: string; yellow: string; +} + +export interface IColors { + accent: string; + cursor: string; + foreground: string; + background: string; + comments: string; invalid: string; deprecated: string; diffAdded: string; diffModified: string; diffDeleted: string; + base: IColorsBase; } diff --git a/src/variations/dark.ts b/src/variations/dark.ts deleted file mode 100644 index d1ca983..0000000 --- a/src/variations/dark.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { IColors } from './../interfaces'; - -export const dark: IColors = { - accent: '#80cbc4', - cursor: '#ffcc00', - foreground: '#dedfe4', - background: '#011627', - comments: '#637777', - blue: '#82aaff', - brown: '#c17e70', - cyan: '#7fdbca', - green: '#c3e88d', - orange: '#f78c6c', - pink: '#ff5874', - purple: '#c2afff', - red: '#d95757', - yellow: '#ffcb8b', - deprecated: '#ffc777a1', - invalid: '#d46c6c66', - diffAdded: '#addb67', - diffModified: '#e2b93d', - diffDeleted: '#ef5350', -}; diff --git a/src/variations/darker.ts b/src/variations/darker.ts new file mode 100644 index 0000000..7a50a98 --- /dev/null +++ b/src/variations/darker.ts @@ -0,0 +1,28 @@ +import { IColors } from './../interfaces'; + +export const darker: IColors = { + accent: '#80CBC4', + cursor: '#FFCC00', + foreground: '#DEDFE4', + background: '#212121', + comments: '#545454', + deprecated: '#FFC777A1', + invalid: '#D46C6C66', + diffAdded: '#ADDB67', + diffModified: '#E2B93D', + diffDeleted: '#EF5350', + base: { + black: '#000000', + blue: '#82AAFF', + brown: '#916B53', + cyan: '#89DDFF', + green: '#C3E88D', + orange: '#F78C6C', + pink: '#FF9CAC', + purple: '#C792EA', + red: '#F07178', + violet: '#BB80B3', + white: '#FFFFFF', + yellow: '#FFCB6B', + }, +}; diff --git a/src/variations/light.ts b/src/variations/light.ts deleted file mode 100644 index 7f75c0a..0000000 --- a/src/variations/light.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { IColors } from './../interfaces'; - -export const light: IColors = { - accent: '#80cbc4', - cursor: '#7e57c2', - foreground: '#455A64', - background: '#fbfbfb', - comments: '#90a4ae', - blue: '#6182b8', - brown: '#bc5454', - cyan: '#5fb3b3', - green: '#91b859', - orange: '#f76d47', - pink: '#ff5370', - purple: '#7c4dff', - red: '#e53935', - yellow: '#f3ad2c', - deprecated: '#ffc777a1', - invalid: '#d3423e66', - diffAdded: '#9ccc65', - diffModified: '#e2b93d', - diffDeleted: '#ef5350', -}; diff --git a/src/variations/lighter.ts b/src/variations/lighter.ts new file mode 100644 index 0000000..6cc1908 --- /dev/null +++ b/src/variations/lighter.ts @@ -0,0 +1,28 @@ +import { IColors } from './../interfaces'; + +export const lighter: IColors = { + accent: '#80CBC4', + background: '#FBFBFB', + comments: '#90A4AE', + cursor: '#272727', + deprecated: '#FFC777A1', + diffAdded: '#9CCC65', + diffDeleted: '#EF5350', + diffModified: '#E2B93D', + foreground: '#455A64', + invalid: '#D3423E66', + base: { + black: '#000000', + blue: '#6182B8', + brown: '#916B53', + cyan: '#39ADB5', + green: '#91B859', + orange: '#F76D47', + pink: '#FF5370', + purple: '#9C3EDA', + red: '#E53935', + violet: '#945EB8', + white: '#FFFFFF', + yellow: '#E2931D', + } +}; diff --git a/src/variations/palenight.ts b/src/variations/palenight.ts new file mode 100644 index 0000000..95cf8ae --- /dev/null +++ b/src/variations/palenight.ts @@ -0,0 +1,28 @@ +import { IColors } from './../interfaces'; + +export const palenight: IColors = { + accent: '#80CBC4', + background: '#292D3E', + comments: '#676E95', + cursor: '#FFCC00', + deprecated: '#FFC777A1', + diffAdded: '#9CCC65', + diffDeleted: '#EF5350', + diffModified: '#E2B93D', + foreground: '#455A64', + invalid: '#D3423E66', + base: { + black: '#000000', + blue: '#82AAFF', + brown: '#916B53', + cyan: '#89DDFF', + green: '#C3E88D', + orange: '#F78C6C', + pink: '#FF9CAC', + purple: '#C792EA', + red: '#F07178', + violet: '#BB80B3', + white: '#FFFFFF', + yellow: '#FFCB6B', + }, +};