Skip to content

Commit

Permalink
Adding theme files
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoachar committed Aug 22, 2017
1 parent 4ca2d1e commit 0d0bbfa
Show file tree
Hide file tree
Showing 35 changed files with 1,070 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
@@ -0,0 +1,14 @@
# http://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
4 changes: 4 additions & 0 deletions .gitattributes
@@ -0,0 +1,4 @@
* text=auto eol=lf

# graphics
*.png binary
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
*.vsix
166 changes: 164 additions & 2 deletions README.md
@@ -1,2 +1,164 @@
# vscode-theme-cobalt2
vscode-theme-cobalt2
# Cobalt2 Theme

> A Cobalt2 theme for VS Code entirely based on [Cobalt2 from Wes Bos](https://github.com/wesbos/cobalt2).
![Preview](images/vscode.png)

# Installation

1. Install [Visual Studio Code](https://code.visualstudio.com/)
2. Launch Visual Studio Code
3. Choose **Extensions** from menu
4. Search for `vscode-theme-cobalt2`
5. Click **Install** to install it
6. Click **Reload** to reload the Code
7. File > Preferences > Color Theme > **Cobalt2**

# Editor Features

## Activity Bar

![Activity Bar](images/editor-activity-bar.png)

## Debug

![Debug](images/editor-debug.png)

## Extensions

![Extensions](images/editor-extensions.png)

## Notifications

![Notifications](images/editor-notifications.png)

## Search

![Search](images/editor-search.png)

## Sidebar

![Sidebar](images/editor-sidebar.png)

## Status Bar

![Status Bar](images/editor-status-bar.png)

## Tabs

![Tabs](images/editor-tabs.png)

# Languages

## CSS

![CSS](images/language-css.png)

## HTML

![HTML](images/language-html.png)

## JAVASCRIPT

![JAVASCRIPT](images/language-javascript.png)

## JSON

![JSON](images/language-json.png)

## MARKDOWN

![MARKDOWN](images/language-markdown.png)

## PROPERTIES

![PROPERTIES](images/language-properties.png)

## PUG

![PUG](images/language-pug.png)

## PYTHON

![PYTHON](images/language-python.png)

## TYPESCRIPT

![TYPESCRIPT](images/language-typescript.png)

## YAML

![YAML](images/language-yaml.png)

# Development

## Install dependencies

1. Install [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/)
2. Install [Visual Studio Code](https://code.visualstudio.com/)

## Run

Clone the repo

```bash
$ git clone https://github.com/robertoachar/vscode-theme-cobalt2.git
```

Install vsce

```bash
$ npm install -g vsce
```

Build the extension file

```bash
$ vsce package

# or

$ npm run build
```

Install the extension from a package file (.vsix)

1. Launch Visual Studio Code
2. Choose **Extensions** from menu
3. Click **More** > **Install from VSIX...**
4. Select the file `vscode-theme-cobalt2-x.x.x.vsix`
6. Click **Reload Now** to reload the Code

## Publish

Create a publisher

```bash
$ vsce create-publisher <publisher-name>
```

Login

```bash
$ vsce login <publisher-name>
```

Publish

```bash
$ vsce publish
```

For more detailed information about publishing extensions: [Publishing Extensions](https://code.visualstudio.com/docs/extensions/publish-extension).

# Contributing



# Author

[Roberto Achar](https://twitter.com/RobertoAchar)

# License

[MIT](https://github.com/robertoachar/vscode-theme-cobalt2/blob/master/LICENSE)
14 changes: 14 additions & 0 deletions demo/.editorconfig
@@ -0,0 +1,14 @@
# http://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
17 changes: 17 additions & 0 deletions demo/css.css
@@ -0,0 +1,17 @@
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */

html {
line-height: 1.15; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}

body {
margin: 0;
}

a {
background-color: transparent; /* 1 */
-webkit-text-decoration-skip: objects; /* 2 */
}

15 changes: 15 additions & 0 deletions demo/html.html
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>

<body>

</body>

</html>
17 changes: 17 additions & 0 deletions demo/js.js
@@ -0,0 +1,17 @@
const express = require('express');
const app = express();

app.use('/static', express.static(path.join(__dirname, 'public')))

app.get('/', function (req, res) {
res.send('Hello World!');
});

app.use(function (err, req, res, next) {
console.error(err.stack);
res.status(500).send('Something broke!');
});

app.listen(3000, () => {
console.log('Example app listening on port 3000!');
});
26 changes: 26 additions & 0 deletions demo/json.json
@@ -0,0 +1,26 @@
{
"env": {
"es6": true,
"mocha": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}
15 changes: 15 additions & 0 deletions demo/markdown.md
@@ -0,0 +1,15 @@
# Cobalt2 Theme

> A Cobalt2 theme for VS Code.
![Preview](images/preview.gif)

# Installation

1. Install [Visual Studio Code](https://code.visualstudio.com/)
2. Launch Visual Studio Code
3. Choose **Extensions** from menu
4. Search for `vscode-theme-cobalt2`
5. Click **Install** to install it
6. Click **Reload** to reload the Code
7. File > Preferences > Color Theme > **Cobalt2**
11 changes: 11 additions & 0 deletions demo/pug.pug
@@ -0,0 +1,11 @@
<!DOCTYPE html>
html(lang="en")

head
meta(charset="UTF-8")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
meta(http-equiv="X-UA-Compatible", content="ie=edge")
title Document

body
h1 Pug
17 changes: 17 additions & 0 deletions demo/python.py
@@ -0,0 +1,17 @@
from flask import Flask, jsonify, make_response, request

app = Flask('python-flask-seed')


@app.route('/welcome', methods=['POST'])
def welcome():
content = request.get_json(silent=True, force=True)

try:
message = 'Welcome %s!' % content['name']
response = {'message': message}
return make_response(jsonify(response), 200)

except Exception as ex:
response = {'error': 'name is required'}
return make_response(jsonify(response), 400)
17 changes: 17 additions & 0 deletions demo/typescript.ts
@@ -0,0 +1,17 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';

import { AppComponent } from './app.component';

@NgModule({
imports: [
BrowserModule,
FormsModule
],
declarations: [
AppComponent
],
bootstrap: [AppComponent]
})
export class AppModule { }
13 changes: 13 additions & 0 deletions demo/yml.yml
@@ -0,0 +1,13 @@
language: node_js
node_js:
- "6"
install:
- npm install
script:
- npm test
after_script:
- npm run coveralls
notifications:
email:
on_success: never
on_failure: always
Binary file added images/editor-activity-bar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/editor-debug.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/editor-extensions.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/editor-notifications.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/editor-search.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/editor-sidebar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/editor-status-bar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/editor-tabs.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/language-css.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/language-html.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/language-javascript.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/language-json.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/language-markdown.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/language-properties.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/language-pug.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/language-python.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/language-typescript.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/language-yaml.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/vscode.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0d0bbfa

Please sign in to comment.