From b34bf3f2d063bb19ee74321189b47bd50e0057e6 Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Sun, 19 Feb 2017 21:05:49 +0100 Subject: [PATCH 1/3] GHI-#1 Implement the main index script --- index.js | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 index.js diff --git a/index.js b/index.js new file mode 100644 index 0000000..04d67e8 --- /dev/null +++ b/index.js @@ -0,0 +1,121 @@ +/* + * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + * title Nord Hyper + + * project nord-hyper + + * repository https://github.com/arcticicestudio/nord-hyper + + * author Arctic Ice Studio + + * email development@arcticicestudio.com + + * copyright Copyright (c) 2017 + + * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + */ +const nord = { + nord0: "#2E3440", + nord1: "#3B4252", + nord2: "#434C5E", + nord3: "#4C566A", + nord4: "#D8DEE9", + nord5: "#E5E9F0", + nord6: "#ECEFF4", + nord7: "#8FBCBB", + nord8: "#88C0D0", + nord9: "#81A1C1", + nord10: "#5E81AC", + nord11: "#BF616A", + nord12: "#D08770", + nord13: "#EBCB8B", + nord14: "#A3BE8C", + nord15: "#B48EAD" +}; + +const backgroundColor = nord.nord0; +const foregroundColor = nord.nord4; +const cursorColor = nord.nord4; +const borderColor = backgroundColor; + +const colors = { + black: nord.nord1, + red: nord.nord11, + green: nord.nord14, + yellow: nord.nord13, + blue: nord.nord9, + magenta: nord.nord15, + cyan: nord.nord8, + white: nord.nord5, + lightBlack: nord.nord3, + lightRed: nord.nord11, + lightGreen: nord.nord14, + lightYellow: nord.nord13, + lightBlue: nord.nord9, + lightMagenta: nord.nord15, + lightCyan: nord.nord7, + lightWhite: nord.nord6, + colorCubes: nord.nord6, + grayscale: foregroundColor +}; + +exports.decorateConfig = config => { + return Object.assign({}, config, { + foregroundColor, + backgroundColor, + borderColor, + cursorColor: cursorColor, + colors, + cursorShape: "BEAM", + fontSize: config.fontSize || 16, + fontFamily: "'Source Code Pro', Hack" || config.fontFamily, + termCSS: ` + ${config.termCSS || ""} + ::selection { + background: rgba(67, 76, 94, 0.8) !important; + } + .cursor-node { + border-left-width: 2px; + } + @keyframes blink { + 10%, 50% { opacity: 0 } + 60%, 100% { opacity: 1 } + } + .cursor-node[focus=true] { + mix-blend-mode: difference; + } + .cursor-node[focus=true]:not([hyper-blink-moving]) { + box-sizing: content-box !important; + animation: blink 1s ease infinite; + } + `, + css: ` + ${config.css || ""} + * { + text-rendering: optimizeLegibility !important; + } + .header_header { + background-color: ${backgroundColor} !important; + top: 0 !important; + right: 0 !important; + left: 0 !important; + } + ::selection { + background: rgba(67, 76, 94, 0.8) !important; + } + .tab_first { + margin-left: 0 !important; + padding: 0 !important; + } + .tabs_list, + .tab_tab { + border: 0 !important; + } + .tab_tab { + color: ${foregroundColor} !important; + transition: color 400ms ease, background 400ms ease; + } + .tab_tab.tab_active, + .tab_tab:hover { + background-color: ${nord.nord1}; + } + .splitpane_divider { + background-color: rgba(67, 76, 94, 0.8) !important; + } + ` + }); +}; From f63288eef6d4ad15c8a7688d78b50fa0f951351b Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Sun, 19 Feb 2017 21:09:40 +0100 Subject: [PATCH 2/3] Optimize SVG logo banner --- assets/nord-hyper-banner.svg | 49 ++++++------------------------------ 1 file changed, 8 insertions(+), 41 deletions(-) diff --git a/assets/nord-hyper-banner.svg b/assets/nord-hyper-banner.svg index 022c5a8..c3d1601 100755 --- a/assets/nord-hyper-banner.svg +++ b/assets/nord-hyper-banner.svg @@ -1,42 +1,9 @@ - - - - - -Nord Hyper - - - - - - - - - - - - + + + + + + + + From 6de3fbca1ab5eec6e72a98429fbdcb816cff84ce Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Sun, 19 Feb 2017 21:17:48 +0100 Subject: [PATCH 3/3] Prepare initial npm module release version 0.1.0 --- CHANGELOG.md | 15 +++++++++++++++ README.md | 2 +- package.json | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c2d29d..aaa36f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,21 @@ --- +# 0.1.0 +*2017-02-19* + **Initial npm module release version!** + +## Features +A complete list of all implemented features can be found in the [README](https://github.com/arcticicestudio/nord-hyper/blob/develop/README.md#features) section. + +❯ Implemented the main `index.js` script theme file [`index.js`](https://github.com/arcticicestudio/nord-hyper/blob/develop/index.js). (@arcticicestudio, #1, b1fde294) + +

+ +

+ +Detailed information about features and install instructions can be found in the [README](https://github.com/arcticicestudio/nord-hyper/blob/develop/README.md#installation) and in the [project wiki](https://github.com/arcticicestudio/nord-hyper/wiki). + # 0.0.0 *2017-02-19* **Project Initialization** diff --git a/README.md b/README.md index e2b0562..f78ddec 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ hpm install nord-hyper

Non-obtrusive cursor blinking.

## Development -[![](https://img.shields.io/badge/Changelog-0.0.0-81A1C1.svg)](https://github.com/arcticicestudio/nord-hyper/blob/v0.0.0/CHANGELOG.md) [![](https://img.shields.io/badge/Workflow-gitflow--branching--model-81A1C1.svg)](http://nvie.com/posts/a-successful-git-branching-model) [![](https://img.shields.io/badge/Versioning-ArcVer_0.8.0-81A1C1.svg)](https://github.com/arcticicestudio/arcver) +[![](https://img.shields.io/badge/Changelog-0.1.0-81A1C1.svg)](https://github.com/arcticicestudio/nord-hyper/blob/v0.1.0/CHANGELOG.md) [![](https://img.shields.io/badge/Workflow-gitflow--branching--model-81A1C1.svg)](http://nvie.com/posts/a-successful-git-branching-model) [![](https://img.shields.io/badge/Versioning-ArcVer_0.8.0-81A1C1.svg)](https://github.com/arcticicestudio/arcver) Continuous integration builds are running at [Travis-CI](https://travis-ci.org/arcticicestudio/nord-hyper) and [Circle CI](https://circleci.com/gh/arcticicestudio/nord-hyper). diff --git a/package.json b/package.json index be0de06..63d64f7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nord-hyper", "title": "Nord Hyper", - "version": "0.0.0", + "version": "0.1.0", "description": "A arctic, north-bluish clean and elegant Hyper theme plugin", "author": { "name": "Arctic Ice Studio",