Skip to content

Commit

Permalink
First Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Romaniello committed Oct 4, 2015
1 parent 54a1a58 commit ba90906
Show file tree
Hide file tree
Showing 7 changed files with 206 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2015 anthonyrom

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
True Ocean (Base16) Theme for Brackets
============================

Attempting to be as close to [Ocean](http://chriskempson.github.io/base16/#ocean) as possible.

Please critique how I have implemented the colors, and offer suggestions as to how I can improve this theme. I would love to improve it in every way I can.

I do not claim credit for the color scheme - this is the work of [Chris Kempson](http://chriskempson.com). I have simply made this color scheme a theme compatible with Brackets.

## HTML
![HTML Screenshot]()

## CSS
![CSS Screenshot]()

## JS
![JS Screenshot]()
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "true-ocean",
"title": "True Ocean (Base16)",
"description": "Completely un-edited Ocean from Base16. No modifications whatsoever.",
"homepage": "https://github.com/anthonyrom/true-ocean",
"version": "1.0.0",
"author": "Anthony Romaniello <aromaniello70@gmail.com> (http://awro.xyz)",
"license": "MIT",
"theme": {
"file": "theme.less",
"dark": true,
"addModeClass": true
},
"keywords": ["theme"]
}
Binary file added screenshots/css.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/html.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/js.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
153 changes: 153 additions & 0 deletions theme.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
/* Define variables: Directly from CSS of http://chriskempson.github.io/base16/#ocean */

@base00: #2b303b;
@base01: #343d46;
@base02: #4f5b66;
@base03: #65737e;
@base04: #a7adba;
@base05: #c0c5ce;
@base06: #dfe1e8;
@base07: #eff1f5;
@base08: #bf616a;
@base09: #d08770;
@base0A: #ebcb8b;
@base0B: #a3be8c;
@base0C: #96b5b4;
@base0D: #8fa1b3;
@base0E: #b48ead;
@base0F: #ab7967;

/* Code Styling */

.CodeMirror {
// Gotta have that sweet sweet line spacing
line-height: 1.2;
}

.CodeMirror-scroll {
// Background color of main window
background-color: @base00;
// Color of otherwise un-styled text
color: @base06;
}

.CodeMirror-gutters {
// Gutter to the left
background-color: @base00;
}

.CodeMirror-linenumber {
// Line numbers in the gutter
color: @base03;
}

.CodeMirror-selected {
// Highlighed text
background-color: @base02;
}

.CodeMirror-cursor {
// The cursor
border-left: 1px solid @base06;
}

.CodeMirror-matchingbracket, .CodeMirror-matchingtag {
// When you click a tag/bracket and the matching one is highlighted
background: @base02 !important;
color: @base06 !important;
border-bottom: 1px solid @base08 !important;
}

.CodeMirror-foldgutter-open:after {
// Those little arrows in the gutter
color: @base03;
}
.CodeMirror-foldgutter-folded:after {
// The arrows after you collapse code
color: @base04;
}

.CodeMirror.over-gutter, .CodeMirror-activeline {
.CodeMirror-foldgutter-open:after {
// Arrows when hovering on the gutter
color: @base06;
}
}

.CodeMirror-foldmarker {
// The [...] marking collapsed code
border-color: @base06;
background-color: @base06;
color: @base02;
}

.CodeMirror-searching {
// Ctrl + F results
background-color: @base0A;
// Selected result
&.searching-current-match {
background-color: @base09;
}
}

/* Non-editor Styling */

#image-holder,
#not-editor {
background-color: @base00;
}

#image-holder {
color: @base04;
}

.view-pane .image-view {
color: @base06;
}

/* All 'dem swatches */

.cm-atom, .cm-string, .cm-string-2, .cm-hr, {
color: @base0B;
}

.cm-number, .cm-attribute, .cm-plus {
color: @base0A;
}

.cm-def, .cm-property {
color: @base0C;
}

.cm-variable, .cm-variable-2, .cm-variable-3 {
color: @base0E;
}

.cm-operator, .cm-meta, .cm-bracket {
color: @base06;
}

.cm-comment {
color: @base03;
}

.cm-error, .cm-minus {
color: @base09;
}

.cm-header {
color: @base0E;
}

.cm-link {
color: @base0E;
text-decoration: none;
}

.cm-rangeinfo {
color: @base0C;
}

.cm-keyword, .cm-qualifier, .cm-builtin, .cm-tag, .cm-quote {
color: @base08;
}

0 comments on commit ba90906

Please sign in to comment.