Skip to content

Commit

Permalink
Showing 209 changed files with 677 additions and 908 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Meetio Theme for Sublime Text 3


[![GitHub tag](https://img.shields.io/github/release/meetio-theme/sublime-meetio-theme.svg?style=for-the-badge)](https://github.com/meetio-theme/sublime-meetio-theme/releases)
![Sublime Version](https://img.shields.io/badge/built_for_sublimetext-3179-e79330?style=for-the-badge&logo=sublime-text)
[![Downloads](https://img.shields.io/packagecontrol/dt/Meetio%20Theme?style=for-the-badge)](package-control)
Empty file removed examples/typescript.test.js
Empty file.
Empty file removed examples/typescript.test.jsx
Empty file.
Empty file removed examples/typescript.test.ts
Empty file.
Empty file removed examples/typescript.test.tsx
Empty file.
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -13,10 +13,10 @@
"theme"
],
"scripts": {
"build:theme": "ts-node src/theme.ts",
"build:schemes": "ts-node src/schemes.ts",
"build:icons": "ts-node src/icons.ts",
"lint": "eslint \"src/*.ts\" \"src/**/*.ts\" \"src/**/**/*.ts\" \"src/**/*.json\" \"src/**/**/*.json\"",
"theme": "ts-node scripts/theme.ts",
"schemes": "ts-node scripts/schemes.ts",
"icons": "ts-node scripts/icons.ts",
"lint": "eslint \"scripts/*.ts\" \"scripts/**/*.ts\" \"scripts/**/**/*.ts\" \"scripts/**/*.json\" \"scripts/**/**/*.json\"",
"test": "echo \"Error: no test specified\" && exit 1"
},
"engines": {
@@ -35,9 +35,8 @@
"@babel/preset-env": "7.4.5",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@meetio/meetio-colors": "^1.0.4",
"@meetio/meetio-icons": "^1.3.0",
"@meetio/scheme-generator": "^0.5.0",
"@meetio/scheme-generator": "^1.1.0",
"@typescript-eslint/eslint-plugin": "2.15.0",
"@typescript-eslint/parser": "2.15.0",
"babel-eslint": "^10.0.3",
704 changes: 311 additions & 393 deletions schemes/Meetio-Theme-Dark.sublime-color-scheme

Large diffs are not rendered by default.

706 changes: 312 additions & 394 deletions schemes/Meetio-Theme-Light.sublime-color-scheme

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/icons.ts → scripts/icons.ts
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ fs.readdirSync('./src/icons/textures/').forEach((icon: any) => {
svg2img(
data,
{ width: setting.size, height: setting.size },
(_: any, buffer: Buffer) => {
(err: any, buffer: Buffer) => {
fs.writeFileSync(
`textures/${
setting.suffix ? icon + setting.suffix : icon
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
12 changes: 5 additions & 7 deletions src/schemes.ts → scripts/schemes.ts
Original file line number Diff line number Diff line change
@@ -5,35 +5,33 @@ import {
IColors,
IRules,
} from '@meetio/scheme-generator';
import * as pallete from '@meetio/meetio-colors';

// common rules for all schemes
import rules from './schemes/index';
import { light, dark } from './settings/pallete';

interface IScheme {
name: string;
author: string;
variables: IColors;
customRules: Array<IRules>; // specific rules for each scheme
customRules: Array<IRules>;
}

[
{
name: 'Meetio-Theme-Dark',
author: 'Mauro Reis Vieira <mauroreisvieira@gmail.com>',
variables: pallete.dark,
variables: dark,
customRules: [],
},
{
name: 'Meetio-Theme-Light',
author: 'Mauro Reis Vieira <mauroreisvieira@gmail.com>',
variables: pallete.light,
variables: light,
customRules: [],
}
].map((item: IScheme) => {
const settings: ISchemeSetting = {
colors: item.variables,
rules: [...rules, ...item.customRules],
rules: item.customRules,
};
generateScheme(item.name, item.author, item.name, settings, 'schemes');
});
43 changes: 43 additions & 0 deletions scripts/settings/pallete.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
const dark = {
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',
};

const light = {
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',
};

export { light, dark };
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions src/schemes/index.ts

This file was deleted.

25 changes: 0 additions & 25 deletions src/schemes/rules/ini.ts

This file was deleted.

30 changes: 0 additions & 30 deletions src/schemes/rules/markdown.ts

This file was deleted.

16 changes: 0 additions & 16 deletions src/schemes/rules/sublimelinter.ts

This file was deleted.

29 changes: 0 additions & 29 deletions src/schemes/rules/vue.ts

This file was deleted.

0 comments on commit 2bc3f23

Please sign in to comment.