diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..1049f41 --- /dev/null +++ b/.npmignore @@ -0,0 +1,12 @@ +assets/** +src/** +.circleci/** +.github/** +.babelrc +.editorconfig +.gitignore +.npmrc +.stylelintrc.js +.travis.yml +gulpfile.babel.js +package-lock.json diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..cffe8cd --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +save-exact=true diff --git a/CHANGELOG.md b/CHANGELOG.md index 53e3691..31beb12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,62 @@

-

+

--- + +# 0.1.0 +![Release Date: 2017-10-20](https://img.shields.io/badge/Release_Date-2017--10--20-88C0D0.svg?style=flat-square) [![Project Board](https://img.shields.io/badge/Project_Board-0.1.0-88C0D0.svg?style=flat-square)](https://github.com/arcticicestudio/nord-highlightjs/projects/2) [![Milestone](https://img.shields.io/badge/Milestone-0.1.0-88C0D0.svg?style=flat-square)](https://github.com/arcticicestudio/nord-highlightjs/milestone/1) + +## Feature + +Detailed information about features and install instructions can be found in the [README](https://github.com/arcticicestudio/nord-highlightjs/blob/develop/README.md#installation) and in the [project wiki](https://github.com/arcticicestudio/nord-highlightjs/wiki). + +

+ +❯ Implemented the main theme classes as documented in the official [style guide][hljs-style-guide] and [CSS classes reference][hljs-css-class-ref] and according to the [Nord Style Guidelines][nord-gh]. All sources are written with [Sass][sass]. The CSS selectors are separated as SCSS modules by the sections defined in the documentation. + +All [modules][nord-hljs-modules] are imported from the main [`nord.scss`][nord-hljs-scss] file. (@arcticicestudio, #1 in PR #3, 445f4f0e) + +❯ Implemented language-specific styles to adhere to the [Nord Style Guidelines][nord-gh]. (@arcticicestudio, #2 in PR #4 / #5 in PR #6, 2f74d76d / 15ffa3f9) + + +

Bash

+ +

C

+ +

C++

+ +

C#

+ +

CSS

+ +

diff

+ +

Go

+ +

HTML

+ +

Java

+ +

JOSN

+ +

PHP

+ +

Ruby

+ +

Rust

+ +

Scala

+ +

SQL

+ +

Swift

+ +

YAML

+ +[hljs-css-class-ref]: http://highlightjs.readthedocs.io/en/latest/css-classes-reference.html +[hljs-style-guide]:http://highlightjs.readthedocs.io/en/latest/style-guide.html +[nord-gh]: https://github.com/arcticicestudio/nord +[nord-hljs-scss]: https://github.com/arcticicestudio/nord-highlightjs/blob/develop/src/nord.scss +[nord-hljs-modules]: https://github.com/arcticicestudio/nord-highlightjs/tree/develop/src/modules +[sass]: http://sass-lang.com diff --git a/README.md b/README.md index 5136c4c..ed6b72f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@

-

+

-

+

An arctic, north-bluish clean and elegant highlight.js theme.

@@ -11,6 +11,8 @@ Based on the Nord color pa --- +

Font: Source Code Pro 12px.

+ ## Getting started ### Installation @@ -33,6 +35,42 @@ Copy the [`nord.css`][nord-dist-css] file to your desired directory and include ``` +### Screenshots + +

Bash

+ +

C

+ +

C++

+ +

C#

+ +

CSS

+ +

diff

+ +

Go

+ +

HTML

+ +

Java

+ +

JOSN

+ +

PHP

+ +

Ruby

+ +

Rust

+ +

Scala

+ +

SQL

+ +

Swift

+ +

YAML

+ ### Contribution Please report issues/bugs, feature requests and suggestions for improvements to the [issue tracker](https://github.com/arcticicestudio/nord-highlightjs/issues). @@ -46,4 +84,4 @@ Please report issues/bugs, feature requests and suggestions for improvements to [hljs-docs-usage]: https://highlightjs.org/usage [nord-develop-zip]: https://github.com/arcticicestudio/nord-highlightjs/archive/develop.zip [nord-dist-css]: https://github.com/arcticicestudio/nord-highlightjs/blob/develop/dist/nord.css -[nord-latest-zip]: https://github.com/arcticicestudio/nord-highlightjs/archive/v0.0.0.zip +[nord-latest-zip]: https://github.com/arcticicestudio/nord-highlightjs/archive/v0.1.0.zip diff --git a/assets/scrot-hero.png b/assets/scrot-hero.png new file mode 100644 index 0000000..bf0a545 Binary files /dev/null and b/assets/scrot-hero.png differ diff --git a/assets/scrot-lang-bash.png b/assets/scrot-lang-bash.png new file mode 100755 index 0000000..d995a6d Binary files /dev/null and b/assets/scrot-lang-bash.png differ diff --git a/assets/scrot-lang-c.png b/assets/scrot-lang-c.png new file mode 100755 index 0000000..f6a16c1 Binary files /dev/null and b/assets/scrot-lang-c.png differ diff --git a/assets/scrot-lang-cpp.png b/assets/scrot-lang-cpp.png new file mode 100755 index 0000000..eb9621e Binary files /dev/null and b/assets/scrot-lang-cpp.png differ diff --git a/assets/scrot-lang-cs.png b/assets/scrot-lang-cs.png new file mode 100755 index 0000000..a7dcdc4 Binary files /dev/null and b/assets/scrot-lang-cs.png differ diff --git a/assets/scrot-lang-css.png b/assets/scrot-lang-css.png new file mode 100755 index 0000000..8ee7494 Binary files /dev/null and b/assets/scrot-lang-css.png differ diff --git a/assets/scrot-lang-diff.png b/assets/scrot-lang-diff.png new file mode 100755 index 0000000..e5edabb Binary files /dev/null and b/assets/scrot-lang-diff.png differ diff --git a/assets/scrot-lang-go.png b/assets/scrot-lang-go.png new file mode 100755 index 0000000..fbb7ea9 Binary files /dev/null and b/assets/scrot-lang-go.png differ diff --git a/assets/scrot-lang-html.png b/assets/scrot-lang-html.png new file mode 100755 index 0000000..2a8d645 Binary files /dev/null and b/assets/scrot-lang-html.png differ diff --git a/assets/scrot-lang-java.png b/assets/scrot-lang-java.png new file mode 100644 index 0000000..48e78b7 Binary files /dev/null and b/assets/scrot-lang-java.png differ diff --git a/assets/scrot-lang-json.png b/assets/scrot-lang-json.png new file mode 100755 index 0000000..0d1483a Binary files /dev/null and b/assets/scrot-lang-json.png differ diff --git a/assets/scrot-lang-php.png b/assets/scrot-lang-php.png new file mode 100755 index 0000000..d4d8be6 Binary files /dev/null and b/assets/scrot-lang-php.png differ diff --git a/assets/scrot-lang-ruby.png b/assets/scrot-lang-ruby.png new file mode 100755 index 0000000..08529ca Binary files /dev/null and b/assets/scrot-lang-ruby.png differ diff --git a/assets/scrot-lang-rust.png b/assets/scrot-lang-rust.png new file mode 100755 index 0000000..31a4a15 Binary files /dev/null and b/assets/scrot-lang-rust.png differ diff --git a/assets/scrot-lang-scala.png b/assets/scrot-lang-scala.png new file mode 100755 index 0000000..0b05128 Binary files /dev/null and b/assets/scrot-lang-scala.png differ diff --git a/assets/scrot-lang-sql.png b/assets/scrot-lang-sql.png new file mode 100755 index 0000000..24adb98 Binary files /dev/null and b/assets/scrot-lang-sql.png differ diff --git a/assets/scrot-lang-swift.png b/assets/scrot-lang-swift.png new file mode 100755 index 0000000..ab6ebaa Binary files /dev/null and b/assets/scrot-lang-swift.png differ diff --git a/assets/scrot-lang-yaml.png b/assets/scrot-lang-yaml.png new file mode 100755 index 0000000..f1da896 Binary files /dev/null and b/assets/scrot-lang-yaml.png differ diff --git a/package-lock.json b/package-lock.json index 1b0469e..c1682a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "nord-highlightjs", - "version": "0.0.0", + "version": "0.1.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1031,7 +1031,7 @@ "dev": true, "requires": { "caniuse-lite": "1.0.30000748", - "electron-to-chromium": "1.3.26" + "electron-to-chromium": "1.3.27" } }, "bs-recipes": { @@ -1580,9 +1580,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.3.26", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.26.tgz", - "integrity": "sha1-mWQnKUhhp02cfIK5Jg6jAejALWY=", + "version": "1.3.27", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.27.tgz", + "integrity": "sha1-eOy4o5kGYYe7N07t412ccFZagD0=", "dev": true }, "emitter-steward": { diff --git a/package.json b/package.json index afbea38..d29d6f6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nord-highlightjs", "title": "Nord highlight.js", - "version": "0.0.0", + "version": "0.1.0", "description": "An arctic, north-bluish clean and elegant highlight.js theme.", "author": { "name": "Arctic Ice Studio", @@ -16,6 +16,7 @@ "bugs": { "url": "https://github.com/arcticicestudio/nord-highlightjs/issues" }, + "license": "(Apache-2.0 AND CC-BY-SA-4.0)", "keywords": [ "nord", "arctic", @@ -26,7 +27,10 @@ "highlight.js", "theme" ], - "license": "(Apache-2.0 AND CC-BY-SA-4.0)", + "main": "./dist/nord.css", + "scripts": { + "prepublish": "gulp clean && gulp compile" + }, "devDependencies": { "babel-core": "6.26.0", "babel-preset-env": "1.6.0", diff --git a/src/nord.scss b/src/nord.scss index 8807aa6..db0067a 100644 --- a/src/nord.scss +++ b/src/nord.scss @@ -2,7 +2,7 @@ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ title Nord highlight.js + project nord-highlightjs + -version + +version 0.1.0 + repository https://github.com/arcticicestudio/nord-highlightjs + author Arctic Ice Studio + email development@arcticicestudio.com +