Upgrade theme and remove hexo files

This commit is contained in:
Trevor Blades
2019-03-15 14:47:02 -07:00
parent cae972fa34
commit 7b3c992db9
3 changed files with 225 additions and 132 deletions

View File

@@ -1,117 +0,0 @@
@color-primary: #22a699;
@color-secondary: #e535ab;
.docstart {
width: 100%;
height: 390px;
//border-right: 0px solid #22A699;
//border:0px solid #22A699;
}
.docstart .pop-banner {
background-color: fade(@color-primary, 5%);
border: 2px solid @color-primary;
padding: 0.5rem;
margin-left: 20%;
margin-right: 20%;
margin-bottom: 2rem;
.pb-content {
padding-left: 0;
padding-right: 0;
}
.pb-early-access {
font-weight: 700;
letter-spacing: 0.25em;
text-transform: uppercase;
color: @color-primary;
}
.pb-head {
font-weight: bold;
font-size: 1.1rem;
}
.pb-link,
.pb-link a {
color: @color-primary;
text-decoration: underline;
}
}
.fundamentals,
.quickstart,
.guides {
//border:0px solid #22A699;
width: 33.3%;
float: left;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 10px;
padding-right: 10px;
border-right: 0px;
p {
font-size: 0.8rem;
line-height: 1.5rem;
color: #81849b;
}
}
.headers {
padding-top: 10px;
padding-bottom: 10px;
}
#documentation-heading {
font-size: 20px;
}
.documentation-buttons {
display: flex;
justify-content: space-evenly;
width: 100%;
max-width: 640px;
margin: 0 auto 24px;
.btn.default {
color: white;
border: 2px solid @color-secondary;
border-radius: 3em;
text-indent: 0.1em;
letter-spacing: 0.1em;
text-transform: uppercase;
font-size: 14px;
line-height: 20px;
font-weight: 600;
padding: 12px 24px;
background-color: @color-secondary;
&.hollow {
color: @color-secondary;
background-color: white;
}
@media (max-width: 480px) {
font-size: 9px;
padding: 6px 12px;
}
}
}
// /*
// ##Device = Most of the Smartphones Mobiles (Portrait)
// ##Screen = B/w 320px to 479px
// */
@media (min-width: 320px) and (max-width: 480px) {
.docstart .pop-banner {
margin-left: 0;
margin-right: 0;
padding-left: 2rem;
padding-right: 2rem;
.pb-head {
padding-top: 0.3rem;
padding-bottom: 0.3rem;
}
.pb-link {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
}
}

238
docs/package-lock.json generated
View File

@@ -2740,6 +2740,11 @@
}
}
},
"clone": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
"integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18="
},
"clone-deep": {
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-0.2.4.tgz",
@@ -5823,6 +5828,15 @@
"@emotion/babel-preset-css-prop": "^10.0.5"
}
},
"gatsby-plugin-less": {
"version": "2.0.12",
"resolved": "https://registry.npmjs.org/gatsby-plugin-less/-/gatsby-plugin-less-2.0.12.tgz",
"integrity": "sha512-99/unXnBI9lrLbmMboOUUo23B8HvzMVzYUy0oiU5UbaowwhQp0ILAtOjmR2tiOLRcn7ZWlM4pdKz3EUu6B3kLQ==",
"requires": {
"@babel/runtime": "^7.0.0",
"less-loader": "^4.1.0"
}
},
"gatsby-plugin-page-creator": {
"version": "2.0.9",
"resolved": "https://registry.npmjs.org/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-2.0.9.tgz",
@@ -5848,14 +5862,14 @@
}
},
"gatsby-plugin-svgr": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/gatsby-plugin-svgr/-/gatsby-plugin-svgr-2.0.1.tgz",
"integrity": "sha512-iNhS3e8TrWkrPY5EgrWpKoxh13DEcP3f8DrVGQ0mz8qafCHxcxjLUKaCUO6WZlgxsANIhm3dMXiABvqAebApzw=="
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/gatsby-plugin-svgr/-/gatsby-plugin-svgr-2.0.2.tgz",
"integrity": "sha512-54REIMe79qFBAwpcnWHBkvEE9CKoEVkefF9rDXai0k642r91SZ4UeWFuAmsegPG+sPVub7tHfHu/2LVXK1I9kg=="
},
"gatsby-plugin-typography": {
"version": "2.2.9",
"resolved": "https://registry.npmjs.org/gatsby-plugin-typography/-/gatsby-plugin-typography-2.2.9.tgz",
"integrity": "sha512-UBMQHJT1rPoihoMxRTNHF30JzuAznfe8AJP3mGZ3DwsgkUfcceIlDe3ckPSND03A3vQoXDXwzoLCKQnrHNSoyQ==",
"version": "2.2.10",
"resolved": "https://registry.npmjs.org/gatsby-plugin-typography/-/gatsby-plugin-typography-2.2.10.tgz",
"integrity": "sha512-sg9UkDrn3C3EN+yBSrUNzbGIlw1k1Qc6rYZWuXeqNEuQfdWJfqJMVzVhhriBDz2sC2bU6Wh/NnQ2vXVkRs4bKw==",
"requires": {
"@babel/runtime": "^7.0.0"
}
@@ -5871,9 +5885,9 @@
}
},
"gatsby-theme-apollo": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/gatsby-theme-apollo/-/gatsby-theme-apollo-0.1.3.tgz",
"integrity": "sha512-9rl/21bNjKm3I/WMIe6PKcITG7xTcorBnm2afkoH0ROaOVECgPS3KLPKvbRLm+Rdr5NkJhIQhRR0gITNmMpT5Q==",
"version": "0.1.6",
"resolved": "https://registry.npmjs.org/gatsby-theme-apollo/-/gatsby-theme-apollo-0.1.6.tgz",
"integrity": "sha512-CtZeVBJeA2HznqX1PKR53SQ1DOXG6fpsUYN8j+LWbq2w3UZgtIg4VxJATEmfeRhTAO8kR5+Xnvfh96cgspDbJA==",
"requires": {
"@emotion/core": "^10.0.7",
"@emotion/styled": "^10.0.7",
@@ -5894,15 +5908,21 @@
}
},
"gatsby-theme-apollo-docs": {
"version": "0.2.11",
"resolved": "https://registry.npmjs.org/gatsby-theme-apollo-docs/-/gatsby-theme-apollo-docs-0.2.11.tgz",
"integrity": "sha512-hl4/wTRt3eU9ziYyRYd+4rX1t5U/W4VjxkLwZFAGRqIPBYGg6/o+gi17uJz8xCLp0dqqMiJsKgSS+wZd1qwe4Q==",
"version": "0.2.24",
"resolved": "https://registry.npmjs.org/gatsby-theme-apollo-docs/-/gatsby-theme-apollo-docs-0.2.24.tgz",
"integrity": "sha512-7MntmA3AlwjxrFnumfiKL/znbh3+FO3AqVo05T9zsyojKK8iMtqHSB/GOqsCTPPwzJnqrYIJwVJMLapaXFwAPA==",
"requires": {
"detab": "^2.0.1",
"gatsby": "^2.0.91",
"gatsby-theme-apollo": "^0.1.3",
"gatsby-plugin-less": "^2.0.12",
"gatsby-theme-apollo": "^0.1.6",
"gray-matter": "^4.0.1",
"handlebars": "^4.1.0",
"hast-util-is-element": "^1.0.2",
"hexo-typescript-api-box": "^0.9.2",
"js-yaml": "^3.12.1",
"less": "^3.9.0",
"lodash": "^4.17.11",
"polished": "^2.3.3",
"prismjs": "^1.15.0",
"prop-types": "^15.6.2",
@@ -5920,8 +5940,10 @@
"remark-rehype": "^4.0.0",
"semver": "^5.6.0",
"semver-match": "^0.1.1",
"showdown": "^1.9.0",
"simple-git": "^1.107.0",
"unist-builder": "^1.0.3"
"unist-builder": "^1.0.3",
"unist-util-visit": "^1.4.0"
}
},
"get-caller-file": {
@@ -6216,6 +6238,32 @@
"resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.0.tgz",
"integrity": "sha512-d4sze1JNC454Wdo2fkuyzCr6aHcbL6PGGuFAz0Li/NcOm1tCHGnWDRmJP85dh9IhQErTc2svWFEX5xHIOo//kQ=="
},
"handlebars": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.1.0.tgz",
"integrity": "sha512-l2jRuU1NAWK6AW5qqcTATWQJvNPEwkM7NEKSiv/gqOsoSQbVoWyqVEY5GS+XPQ88zLNmqASRpzfdm8d79hJS+w==",
"requires": {
"async": "^2.5.0",
"optimist": "^0.6.1",
"source-map": "^0.6.1",
"uglify-js": "^3.1.4"
},
"dependencies": {
"async": {
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/async/-/async-2.6.2.tgz",
"integrity": "sha512-H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg==",
"requires": {
"lodash": "^4.17.11"
}
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
}
}
},
"har-schema": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
@@ -6424,6 +6472,16 @@
"resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz",
"integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ=="
},
"hexo-typescript-api-box": {
"version": "0.9.2",
"resolved": "https://registry.npmjs.org/hexo-typescript-api-box/-/hexo-typescript-api-box-0.9.2.tgz",
"integrity": "sha512-xAe0uUna/GNcXYrZ2+ZOZfqfVetSwJ2SkDJoSUVy8L02eH6rVsE5cUvbaMuP4+VfwZAPTZDqRLSQlSh+E/UrIQ==",
"requires": {
"handlebars": "^4.0.5",
"lodash": "^4.13.1",
"showdown": "^1.4.2"
}
},
"hmac-drbg": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz",
@@ -6631,6 +6689,12 @@
"resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
"integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg=="
},
"image-size": {
"version": "0.5.5",
"resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz",
"integrity": "sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=",
"optional": true
},
"immutable": {
"version": "3.7.6",
"resolved": "https://registry.npmjs.org/immutable/-/immutable-3.7.6.tgz",
@@ -7358,6 +7422,53 @@
"invert-kv": "^1.0.0"
}
},
"less": {
"version": "3.9.0",
"resolved": "https://registry.npmjs.org/less/-/less-3.9.0.tgz",
"integrity": "sha512-31CmtPEZraNUtuUREYjSqRkeETFdyEHSEPAGq4erDlUXtda7pzNmctdljdIagSb589d/qXGWiiP31R5JVf+v0w==",
"requires": {
"clone": "^2.1.2",
"errno": "^0.1.1",
"graceful-fs": "^4.1.2",
"image-size": "~0.5.0",
"mime": "^1.4.1",
"mkdirp": "^0.5.0",
"promise": "^7.1.1",
"request": "^2.83.0",
"source-map": "~0.6.0"
},
"dependencies": {
"mime": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
"integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
"optional": true
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"optional": true
}
}
},
"less-loader": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/less-loader/-/less-loader-4.1.0.tgz",
"integrity": "sha512-KNTsgCE9tMOM70+ddxp9yyt9iHqgmSs0yTZc5XH5Wo+g80RWRIYNqE58QJKm/yMud5wZEvz50ugRDuzVIkyahg==",
"requires": {
"clone": "^2.1.1",
"loader-utils": "^1.1.0",
"pify": "^3.0.0"
},
"dependencies": {
"pify": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
"integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY="
}
}
},
"leven": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz",
@@ -8372,6 +8483,27 @@
"is-wsl": "^1.1.0"
}
},
"optimist": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
"integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
"requires": {
"minimist": "~0.0.1",
"wordwrap": "~0.0.2"
},
"dependencies": {
"minimist": {
"version": "0.0.10",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
"integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8="
},
"wordwrap": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
"integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc="
}
}
},
"optimize-css-assets-webpack-plugin": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-5.0.1.tgz",
@@ -10715,6 +10847,66 @@
"jsonify": "~0.0.0"
}
},
"showdown": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/showdown/-/showdown-1.9.0.tgz",
"integrity": "sha512-x7xDCRIaOlicbC57nMhGfKamu+ghwsdVkHMttyn+DelwzuHOx4OHCVL/UW/2QOLH7BxfCcCCVVUix3boKXJKXQ==",
"requires": {
"yargs": "^10.0.3"
},
"dependencies": {
"ansi-regex": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
"integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg="
},
"cliui": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz",
"integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==",
"requires": {
"string-width": "^2.1.1",
"strip-ansi": "^4.0.0",
"wrap-ansi": "^2.0.0"
}
},
"strip-ansi": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
"integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
"requires": {
"ansi-regex": "^3.0.0"
}
},
"yargs": {
"version": "10.1.2",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-10.1.2.tgz",
"integrity": "sha512-ivSoxqBGYOqQVruxD35+EyCFDYNEFL/Uo6FcOnz+9xZdZzK0Zzw4r4KhbrME1Oo2gOggwJod2MnsdamSG7H9ig==",
"requires": {
"cliui": "^4.0.0",
"decamelize": "^1.1.1",
"find-up": "^2.1.0",
"get-caller-file": "^1.0.1",
"os-locale": "^2.0.0",
"require-directory": "^2.1.1",
"require-main-filename": "^1.0.1",
"set-blocking": "^2.0.0",
"string-width": "^2.0.0",
"which-module": "^2.0.0",
"y18n": "^3.2.1",
"yargs-parser": "^8.1.0"
}
},
"yargs-parser": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-8.1.0.tgz",
"integrity": "sha512-yP+6QqN8BmrgW2ggLtTbdrOyBNSI7zBa4IykmiV5R1wl1JWNxQvWhMfMdmzIYtKU7oP3OOInY/tl2ov3BDjnJQ==",
"requires": {
"camelcase": "^4.1.0"
}
}
}
},
"sift": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/sift/-/sift-5.1.0.tgz",
@@ -11835,6 +12027,24 @@
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.19.tgz",
"integrity": "sha512-T3PVJ6uz8i0HzPxOF9SWzWAlfN/DavlpQqepn22xgve/5QecC+XMCAtmUNnY7C9StehaV6exjUCI801lOI7QlQ=="
},
"uglify-js": {
"version": "3.4.10",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.10.tgz",
"integrity": "sha512-Y2VsbPVs0FIshJztycsO2SfPk7/KAF/T72qzv9u5EpQ4kB2hQoHlhNQTsNyy6ul7lQtqJN/AoWeS23OzEiEFxw==",
"optional": true,
"requires": {
"commander": "~2.19.0",
"source-map": "~0.6.1"
},
"dependencies": {
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"optional": true
}
}
},
"unc-path-regex": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz",

View File

@@ -4,6 +4,6 @@
},
"dependencies": {
"gatsby": "^2.1.23",
"gatsby-theme-apollo-docs": "^0.2.11"
"gatsby-theme-apollo-docs": "^0.2.24"
}
}