Skip to content

Commit

Permalink
feat: add colors light and dark.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroreisvieira committed Nov 13, 2019
1 parent 9ba7042 commit aa12a62
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "meetio-theme-colors",
"version": "1.0.0",
"description": "The most delicious and wonderful colors Sublime Text 3",
"description": "The most delicious and wonderful colors for Meetio Theme",
"bugs": {
"url": "https://github.com/meetio-theme/sublime-meetio-theme-icons/issues"
"url": "https://github.com/meetio-theme/sublime-meetio-theme-colors/issues"
},
"author": "Mauro Reis Vieira <mauroreisvieira@gmail.com>",
"license": "MIT",
Expand Down
2 changes: 2 additions & 0 deletions src/index.js → src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ const path = require("path")
const fs = require("fs")
const rimraf = require("rimraf")

const {light, dark} = require("./settings/")

rimraf("colors", () => {
fs.mkdir("colors", () => {
fs.writeFileSync(`${}.js`,
Expand Down
2 changes: 0 additions & 2 deletions src/dark.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/light.js

This file was deleted.

21 changes: 21 additions & 0 deletions src/settings/dark.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*eslint-disable no-undef */
module.exports = {
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",
invalid: "#d46c6c66",
diffAdded: "#addb67",
diffModified: "#e2b93d",
diffDeleted: "#ef5350",
}

8 changes: 8 additions & 0 deletions src/settings/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*eslint-disable no-undef */
const light = require("./light")
const dark = require("./dark")

module.exports = {
light: light,
dark: dark
}
21 changes: 21 additions & 0 deletions src/settings/light.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*eslint-disable no-undef */
module.exports = {
cursor: "#7e57c2",
foreground: "#455A64",
background: "#fbfbfb",
comments: "#90a4ae",
blue: "#6182b8",
brown: "#bc5454",
cyan: "#5fb3b3",
green: "#91b859",
orange: "#C96765",
pink: "#ff5370",
purple: "#7c4dff",
red: "#e53935",
yellow: "#f3ad2c",
invalid: "#d3423e66",
diffAdded: "#9ccc65",
diffModified: "#e2b93d",
diffDeleted: "#ef5350",
}

0 comments on commit aa12a62

Please sign in to comment.