Skip to content

Commit

Permalink
Init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bartveneman committed Aug 24, 2018
0 parents commit 000f7fd
Show file tree
Hide file tree
Showing 5 changed files with 136 additions and 0 deletions.
82 changes: 82 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
'use strict';
const brandTeal = 'hsl(151.7, 66%, 47.3%)'
const yellow = 'hsl(42, 100%, 55%)'
const foregroundColor = 'hsl(198, 5%, 97.3%)'
const backgroundColor = 'hsl(203.3, 27.3%, 12.9%)'
const borderColor = '#222430'
const cursorColor = brandTeal
const selectionColor = 'hsla(335.9, 89%, 50%, .2)'
const blue = brandTeal
const red = 'hsl(0, 70%, 51%)'
const magenta = yellow
const green = '#61df0c'
const tabBorderColor = brandTeal
const cyan = 'hsl(42, 100%, 55%)'

exports.decorateConfig = config => Object.assign({}, config, {
backgroundColor,
foregroundColor,
borderColor,
cursorColor,
cursorAccentColor: backgroundColor,
selectionColor,
colors: {
black: backgroundColor,
red,
green,
yellow,
blue,
magenta,
cyan,
white: '#f1f1f0',
lightBlack: '#686868',
lightRed: red,
lightGreen: green,
lightYellow: yellow,
lightBlue: blue,
lightMagenta: magenta,
lightWhite: foregroundColor,
lightCyan: cyan
},
css: `
/* Hide title when only one tab */
.tabs_title {
display: none !important;
}
/* Add a highlight line below the active tab */
.tab_tab::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 1px;
background-color: ${tabBorderColor};
transform: scaleX(0);
will-change: transform;
}
.tab_tab.tab_active::before {
transform: scaleX(1);
transition: all 200ms cubic-bezier(0, 0, 0.2, 1);
}
/* Fade the title of inactive tabs and the content of inactive panes */
.tab_text,
.term_term {
opacity: 0.6;
will-change: opacity;
}
.tab_active .tab_text,
.term_active .term_term {
opacity: 1;
transition: opacity 0.12s ease-in-out;
}
/* Allow custom css / overrides */
${config.css}
`
});

21 changes: 21 additions & 0 deletions license
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Bart Veneman

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.
18 changes: 18 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "hyper-wallace",
"version": "0.0.0",
"description": "Hyper theme based on Project Wallace",
"license": "MIT",
"repository": "bartveneman/hyper-wallace",
"author": "Bart Veneman",
"files": [
"index.js"
],
"keywords": [
"hyper",
"theme",
"hyper-theme",
"wallace",
"projectwallace"
]
}
15 changes: 15 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# hyper-wallace

Hyper theme based on [Project Wallace](https://www.projectwallace.com)

![Screenshot](screenshot.png)

## Install

```sh
hyper install hyper-wallace
```

## Credits

This theme is mostly a copy from the *beautiful* [hyper-snazzy theme](https://github.com/sindresorhus/hyper-snazzy) by [Sindre Sorhus](https://github.com/sindresorhus).
Binary file added screenshot.png
Loading
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 000f7fd

Please sign in to comment.