From 6ff780b0a2b936ee97b552163f11b396846f7519 Mon Sep 17 00:00:00 2001 From: Shawn McGinty Date: Sat, 29 Feb 2020 16:30:55 -0600 Subject: [PATCH] fixing white space --- .githooks/pre-commit | 2 +- docs-src/.babelrc | 16 + docs-src/.editorconfig | 13 + docs-src/.eslintrc.js | 18 + docs-src/.gitignore | 90 + docs-src/README.md | 22 + docs-src/assets/README.md | 7 + docs-src/assets/js/main-actions.js | 7 + docs-src/assets/js/pages.js | 4 + docs-src/assets/js/shared.js | 60 + docs-src/assets/sass/_bulma.scss | 19 + docs-src/assets/sass/_fonts.scss | 75 + docs-src/assets/sass/_icons.scss | 27 + docs-src/assets/sass/_markdown.scss | 7 + .../assets/sass/_syntax-highlight-theme.scss | 210 + docs-src/assets/sass/main.scss | 42 + docs-src/components/Footer.vue | 58 + docs-src/components/ModeMenu.vue | 96 + docs-src/components/README.md | 7 + docs-src/components/nav/NavBar.vue | 110 + .../content/docs/quick-start/basic-server.md | 131 + .../content/docs/quick-start/installation.md | 103 + docs-src/content/docs/scaffolding.md | 6 + docs-src/jest.config.js | 17 + docs-src/jsconfig.json | 12 + docs-src/layouts/README.md | 7 + docs-src/layouts/default.vue | 40 + docs-src/middleware/README.md | 8 + docs-src/nuxt.config.js | 121 + docs-src/package-lock.json | 15799 ++++++++++++++++ docs-src/package.json | 49 + docs-src/pages/README.md | 6 + docs-src/pages/index.vue | 169 + docs-src/pages/quick-start/_page.vue | 127 + docs-src/pages/quick-start/index.vue | 76 + docs-src/plugins/README.md | 7 + docs-src/static/README.md | 11 + docs-src/static/favicon.ico | Bin 0 -> 1393 bytes docs-src/static/fonts/fa/fa-brands-400.eot | Bin 0 -> 133034 bytes docs-src/static/fonts/fa/fa-brands-400.svg | 3570 ++++ docs-src/static/fonts/fa/fa-brands-400.ttf | Bin 0 -> 132728 bytes docs-src/static/fonts/fa/fa-brands-400.woff | Bin 0 -> 89824 bytes docs-src/static/fonts/fa/fa-brands-400.woff2 | Bin 0 -> 76548 bytes docs-src/static/fonts/fa/fa-regular-400.eot | Bin 0 -> 34390 bytes docs-src/static/fonts/fa/fa-regular-400.svg | 803 + docs-src/static/fonts/fa/fa-regular-400.ttf | Bin 0 -> 34092 bytes docs-src/static/fonts/fa/fa-regular-400.woff | Bin 0 -> 16800 bytes docs-src/static/fonts/fa/fa-regular-400.woff2 | Bin 0 -> 13600 bytes docs-src/static/fonts/fa/fa-solid-900.eot | Bin 0 -> 194078 bytes docs-src/static/fonts/fa/fa-solid-900.svg | 4700 +++++ docs-src/static/fonts/fa/fa-solid-900.ttf | Bin 0 -> 193792 bytes docs-src/static/fonts/fa/fa-solid-900.woff | Bin 0 -> 99004 bytes docs-src/static/fonts/fa/fa-solid-900.woff2 | Bin 0 -> 76120 bytes .../fonts/google/noto-sans-cyrillic-ext.woff2 | Bin 0 -> 12776 bytes .../fonts/google/noto-sans-cyrillic.woff2 | Bin 0 -> 5908 bytes .../fonts/google/noto-sans-devanagari.woff2 | Bin 0 -> 30608 bytes .../fonts/google/noto-sans-greek-ext.woff2 | Bin 0 -> 4008 bytes .../static/fonts/google/noto-sans-greek.woff2 | Bin 0 -> 7724 bytes .../fonts/google/noto-sans-latin-ext.woff2 | Bin 0 -> 18056 bytes .../static/fonts/google/noto-sans-latin.woff2 | Bin 0 -> 10292 bytes .../fonts/google/noto-sans-vietnamese.woff2 | Bin 0 -> 3556 bytes docs-src/static/icons/ocaml.svg | 1 + docs-src/static/icons/reason.svg | 1 + docs-src/static/logos/logo-color-16x16.png | Bin 0 -> 725 bytes docs-src/static/logos/logo-color-32x32.png | Bin 0 -> 1453 bytes docs-src/static/logos/logo-color-96x96.png | Bin 0 -> 3878 bytes docs-src/static/logos/nab-logo.svg | 16 + docs-src/store/README.md | 10 + docs-src/store/index.js | 53 + docs-src/test/nav/NavBar.spec.js | 9 + 70 files changed, 26741 insertions(+), 1 deletion(-) create mode 100644 docs-src/.babelrc create mode 100644 docs-src/.editorconfig create mode 100644 docs-src/.eslintrc.js create mode 100644 docs-src/.gitignore create mode 100644 docs-src/README.md create mode 100644 docs-src/assets/README.md create mode 100644 docs-src/assets/js/main-actions.js create mode 100644 docs-src/assets/js/pages.js create mode 100644 docs-src/assets/js/shared.js create mode 100644 docs-src/assets/sass/_bulma.scss create mode 100644 docs-src/assets/sass/_fonts.scss create mode 100644 docs-src/assets/sass/_icons.scss create mode 100644 docs-src/assets/sass/_markdown.scss create mode 100644 docs-src/assets/sass/_syntax-highlight-theme.scss create mode 100644 docs-src/assets/sass/main.scss create mode 100644 docs-src/components/Footer.vue create mode 100644 docs-src/components/ModeMenu.vue create mode 100644 docs-src/components/README.md create mode 100644 docs-src/components/nav/NavBar.vue create mode 100644 docs-src/content/docs/quick-start/basic-server.md create mode 100644 docs-src/content/docs/quick-start/installation.md create mode 100644 docs-src/content/docs/scaffolding.md create mode 100644 docs-src/jest.config.js create mode 100644 docs-src/jsconfig.json create mode 100644 docs-src/layouts/README.md create mode 100644 docs-src/layouts/default.vue create mode 100644 docs-src/middleware/README.md create mode 100644 docs-src/nuxt.config.js create mode 100644 docs-src/package-lock.json create mode 100644 docs-src/package.json create mode 100644 docs-src/pages/README.md create mode 100644 docs-src/pages/index.vue create mode 100644 docs-src/pages/quick-start/_page.vue create mode 100644 docs-src/pages/quick-start/index.vue create mode 100644 docs-src/plugins/README.md create mode 100644 docs-src/static/README.md create mode 100644 docs-src/static/favicon.ico create mode 100644 docs-src/static/fonts/fa/fa-brands-400.eot create mode 100644 docs-src/static/fonts/fa/fa-brands-400.svg create mode 100644 docs-src/static/fonts/fa/fa-brands-400.ttf create mode 100644 docs-src/static/fonts/fa/fa-brands-400.woff create mode 100644 docs-src/static/fonts/fa/fa-brands-400.woff2 create mode 100644 docs-src/static/fonts/fa/fa-regular-400.eot create mode 100644 docs-src/static/fonts/fa/fa-regular-400.svg create mode 100644 docs-src/static/fonts/fa/fa-regular-400.ttf create mode 100644 docs-src/static/fonts/fa/fa-regular-400.woff create mode 100644 docs-src/static/fonts/fa/fa-regular-400.woff2 create mode 100644 docs-src/static/fonts/fa/fa-solid-900.eot create mode 100644 docs-src/static/fonts/fa/fa-solid-900.svg create mode 100644 docs-src/static/fonts/fa/fa-solid-900.ttf create mode 100644 docs-src/static/fonts/fa/fa-solid-900.woff create mode 100644 docs-src/static/fonts/fa/fa-solid-900.woff2 create mode 100644 docs-src/static/fonts/google/noto-sans-cyrillic-ext.woff2 create mode 100644 docs-src/static/fonts/google/noto-sans-cyrillic.woff2 create mode 100644 docs-src/static/fonts/google/noto-sans-devanagari.woff2 create mode 100644 docs-src/static/fonts/google/noto-sans-greek-ext.woff2 create mode 100644 docs-src/static/fonts/google/noto-sans-greek.woff2 create mode 100644 docs-src/static/fonts/google/noto-sans-latin-ext.woff2 create mode 100644 docs-src/static/fonts/google/noto-sans-latin.woff2 create mode 100644 docs-src/static/fonts/google/noto-sans-vietnamese.woff2 create mode 100644 docs-src/static/icons/ocaml.svg create mode 100644 docs-src/static/icons/reason.svg create mode 100644 docs-src/static/logos/logo-color-16x16.png create mode 100644 docs-src/static/logos/logo-color-32x32.png create mode 100644 docs-src/static/logos/logo-color-96x96.png create mode 100644 docs-src/static/logos/nab-logo.svg create mode 100644 docs-src/store/README.md create mode 100644 docs-src/store/index.js create mode 100644 docs-src/test/nav/NavBar.spec.js diff --git a/.githooks/pre-commit b/.githooks/pre-commit index e7c3193..ccc544f 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -46,7 +46,7 @@ if [ "$allownonascii" != "true" ] && # even required, for portability to Solaris 10's /usr/bin/tr), since # the square bracket bytes happen to fall in the designated range. test $(git diff --cached --name-only --diff-filter=A -z $against | - LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 + LC_ALL=C tr -d '[ -~]\0'| wc -c) != 0 then cat <<\EOF Error: Attempt to add a non-ASCII file name. diff --git a/docs-src/.babelrc b/docs-src/.babelrc new file mode 100644 index 0000000..84c2e57 --- /dev/null +++ b/docs-src/.babelrc @@ -0,0 +1,16 @@ +{ + "env": { + "test": { + "presets": [ + [ + "@babel/preset-env", + { + "targets": { + "node": "current" + } + } + ] + ] + } + } +} diff --git a/docs-src/.editorconfig b/docs-src/.editorconfig new file mode 100644 index 0000000..5d12634 --- /dev/null +++ b/docs-src/.editorconfig @@ -0,0 +1,13 @@ +# editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/docs-src/.eslintrc.js b/docs-src/.eslintrc.js new file mode 100644 index 0000000..14f6432 --- /dev/null +++ b/docs-src/.eslintrc.js @@ -0,0 +1,18 @@ +module.exports = { + root: true, + env: { + browser: true, + node: true + }, + parserOptions: { + parser: 'babel-eslint' + }, + extends: [ + '@nuxtjs', + 'plugin:nuxt/recommended' + ], + // add your custom rules here + rules: { + semi: [2, "always"] + } +} diff --git a/docs-src/.gitignore b/docs-src/.gitignore new file mode 100644 index 0000000..e8f682b --- /dev/null +++ b/docs-src/.gitignore @@ -0,0 +1,90 @@ +# Created by .ignore support plugin (hsz.mobi) +### Node template +# Logs +/logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# next.js build output +.next + +# nuxt.js build output +.nuxt + +# Nuxt generate +dist + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless + +# IDE / Editor +.idea + +# Service worker +sw.* + +# macOS +.DS_Store + +# Vim swap files +*.swp diff --git a/docs-src/README.md b/docs-src/README.md new file mode 100644 index 0000000..6bcbe34 --- /dev/null +++ b/docs-src/README.md @@ -0,0 +1,22 @@ +# docs-src + +> Documentation for naboris + +## Build Setup + +``` bash +# install dependencies +$ npm install + +# serve with hot reload at localhost:3000 +$ npm run dev + +# build for production and launch server +$ npm run build +$ npm run start + +# generate static project +$ npm run generate +``` + +For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org). diff --git a/docs-src/assets/README.md b/docs-src/assets/README.md new file mode 100644 index 0000000..34766f9 --- /dev/null +++ b/docs-src/assets/README.md @@ -0,0 +1,7 @@ +# ASSETS + +**This directory is not required, you can delete it if you don't want to use it.** + +This directory contains your un-compiled assets such as LESS, SASS, or JavaScript. + +More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#webpacked). diff --git a/docs-src/assets/js/main-actions.js b/docs-src/assets/js/main-actions.js new file mode 100644 index 0000000..c8e02a7 --- /dev/null +++ b/docs-src/assets/js/main-actions.js @@ -0,0 +1,7 @@ +export default { + SET_DARK_MODE: 'TOGGLE_DARK_MODE', + SET_LANGUAGE: 'TOGGLE_LANGUAGE', + DARK_MODE: 'DARK_MODE', + LANG: 'LANG', + SET_LOADING: 'SET_LOADING' +}; diff --git a/docs-src/assets/js/pages.js b/docs-src/assets/js/pages.js new file mode 100644 index 0000000..05ca800 --- /dev/null +++ b/docs-src/assets/js/pages.js @@ -0,0 +1,4 @@ +export default { + MAIN: 'MAIN', + GETTING_STARTED: 'GETTING_STARTED' +}; diff --git a/docs-src/assets/js/shared.js b/docs-src/assets/js/shared.js new file mode 100644 index 0000000..1c891bd --- /dev/null +++ b/docs-src/assets/js/shared.js @@ -0,0 +1,60 @@ +import * as Cookie from 'js-cookie'; + +import actions from '~/assets/js/main-actions'; + +const { + SET_LANGUAGE, + SET_DARK_MODE, + DARK_MODE, + LANG, + SET_LOADING +} = actions; + +export default { + fetch ({ store }) { + const { + commit, + state + } = store; + const { + language, + darkMode + } = state; + + const storedLanguage = Cookie.get(LANG); + const storedDarkModeStr = Cookie.get(DARK_MODE); + + // eslint-disable-next-line no-console + console.log({ + storedDarkModeStr, + storedLanguage, + state: JSON.stringify(state) + }); + if (storedLanguage !== undefined && storedLanguage !== language) { + commit({ + type: SET_LANGUAGE, + language: storedLanguage + }); + } + + if (storedDarkModeStr) { + try { + const storedDarkMode = JSON.parse(storedDarkModeStr); + if (storedDarkMode !== darkMode) { + commit({ + type: SET_DARK_MODE, + darkMode: storedDarkMode + }); + } + } catch (e) { + // eslint-disable-next-line no-console + console.error(e); + } + } + + commit({ + type: SET_LOADING, + loading: false + }); + } +}; diff --git a/docs-src/assets/sass/_bulma.scss b/docs-src/assets/sass/_bulma.scss new file mode 100644 index 0000000..7c7c01b --- /dev/null +++ b/docs-src/assets/sass/_bulma.scss @@ -0,0 +1,19 @@ +@charset "utf-8"; +/*! bulma.io v0.8.0 | MIT License | github.com/jgthms/bulma */ +@import "../../node_modules/bulma/sass/utilities/_all"; +@import "../../node_modules/bulma/sass/base/_all"; +@import "../../node_modules/bulma/sass/elements/box.sass"; +@import "../../node_modules/bulma/sass/elements/button.sass"; +@import "../../node_modules/bulma/sass/elements/container.sass"; +@import "../../node_modules/bulma/sass/elements/content.sass"; +@import "../../node_modules/bulma/sass/elements/icon.sass"; +@import "../../node_modules/bulma/sass/elements/image.sass"; +@import "../../node_modules/bulma/sass/elements/notification.sass"; +@import "../../node_modules/bulma/sass/elements/progress.sass"; +@import "../../node_modules/bulma/sass/elements/table.sass"; +@import "../../node_modules/bulma/sass/elements/tag.sass"; +@import "../../node_modules/bulma/sass/elements/title.sass"; +@import "../../node_modules/bulma/sass/form/_all"; +@import "../../node_modules/bulma/sass/components/_all"; +@import "../../node_modules/bulma/sass/grid/_all"; +@import "../../node_modules/bulma/sass/layout/_all"; \ No newline at end of file diff --git a/docs-src/assets/sass/_fonts.scss b/docs-src/assets/sass/_fonts.scss new file mode 100644 index 0000000..e5acf1e --- /dev/null +++ b/docs-src/assets/sass/_fonts.scss @@ -0,0 +1,75 @@ +$google-font-path: "~static/fonts/google"; + + +/* cyrillic-ext */ +@font-face { + font-family: 'Noto Sans'; + font-style: normal; + font-weight: 400; + font-display: block; + src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-cyrillic-ext.woff2") format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Noto Sans'; + font-style: normal; + font-weight: 400; + font-display: block; + src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-cyrillic.woff2") format('woff2'); + unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* devanagari */ +@font-face { + font-family: 'Noto Sans'; + font-style: normal; + font-weight: 400; + font-display: block; + src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-devanagari.woff2") format('woff2'); + unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB; +} +/* greek-ext */ +@font-face { + font-family: 'Noto Sans'; + font-style: normal; + font-weight: 400; + font-display: block; + src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-greek-ext.woff2") format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Noto Sans'; + font-style: normal; + font-weight: 400; + font-display: block; + src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-greek.woff2") format('woff2'); + unicode-range: U+0370-03FF; +} +/* vietnamese */ +@font-face { + font-family: 'Noto Sans'; + font-style: normal; + font-weight: 400; + font-display: block; + src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-vietnamese.woff2") format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Noto Sans'; + font-style: normal; + font-weight: 400; + font-display: block; + src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-latin-ext.woff2") format('woff2'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Noto Sans'; + font-style: normal; + font-weight: 400; + font-display: block; + src: local('Noto Sans'), local('NotoSans'), url("#{$google-font-path}/noto-sans-latin.woff2") format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} \ No newline at end of file diff --git a/docs-src/assets/sass/_icons.scss b/docs-src/assets/sass/_icons.scss new file mode 100644 index 0000000..26ae878 --- /dev/null +++ b/docs-src/assets/sass/_icons.scss @@ -0,0 +1,27 @@ +.button { + svg { + fill: $white-bis; + height: 100%; + width: 100%; + margin-top: 5px; + } + + svg.is-danger { + fill: $danger; + } + + svg.is-warning { + fill: $warning; + } +} + +.navbar-item { + svg.naboris-svg { + height: 36px; + width: 36px; + margin-right: 5px; + path { + fill: $white-bis; + } + } +} \ No newline at end of file diff --git a/docs-src/assets/sass/_markdown.scss b/docs-src/assets/sass/_markdown.scss new file mode 100644 index 0000000..3180ba0 --- /dev/null +++ b/docs-src/assets/sass/_markdown.scss @@ -0,0 +1,7 @@ +.frontmatter-markdown { + + h4 { + margin-top: 3em; + } + +} \ No newline at end of file diff --git a/docs-src/assets/sass/_syntax-highlight-theme.scss b/docs-src/assets/sass/_syntax-highlight-theme.scss new file mode 100644 index 0000000..871b775 --- /dev/null +++ b/docs-src/assets/sass/_syntax-highlight-theme.scss @@ -0,0 +1,210 @@ +// code[class*="language-"], +// pre[class*="language-"] { +// color: #393A34; +// font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; +// direction: ltr; +// text-align: left; +// white-space: pre; +// word-spacing: normal; +// word-break: normal; +// font-size: .9em; +// line-height: 1.2em; + +// -moz-tab-size: 4; +// -o-tab-size: 4; +// tab-size: 4; + +// -webkit-hyphens: none; +// -moz-hyphens: none; +// -ms-hyphens: none; +// hyphens: none; +// } + +// pre > code[class*="language-"] { +// font-size: 1em; +// } + +// pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, +// code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { +// background: #C1DEF1; +// } + +// pre[class*="language-"]::selection, pre[class*="language-"] ::selection, +// code[class*="language-"]::selection, code[class*="language-"] ::selection { +// background: #C1DEF1; +// } + +/* Code blocks */ + +pre[class*="language-"] { + background-color: $white-ter; + color: $grey-darker; + visibility: visible; + opacity: 1; + transition: visibility 0s linear 0s, opacity 300ms; +} + +.code-dark-mode { + pre[class*="language-"] { + background-color: $grey-darker; + color: $grey-lighter; + } +} + +.loading { + pre[class*="language-"] { + visibility: hidden; + opacity: 0; + } +} + +// /* Inline code */ +// :not(pre) > code[class*="language-"] { +// padding: .2em; +// padding-top: 1px; +// padding-bottom: 1px; +// background: #f8f8f8; +// border: 1px solid #dddddd; +// } + +pre[class^="language-"] { + padding-left: 0px; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: $success; + font-style: italic; +} + +.token.namespace { + opacity: .7; +} + +.token.string { + color: $danger; +} + +.token.punctuation, +.token.operator { + color: $grey; +} + +.token.url, +.token.symbol, +.token.number, +.token.boolean, +.token.variable, +.token.constant, +.token.inserted { + color: $info; +} + +.token.atrule, +.token.keyword, +.token.attr-value, +.language-autohotkey .token.selector, +.language-json .token.boolean, +.language-json .token.number, +code[class*="language-css"] { + color: $link; +} + +.token.function { + color: $grey; +} + +.code-dark-mode { + .token.function { + color: $grey-light; + } +} + +.token.deleted, +.language-autohotkey .token.tag { + color: #9a050f; +} + +.token.selector, +.language-autohotkey .token.keyword { + color: #00009f; +} + +.token.important, +.token.bold { + font-weight: bold; +} + +.token.italic { + font-style: italic; +} + +.token.class-name, +.language-json .token.property { + color: $info; +} + +.token.tag, +.token.selector { + color: #800000; +} + +.token.attr-name, +.token.property, +.token.regex, +.token.entity { + color: $orange; +} + +.token.directive.tag .tag { + background: $yellow; + color: $grey-light; +} + +/* overrides color-values for the Line Numbers plugin + * http://prismjs.com/plugins/line-numbers/ + */ +.line-numbers .line-numbers-rows { + border-right-color: $grey-lighter; +} + +.line-numbers-rows > span:before { + color: $info; +} + +/* overrides color-values for the Line Highlight plugin +* http://prismjs.com/plugins/line-highlight/ +*/ +.line-highlight { + background: rgba(193, 222, 241, 0.2); + background: -webkit-linear-gradient(left, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0)); + background: linear-gradient(to right, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0)); +} + +.code-line-number { + display: inline-block; + width: 40px; + margin-left: 0px; + margin-right: 10px; + text-align: right; + color: $grey-light; + user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + -webkit-user-select: none; + -o-user-select: none; +} + +.show-ocaml { + pre.language-reason { + display: none; + } +} + +.show-reason { + pre.language-ocaml { + display: none; + } +} \ No newline at end of file diff --git a/docs-src/assets/sass/main.scss b/docs-src/assets/sass/main.scss new file mode 100644 index 0000000..0f806dc --- /dev/null +++ b/docs-src/assets/sass/main.scss @@ -0,0 +1,42 @@ +@charset "utf-8"; + +$camel: #c19a6b; +$inverted_camel: #3e6594; + +// general bulma colors +$cyan: #59a2d3; +$red: #c16b9a; +$green: #8cae7e; +$yellow: #b0ae7c; +$orange: #cb7c62; +$purple: #9f74b8; +$blue: #6579c7; +$turquoise: #69c3c1; + +$grey-darker: #20344b; +$grey-dark: #28415e; +$grey: hsl(32, 21%, 48%); +$grey-light: hsl(32, 44%, 71%); +$grey-lighter: hsl(30, 46%, 86%); +$grey-lightest: hsl(32, 49%, 93%); +$white-ter: hsl(32, 49%, 96%); +$white-bis: hsl(32, 49%, 98%); + +// bulma specifics +$family-sans-serif: 'Noto Sans', BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; +$family-serif: 'Noto Serif', serif; + +// font awesome +$fa-font-path: "~static/fonts/fa"; + +@import "./bulma.scss"; +@import "../../node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss"; +@import "../../node_modules/@fortawesome/fontawesome-free/scss/solid.scss"; +@import "../../node_modules/@fortawesome/fontawesome-free/scss/regular.scss"; +@import "../../node_modules/@fortawesome/fontawesome-free/scss/brands.scss"; + +// our imports +@import "./syntax-highlight-theme.scss"; +@import "./fonts.scss"; +@import "./markdown.scss"; +@import "./icons.scss"; \ No newline at end of file diff --git a/docs-src/components/Footer.vue b/docs-src/components/Footer.vue new file mode 100644 index 0000000..89d23f9 --- /dev/null +++ b/docs-src/components/Footer.vue @@ -0,0 +1,58 @@ +