mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-16 14:23:31 -06:00
Compare commits
28 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
6a6cc20620 | ||
|
5e5e2438d2 | ||
|
786678a6a2 | ||
|
4d95f9937a | ||
|
7404c6f6e0 | ||
|
f636d5abfd | ||
|
27123d43ad | ||
|
a95e78f80d | ||
|
09896921e4 | ||
|
7b3c5169c0 | ||
|
7451cb5bdf | ||
|
39a5854144 | ||
|
7defb3164b | ||
|
5dd80bf749 | ||
|
1a22f052e9 | ||
|
117195fb1c | ||
|
ac5c99c77c | ||
|
765954233a | ||
|
19dbd776c1 | ||
|
38a34af2c0 | ||
|
cc9bead2e9 | ||
|
9a0b518f0e | ||
|
67d7465dbe | ||
|
16fe752dbc | ||
|
1999256809 | ||
|
6a55d05f30 | ||
|
5f59793766 | ||
|
56a2dc560a |
21
.github/workflows/publish-gem.yml
vendored
21
.github/workflows/publish-gem.yml
vendored
@@ -27,13 +27,14 @@ jobs:
|
|||||||
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
|
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
|
||||||
OWNER: ${{ github.repository_owner }}
|
OWNER: ${{ github.repository_owner }}
|
||||||
|
|
||||||
- name: Publish to RubyGems
|
# Disabled as this does not handle 2FA
|
||||||
run: |
|
# - name: Publish to RubyGems
|
||||||
mkdir -p $HOME/.gem
|
# run: |
|
||||||
touch $HOME/.gem/credentials
|
# mkdir -p $HOME/.gem
|
||||||
chmod 0600 $HOME/.gem/credentials
|
# touch $HOME/.gem/credentials
|
||||||
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
# chmod 0600 $HOME/.gem/credentials
|
||||||
gem build *.gemspec
|
# printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
||||||
gem push *.gem
|
# gem build *.gemspec
|
||||||
env:
|
# gem push *.gem
|
||||||
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
# env:
|
||||||
|
# GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
package.json
|
|
||||||
package-lock.json
|
package-lock.json
|
||||||
_site
|
_site
|
||||||
assets/css/just-the-docs-default.scss
|
assets/css/just-the-docs-default.scss
|
||||||
@@ -6,5 +5,7 @@ assets/css/just-the-docs-light.scss
|
|||||||
assets/css/just-the-docs-dark.scss
|
assets/css/just-the-docs-dark.scss
|
||||||
assets/js/vendor/lunr.min.js
|
assets/js/vendor/lunr.min.js
|
||||||
assets/js/search-data.json
|
assets/js/search-data.json
|
||||||
|
assets/js/zzzz-search-data.json
|
||||||
assets/js/just-the-docs.js
|
assets/js/just-the-docs.js
|
||||||
*.md
|
*.md
|
||||||
|
_includes/mermaid_config.js
|
||||||
|
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"endOfLine": "lf",
|
|
||||||
"semi": false,
|
|
||||||
"singleQuote": false,
|
|
||||||
"tabWidth": 2,
|
|
||||||
"trailingComma": "es5"
|
|
||||||
}
|
|
@@ -1,20 +0,0 @@
|
|||||||
{
|
|
||||||
"ignoreFiles": [
|
|
||||||
"assets/css/just-the-docs-default.scss",
|
|
||||||
"assets/css/just-the-docs-light.scss",
|
|
||||||
"assets/css/just-the-docs-dark.scss",
|
|
||||||
"_sass/vendor/**/*.scss"
|
|
||||||
],
|
|
||||||
"extends": [
|
|
||||||
"stylelint-config-standard-scss",
|
|
||||||
"stylelint-config-prettier-scss"
|
|
||||||
],
|
|
||||||
"plugins": ["stylelint-prettier"],
|
|
||||||
"rules": {
|
|
||||||
"prettier/prettier": true,
|
|
||||||
"alpha-value-notation": null,
|
|
||||||
"color-function-notation": null,
|
|
||||||
"no-descending-specificity": null,
|
|
||||||
"scss/no-global-function-names": null
|
|
||||||
}
|
|
||||||
}
|
|
99
CHANGELOG.md
99
CHANGELOG.md
@@ -16,15 +16,108 @@ The project underwent a major maintenance shift in March 2022.
|
|||||||
This website is built from the `HEAD` of the `main` branch of the theme repository.
|
This website is built from the `HEAD` of the `main` branch of the theme repository.
|
||||||
|
|
||||||
{: .warning }
|
{: .warning }
|
||||||
This website includes docs for some new features that are not available in `v0.4.1`!
|
This website includes docs for some new features that are not available in `v0.5.0`!
|
||||||
|
|
||||||
Code changes to `main` that are *not* in the latest release:
|
Code changes to `main` that are *not* in the latest release:
|
||||||
|
|
||||||
- N/A
|
- n/a
|
||||||
|
|
||||||
Docs changes in `main` that are *not* in the latest release:
|
Docs changes in `main` that are *not* in the latest release:
|
||||||
|
|
||||||
- N/A
|
- n/a
|
||||||
|
|
||||||
|
## Release v0.5.0
|
||||||
|
|
||||||
|
Hope your April is going well! This new release of Just the Docs is relatively minor. It has one **breaking change**: we've reverted the import order of `setup.scss` to be *before* color schemes. In addition, we include two requested fixes: color contrast issues with `::selection` and using Just the Docs with mermaid versions `>=10`.
|
||||||
|
|
||||||
|
We've marked this as a minor version bump due to the breaking change. In the next section, we briefly outline what migration steps should be. Users who did not migrate to `v0.4.2` or who do not have a custom `setup.scss` are guaranteed no breaking changes.
|
||||||
|
|
||||||
|
As always, we'd love your feedback. [Open an issue](https://github.com/just-the-docs/just-the-docs/issues) or [start a discussion](https://github.com/just-the-docs/just-the-docs/discussions) for bug reports, feature requests, and any other feedback. Thanks for continuing to use Just the Docs!
|
||||||
|
|
||||||
|
### Migrating to `v0.5.0`
|
||||||
|
|
||||||
|
**Migration**: users with a custom `setup.scss` cannot rely on variables or functions defined in `color_scheme`. This reverts to the behaviour in `v0.4.1`. Users should instead move those variables or functions to the `color_scheme` files themselves.
|
||||||
|
|
||||||
|
For more, refer to the [migration guide](https://just-the-docs.github.io/just-the-docs/MIGRATION/).
|
||||||
|
|
||||||
|
### Using Release `v0.5.0`
|
||||||
|
|
||||||
|
Users who have not pinned the theme version will be **automatically upgraded to `v0.5.0` the next time they build their site**.
|
||||||
|
|
||||||
|
To use this release explicitly as a remote theme:
|
||||||
|
|
||||||
|
```yml
|
||||||
|
remote_theme: just-the-docs/just-the-docs@v0.5.0
|
||||||
|
```
|
||||||
|
|
||||||
|
To use this version explicitly as a gem-based theme, pin the version in your `Gemfile` and re-run `bundle install` or `bundle update just-the-docs`:
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
gem "just-the-docs", "0.5.0"
|
||||||
|
```
|
||||||
|
|
||||||
|
To use and pin a previous version of the theme, replace the `0.5.0` with the desired release tag.
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
- **Reverted (breaking)**: "Fix import order for `setup.scss` (#1184)" by [@mattxwang] in [#1209]
|
||||||
|
- Fixed: color contrast issues with `::selection` (reverting to browser defaults) [@mattxwang] in [#1208]
|
||||||
|
- Fixed: mermaid `v10`, bundle all mermaid code in component by [@mattxwang] in [#1190]
|
||||||
|
- Removed: unused images (`just-the-docs.png`, `search.svg`) by [@mattxwang] in [#1107]
|
||||||
|
- Removed: `CODE_OF_CONDUCT`, `docker-compose`, and `Dockerfile` files from site by [@mattxwang] in [#1187]
|
||||||
|
|
||||||
|
**Full Changelog**: [https://github.com/just-the-docs/just-the-docs/compare/v0.4.2...v0.5.0](https://github.com/just-the-docs/just-the-docs/compare/v0.4.2...v0.5.0)
|
||||||
|
|
||||||
|
[#1107]: https://github.com/just-the-docs/just-the-docs/pull/1107
|
||||||
|
[#1187]: https://github.com/just-the-docs/just-the-docs/pull/1187
|
||||||
|
[#1190]: https://github.com/just-the-docs/just-the-docs/pull/1190
|
||||||
|
[#1208]: https://github.com/just-the-docs/just-the-docs/pull/1208
|
||||||
|
[#1209]: https://github.com/just-the-docs/just-the-docs/pull/1209
|
||||||
|
|
||||||
|
## Release v0.4.2
|
||||||
|
|
||||||
|
Hello! We're back again with another small release. Like `v0.4.1`, this release is a [semver patch](https://semver.org/): it only includes bugfixes, and is fully backwards-compatible.
|
||||||
|
|
||||||
|
The big highlight of this theme is fixing our light scheme code highlighting contrast issues; this was one of our most-requested features! This change is fully backwards-compatible; users can [opt-in to our old highlighting theme](https://just-the-docs.github.io/just-the-docs/docs/customization/#deprecated-legacy_light) by using `legacy_light` instead of `light`.
|
||||||
|
|
||||||
|
As always, we'd love your feedback. [Open an issue](https://github.com/just-the-docs/just-the-docs/issues) or [start a discussion](https://github.com/just-the-docs/just-the-docs/discussions) for bug reports, feature requests, and any other feedback. Thanks for continuing to use Just the Docs!
|
||||||
|
|
||||||
|
### Using Release `v0.4.2`
|
||||||
|
|
||||||
|
Users who have not pinned the theme version will be **automatically upgraded to `v0.4.2` the next time they build their site**.
|
||||||
|
|
||||||
|
To use this release explicitly as a remote theme:
|
||||||
|
|
||||||
|
```yml
|
||||||
|
remote_theme: just-the-docs/just-the-docs@v0.4.2
|
||||||
|
```
|
||||||
|
|
||||||
|
To use this RC explicitly as a gem-based theme, pin the version in your `Gemfile` and re-run `bundle install` or `bundle update just-the-docs`:
|
||||||
|
|
||||||
|
```ruby
|
||||||
|
gem "just-the-docs", "0.4.2"
|
||||||
|
```
|
||||||
|
|
||||||
|
To use and pin a previous version of the theme, replace the `0.4.2` with the desired release tag.
|
||||||
|
|
||||||
|
### Bugfixes
|
||||||
|
|
||||||
|
- Fixed: light scheme code highlighting contrast issues; updated to use Atom's One Light colors, consolidate theme variables by [@mattxwang] in [#1166]
|
||||||
|
- Fixed: duplicate import of `color_schemes` by [@mattxwang] in [#1173]
|
||||||
|
- Fixed: import order for `setup.scss` by [@mattxwang] in [#1184]
|
||||||
|
- Removed: unused dark syntax themes by [@mattxwang] in [#1192]
|
||||||
|
|
||||||
|
### Documentation
|
||||||
|
|
||||||
|
- Added: docs for using mermaid with AsciiDoc by [@flyx] in [#1182]
|
||||||
|
|
||||||
|
**Full Changelog**: [https://github.com/just-the-docs/just-the-docs/compare/v0.4.1...v0.4.2](https://github.com/just-the-docs/just-the-docs/compare/v0.4.1...v0.4.2)
|
||||||
|
|
||||||
|
[#1166]: https://github.com/just-the-docs/just-the-docs/pull/1166
|
||||||
|
[#1173]: https://github.com/just-the-docs/just-the-docs/pull/1173
|
||||||
|
[#1182]: https://github.com/just-the-docs/just-the-docs/pull/1182
|
||||||
|
[#1184]: https://github.com/just-the-docs/just-the-docs/pull/1184
|
||||||
|
[#1192]: https://github.com/just-the-docs/just-the-docs/pull/1192
|
||||||
|
|
||||||
## Release v0.4.1
|
## Release v0.4.1
|
||||||
|
|
||||||
|
19
MIGRATION.md
19
MIGRATION.md
@@ -43,6 +43,25 @@ This document contains instructions on how to migrate and upgrade Just the Docs
|
|||||||
|
|
||||||
[CHANGELOG]: {{ site.baseurl }}{% link CHANGELOG.md %}
|
[CHANGELOG]: {{ site.baseurl }}{% link CHANGELOG.md %}
|
||||||
|
|
||||||
|
## v0.4.x - v0.5.0
|
||||||
|
|
||||||
|
### POTENTIALLY-BREAKING CHANGES in v0.5.0
|
||||||
|
|
||||||
|
There is one potentially-breaking change for users migrating from `v0.4.2` to `v0.5.0` concering `setup.scss`. To provide context:
|
||||||
|
|
||||||
|
1. `setup.scss` was introduced in `v0.4.0`
|
||||||
|
2. in `v0.4.0` and `v0.4.1`, `setup.scss` was imported *before* color scheme SCSS code
|
||||||
|
3. in `v0.4.2`, we adjusted the order to import `setup.scss` *after* color scheme SCSS code
|
||||||
|
4. in `v0.5.0`, we have reverted the previous change: `setup.scss` is now again imported *before* color scheme SCSS code
|
||||||
|
|
||||||
|
This does not affect most users. Users who did not migrate to `v0.4.2` or who do not have a custom `setup.scss` are guaranteed no breaking changes.
|
||||||
|
|
||||||
|
Explicit migration steps are only needed if:
|
||||||
|
|
||||||
|
1. a custom `setup.scss` has been defined,
|
||||||
|
2. **and** the `setup.scss` depends on variables or functions defined in color scheme SCSS code; this change was only possible on `v0.4.2`
|
||||||
|
|
||||||
|
For those users, we suggest moving those variables and functions to each relevant color scheme.
|
||||||
## v0.3.3 … v0.4.x
|
## v0.3.3 … v0.4.x
|
||||||
|
|
||||||
### REPOSITORY CHANGES
|
### REPOSITORY CHANGES
|
||||||
|
11
_config.yml
11
_config.yml
@@ -43,6 +43,9 @@ exclude:
|
|||||||
- package-lock.json
|
- package-lock.json
|
||||||
- Rakefile
|
- Rakefile
|
||||||
- README.md
|
- README.md
|
||||||
|
- CODE_OF_CONDUCT.md
|
||||||
|
- docker-compose.yml
|
||||||
|
- Dockerfile
|
||||||
# theme test code
|
# theme test code
|
||||||
- fixtures/
|
- fixtures/
|
||||||
|
|
||||||
@@ -79,8 +82,6 @@ search:
|
|||||||
# For copy button on code
|
# For copy button on code
|
||||||
enable_copy_code_button: true
|
enable_copy_code_button: true
|
||||||
|
|
||||||
# To disable support for mermaid diagrams (https://mermaid.js.org),
|
|
||||||
# comment out the `mermaid` and `version` keys below
|
|
||||||
# By default, consuming the theme as a gem leaves mermaid disabled; it is opt-in
|
# By default, consuming the theme as a gem leaves mermaid disabled; it is opt-in
|
||||||
mermaid:
|
mermaid:
|
||||||
# Version of mermaid library
|
# Version of mermaid library
|
||||||
@@ -88,8 +89,12 @@ mermaid:
|
|||||||
version: "9.1.6"
|
version: "9.1.6"
|
||||||
# Put any additional configuration, such as setting the theme, in _includes/mermaid_config.js
|
# Put any additional configuration, such as setting the theme, in _includes/mermaid_config.js
|
||||||
# See also docs/ui-components/code
|
# See also docs/ui-components/code
|
||||||
# To load mermaid from a local file use the `path` key to specify the location of the library instead; e.g.
|
# To load mermaid from a local library, also use the `path` key to specify the location of the library; e.g.
|
||||||
|
# for (v10+):
|
||||||
|
# path: "/assets/js/mermaid.esm.min.mjs"
|
||||||
|
# for (<v10):
|
||||||
# path: "/assets/js/mermaid.min.js"
|
# path: "/assets/js/mermaid.min.js"
|
||||||
|
# Note: copy both `mermaid.esm.min.mjs` (v10+) or `mermaid.min.js` (<v10) and the associated `.map` file from the specified version of `mermaid/dist` to `/assets/js/`.
|
||||||
|
|
||||||
# Enable or disable heading anchors
|
# Enable or disable heading anchors
|
||||||
heading_anchors: true
|
heading_anchors: true
|
||||||
|
@@ -1,5 +1,45 @@
|
|||||||
|
{% comment %}
|
||||||
|
The complexity of this file comes from a breaking change in Mermaid v10; mermaid.init has been deprecated (and supposedly, didn't work earlier?).
|
||||||
|
|
||||||
|
So, we check whether the user's Mermaid version is >= 10; if not, we fall back to the previous init syntax.
|
||||||
|
|
||||||
|
If a user is using a custom mermaid file and doesn't specify a version, we default to the < v10 behaviour. Users who use version v10 or above should specify this in the version key.
|
||||||
|
{% endcomment %}
|
||||||
|
|
||||||
|
{% if site.mermaid.version %}
|
||||||
|
{% assign mermaid_major_version = site.mermaid.version | split: "." | first | plus: 0 %}
|
||||||
|
{% else %}
|
||||||
|
{% assign mermaid_major_version = 9 %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if mermaid_major_version > 9 %}
|
||||||
|
|
||||||
|
<script type="module">
|
||||||
|
{% if site.mermaid.path %}
|
||||||
|
import mermaid from '{{ site.mermaid.path | relative_url }}';
|
||||||
|
{% else %}
|
||||||
|
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@{{ site.mermaid.version }}/dist/mermaid.esm.min.mjs';
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
var config = {% include mermaid_config.js %};
|
||||||
|
mermaid.initialize(config);
|
||||||
|
mermaid.run({
|
||||||
|
querySelector: '.language-mermaid',
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
|
||||||
|
{% if site.mermaid.path %}
|
||||||
|
<script src="{{ site.mermaid.path | relative_url }}"></script>
|
||||||
|
{% else %}
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/mermaid@{{ site.mermaid.version }}/dist/mermaid.min.js"></script>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var config = {% include mermaid_config.js %};
|
var config = {% include mermaid_config.js %};
|
||||||
mermaid.initialize(config);
|
mermaid.initialize(config);
|
||||||
window.mermaid.init(undefined, document.querySelectorAll('.language-mermaid'));
|
window.mermaid.init(undefined, document.querySelectorAll('.language-mermaid'));
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
@@ -4,7 +4,9 @@ $logo: "{{ site.logo | relative_url }}";
|
|||||||
@import "./support/support";
|
@import "./support/support";
|
||||||
@import "./custom/setup";
|
@import "./custom/setup";
|
||||||
@import "./color_schemes/light";
|
@import "./color_schemes/light";
|
||||||
|
{% unless include.color_scheme == "light" %}
|
||||||
@import "./color_schemes/{{ include.color_scheme }}";
|
@import "./color_schemes/{{ include.color_scheme }}";
|
||||||
|
{% endunless %}
|
||||||
@import "./modules";
|
@import "./modules";
|
||||||
{% include css/callouts.scss.liquid color_scheme = include.color_scheme %}
|
{% include css/callouts.scss.liquid color_scheme = include.color_scheme %}
|
||||||
{% include css/custom.scss.liquid %}
|
{% include css/custom.scss.liquid %}
|
||||||
|
@@ -22,14 +22,6 @@
|
|||||||
<script src="{{ '/assets/js/vendor/lunr.min.js' | relative_url }}"></script>
|
<script src="{{ '/assets/js/vendor/lunr.min.js' | relative_url }}"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.mermaid %}
|
|
||||||
{% if site.mermaid.path %}
|
|
||||||
<script src="{{ site.mermaid.path | relative_url }}"></script>
|
|
||||||
{% else %}
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/mermaid@{{ site.mermaid.version }}/dist/mermaid.min.js"></script>
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<script src="{{ '/assets/js/just-the-docs.js' | relative_url }}"></script>
|
<script src="{{ '/assets/js/just-the-docs.js' | relative_url }}"></script>
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
@@ -5,11 +5,6 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
::selection {
|
|
||||||
color: $white;
|
|
||||||
background: $link-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@include fs-4;
|
@include fs-4;
|
||||||
|
|
||||||
|
@@ -1,32 +1,17 @@
|
|||||||
$body-background-color: $grey-dk-300;
|
$body-background-color: $grey-dk-300;
|
||||||
$sidebar-color: $grey-dk-300;
|
|
||||||
$border-color: $grey-dk-200;
|
|
||||||
$body-text-color: $grey-lt-300;
|
|
||||||
$body-heading-color: $grey-lt-000;
|
$body-heading-color: $grey-lt-000;
|
||||||
$nav-child-link-color: $grey-dk-000;
|
$body-text-color: $grey-lt-300;
|
||||||
$search-result-preview-color: $grey-dk-000;
|
|
||||||
$link-color: $blue-000;
|
$link-color: $blue-000;
|
||||||
$btn-primary-color: $blue-200;
|
$nav-child-link-color: $grey-dk-000;
|
||||||
|
$sidebar-color: $grey-dk-300;
|
||||||
$base-button-color: $grey-dk-250;
|
$base-button-color: $grey-dk-250;
|
||||||
$search-background-color: $grey-dk-250;
|
$btn-primary-color: $blue-200;
|
||||||
$table-background-color: $grey-dk-250;
|
|
||||||
$feedback-color: darken($sidebar-color, 3%);
|
|
||||||
|
|
||||||
// The following highlight theme is more legible than that used for the light color scheme
|
|
||||||
|
|
||||||
// @import "./vendor/OneDarkJekyll/syntax-one-dark";
|
|
||||||
// $code-background-color: #282c34; // OneDarkJekyll default for syntax-one-dark
|
|
||||||
// $code-linenumber-color: #abb2bf; // OneDarkJekyll .nf for syntax-one-dark
|
|
||||||
|
|
||||||
@import "./vendor/OneDarkJekyll/syntax-one-dark-vivid";
|
|
||||||
|
|
||||||
$code-background-color: #31343f; // OneDarkJekyll default for syntax-one-dark-vivid
|
$code-background-color: #31343f; // OneDarkJekyll default for syntax-one-dark-vivid
|
||||||
$code-linenumber-color: #dee2f7; // OneDarkJekyll .nf for syntax-one-dark-vivid
|
$code-linenumber-color: #dee2f7; // OneDarkJekyll .nf for syntax-one-dark-vivid
|
||||||
|
$feedback-color: darken($sidebar-color, 3%);
|
||||||
|
$table-background-color: $grey-dk-250;
|
||||||
|
$search-background-color: $grey-dk-250;
|
||||||
|
$search-result-preview-color: $grey-dk-000;
|
||||||
|
$border-color: $grey-dk-200;
|
||||||
|
|
||||||
// @import "./vendor/OneDarkJekyll/syntax-firewatch";
|
@import "./vendor/OneDarkJekyll/syntax"; // this is the one-dark-vivid atom syntax theme
|
||||||
// $code-background-color: #282c34; // OneDarkJekyll default for syntax-firewatch
|
|
||||||
// $code-linenumber-color: #abb2bf; // OneDarkJekyll .nf for syntax-firewatch
|
|
||||||
|
|
||||||
// @import "./vendor/OneDarkJekyll/syntax-firewatch-green";
|
|
||||||
// $code-background-color: #282c34; // OneDarkJekyll default for syntax-firewatch-green
|
|
||||||
// $code-linenumber-color: #abb2bf; // OneDarkJekyll .nf for syntax-firewatch-green
|
|
||||||
|
208
_sass/color_schemes/legacy_light.scss
Normal file
208
_sass/color_schemes/legacy_light.scss
Normal file
@@ -0,0 +1,208 @@
|
|||||||
|
// Moved from _sass/code.scss
|
||||||
|
|
||||||
|
.highlight .c {
|
||||||
|
color: #586e75;
|
||||||
|
} // comment //
|
||||||
|
.highlight .err {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // error //
|
||||||
|
.highlight .g {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // generic //
|
||||||
|
.highlight .k {
|
||||||
|
color: #859900;
|
||||||
|
} // keyword //
|
||||||
|
.highlight .l {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // literal //
|
||||||
|
.highlight .n {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // name //
|
||||||
|
.highlight .o {
|
||||||
|
color: #859900;
|
||||||
|
} // operator //
|
||||||
|
.highlight .x {
|
||||||
|
color: #cb4b16;
|
||||||
|
} // other //
|
||||||
|
.highlight .p {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // punctuation //
|
||||||
|
.highlight .cm {
|
||||||
|
color: #586e75;
|
||||||
|
} // comment.multiline //
|
||||||
|
.highlight .cp {
|
||||||
|
color: #859900;
|
||||||
|
} // comment.preproc //
|
||||||
|
.highlight .c1 {
|
||||||
|
color: #586e75;
|
||||||
|
} // comment.single //
|
||||||
|
.highlight .cs {
|
||||||
|
color: #859900;
|
||||||
|
} // comment.special //
|
||||||
|
.highlight .gd {
|
||||||
|
color: #2aa198;
|
||||||
|
} // generic.deleted //
|
||||||
|
.highlight .ge {
|
||||||
|
font-style: italic;
|
||||||
|
color: #93a1a1;
|
||||||
|
} // generic.emph //
|
||||||
|
.highlight .gr {
|
||||||
|
color: #dc322f;
|
||||||
|
} // generic.error //
|
||||||
|
.highlight .gh {
|
||||||
|
color: #cb4b16;
|
||||||
|
} // generic.heading //
|
||||||
|
.highlight .gi {
|
||||||
|
color: #859900;
|
||||||
|
} // generic.inserted //
|
||||||
|
.highlight .go {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // generic.output //
|
||||||
|
.highlight .gp {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // generic.prompt //
|
||||||
|
.highlight .gs {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #93a1a1;
|
||||||
|
} // generic.strong //
|
||||||
|
.highlight .gu {
|
||||||
|
color: #cb4b16;
|
||||||
|
} // generic.subheading //
|
||||||
|
.highlight .gt {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // generic.traceback //
|
||||||
|
.highlight .kc {
|
||||||
|
color: #cb4b16;
|
||||||
|
} // keyword.constant //
|
||||||
|
.highlight .kd {
|
||||||
|
color: #268bd2;
|
||||||
|
} // keyword.declaration //
|
||||||
|
.highlight .kn {
|
||||||
|
color: #859900;
|
||||||
|
} // keyword.namespace //
|
||||||
|
.highlight .kp {
|
||||||
|
color: #859900;
|
||||||
|
} // keyword.pseudo //
|
||||||
|
.highlight .kr {
|
||||||
|
color: #268bd2;
|
||||||
|
} // keyword.reserved //
|
||||||
|
.highlight .kt {
|
||||||
|
color: #dc322f;
|
||||||
|
} // keyword.type //
|
||||||
|
.highlight .ld {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // literal.date //
|
||||||
|
.highlight .m {
|
||||||
|
color: #2aa198;
|
||||||
|
} // literal.number //
|
||||||
|
.highlight .s {
|
||||||
|
color: #2aa198;
|
||||||
|
} // literal.string //
|
||||||
|
.highlight .na {
|
||||||
|
color: #555;
|
||||||
|
} // name.attribute //
|
||||||
|
.highlight .nb {
|
||||||
|
color: #b58900;
|
||||||
|
} // name.builtin //
|
||||||
|
.highlight .nc {
|
||||||
|
color: #268bd2;
|
||||||
|
} // name.class //
|
||||||
|
.highlight .no {
|
||||||
|
color: #cb4b16;
|
||||||
|
} // name.constant //
|
||||||
|
.highlight .nd {
|
||||||
|
color: #268bd2;
|
||||||
|
} // name.decorator //
|
||||||
|
.highlight .ni {
|
||||||
|
color: #cb4b16;
|
||||||
|
} // name.entity //
|
||||||
|
.highlight .ne {
|
||||||
|
color: #cb4b16;
|
||||||
|
} // name.exception //
|
||||||
|
.highlight .nf {
|
||||||
|
color: #268bd2;
|
||||||
|
} // name.function //
|
||||||
|
.highlight .nl {
|
||||||
|
color: #555;
|
||||||
|
} // name.label //
|
||||||
|
.highlight .nn {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // name.namespace //
|
||||||
|
.highlight .nx {
|
||||||
|
color: #555;
|
||||||
|
} // name.other //
|
||||||
|
.highlight .py {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // name.property //
|
||||||
|
.highlight .nt {
|
||||||
|
color: #268bd2;
|
||||||
|
} // name.tag //
|
||||||
|
.highlight .nv {
|
||||||
|
color: #268bd2;
|
||||||
|
} // name.variable //
|
||||||
|
.highlight .ow {
|
||||||
|
color: #859900;
|
||||||
|
} // operator.word //
|
||||||
|
.highlight .w {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // text.whitespace //
|
||||||
|
.highlight .mf {
|
||||||
|
color: #2aa198;
|
||||||
|
} // literal.number.float //
|
||||||
|
.highlight .mh {
|
||||||
|
color: #2aa198;
|
||||||
|
} // literal.number.hex //
|
||||||
|
.highlight .mi {
|
||||||
|
color: #2aa198;
|
||||||
|
} // literal.number.integer //
|
||||||
|
.highlight .mo {
|
||||||
|
color: #2aa198;
|
||||||
|
} // literal.number.oct //
|
||||||
|
.highlight .sb {
|
||||||
|
color: #586e75;
|
||||||
|
} // literal.string.backtick //
|
||||||
|
.highlight .sc {
|
||||||
|
color: #2aa198;
|
||||||
|
} // literal.string.char //
|
||||||
|
.highlight .sd {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // literal.string.doc //
|
||||||
|
.highlight .s2 {
|
||||||
|
color: #2aa198;
|
||||||
|
} // literal.string.double //
|
||||||
|
.highlight .se {
|
||||||
|
color: #cb4b16;
|
||||||
|
} // literal.string.escape //
|
||||||
|
.highlight .sh {
|
||||||
|
color: #93a1a1;
|
||||||
|
} // literal.string.heredoc //
|
||||||
|
.highlight .si {
|
||||||
|
color: #2aa198;
|
||||||
|
} // literal.string.interpol //
|
||||||
|
.highlight .sx {
|
||||||
|
color: #2aa198;
|
||||||
|
} // literal.string.other //
|
||||||
|
.highlight .sr {
|
||||||
|
color: #dc322f;
|
||||||
|
} // literal.string.regex //
|
||||||
|
.highlight .s1 {
|
||||||
|
color: #2aa198;
|
||||||
|
} // literal.string.single //
|
||||||
|
.highlight .ss {
|
||||||
|
color: #2aa198;
|
||||||
|
} // literal.string.symbol //
|
||||||
|
.highlight .bp {
|
||||||
|
color: #268bd2;
|
||||||
|
} // name.builtin.pseudo //
|
||||||
|
.highlight .vc {
|
||||||
|
color: #268bd2;
|
||||||
|
} // name.variable.class //
|
||||||
|
.highlight .vg {
|
||||||
|
color: #268bd2;
|
||||||
|
} // name.variable.global //
|
||||||
|
.highlight .vi {
|
||||||
|
color: #268bd2;
|
||||||
|
} // name.variable.instance //
|
||||||
|
.highlight .il {
|
||||||
|
color: #2aa198;
|
||||||
|
} // literal.number.integer.long //
|
@@ -1,208 +1,15 @@
|
|||||||
// Moved from _sass/code.scss
|
$body-background-color: $white !default;
|
||||||
|
$body-heading-color: $grey-dk-300 !default;
|
||||||
|
$body-text-color: $grey-dk-100 !default;
|
||||||
|
$link-color: $purple-000 !default;
|
||||||
|
$nav-child-link-color: $grey-dk-100 !default;
|
||||||
|
$sidebar-color: $grey-lt-000 !default;
|
||||||
|
$base-button-color: #f7f7f7 !default;
|
||||||
|
$btn-primary-color: $purple-100 !default;
|
||||||
|
$code-background-color: $grey-lt-000 !default;
|
||||||
|
$feedback-color: darken($sidebar-color, 3%) !default;
|
||||||
|
$table-background-color: $white !default;
|
||||||
|
$search-background-color: $white !default;
|
||||||
|
$search-result-preview-color: $grey-dk-000 !default;
|
||||||
|
|
||||||
.highlight .c {
|
@import "./vendor/OneLightJekyll/syntax";
|
||||||
color: #586e75;
|
|
||||||
} // comment //
|
|
||||||
.highlight .err {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // error //
|
|
||||||
.highlight .g {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // generic //
|
|
||||||
.highlight .k {
|
|
||||||
color: #859900;
|
|
||||||
} // keyword //
|
|
||||||
.highlight .l {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // literal //
|
|
||||||
.highlight .n {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // name //
|
|
||||||
.highlight .o {
|
|
||||||
color: #859900;
|
|
||||||
} // operator //
|
|
||||||
.highlight .x {
|
|
||||||
color: #cb4b16;
|
|
||||||
} // other //
|
|
||||||
.highlight .p {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // punctuation //
|
|
||||||
.highlight .cm {
|
|
||||||
color: #586e75;
|
|
||||||
} // comment.multiline //
|
|
||||||
.highlight .cp {
|
|
||||||
color: #859900;
|
|
||||||
} // comment.preproc //
|
|
||||||
.highlight .c1 {
|
|
||||||
color: #586e75;
|
|
||||||
} // comment.single //
|
|
||||||
.highlight .cs {
|
|
||||||
color: #859900;
|
|
||||||
} // comment.special //
|
|
||||||
.highlight .gd {
|
|
||||||
color: #2aa198;
|
|
||||||
} // generic.deleted //
|
|
||||||
.highlight .ge {
|
|
||||||
font-style: italic;
|
|
||||||
color: #93a1a1;
|
|
||||||
} // generic.emph //
|
|
||||||
.highlight .gr {
|
|
||||||
color: #dc322f;
|
|
||||||
} // generic.error //
|
|
||||||
.highlight .gh {
|
|
||||||
color: #cb4b16;
|
|
||||||
} // generic.heading //
|
|
||||||
.highlight .gi {
|
|
||||||
color: #859900;
|
|
||||||
} // generic.inserted //
|
|
||||||
.highlight .go {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // generic.output //
|
|
||||||
.highlight .gp {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // generic.prompt //
|
|
||||||
.highlight .gs {
|
|
||||||
font-weight: bold;
|
|
||||||
color: #93a1a1;
|
|
||||||
} // generic.strong //
|
|
||||||
.highlight .gu {
|
|
||||||
color: #cb4b16;
|
|
||||||
} // generic.subheading //
|
|
||||||
.highlight .gt {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // generic.traceback //
|
|
||||||
.highlight .kc {
|
|
||||||
color: #cb4b16;
|
|
||||||
} // keyword.constant //
|
|
||||||
.highlight .kd {
|
|
||||||
color: #268bd2;
|
|
||||||
} // keyword.declaration //
|
|
||||||
.highlight .kn {
|
|
||||||
color: #859900;
|
|
||||||
} // keyword.namespace //
|
|
||||||
.highlight .kp {
|
|
||||||
color: #859900;
|
|
||||||
} // keyword.pseudo //
|
|
||||||
.highlight .kr {
|
|
||||||
color: #268bd2;
|
|
||||||
} // keyword.reserved //
|
|
||||||
.highlight .kt {
|
|
||||||
color: #dc322f;
|
|
||||||
} // keyword.type //
|
|
||||||
.highlight .ld {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // literal.date //
|
|
||||||
.highlight .m {
|
|
||||||
color: #2aa198;
|
|
||||||
} // literal.number //
|
|
||||||
.highlight .s {
|
|
||||||
color: #2aa198;
|
|
||||||
} // literal.string //
|
|
||||||
.highlight .na {
|
|
||||||
color: #555;
|
|
||||||
} // name.attribute //
|
|
||||||
.highlight .nb {
|
|
||||||
color: #b58900;
|
|
||||||
} // name.builtin //
|
|
||||||
.highlight .nc {
|
|
||||||
color: #268bd2;
|
|
||||||
} // name.class //
|
|
||||||
.highlight .no {
|
|
||||||
color: #cb4b16;
|
|
||||||
} // name.constant //
|
|
||||||
.highlight .nd {
|
|
||||||
color: #268bd2;
|
|
||||||
} // name.decorator //
|
|
||||||
.highlight .ni {
|
|
||||||
color: #cb4b16;
|
|
||||||
} // name.entity //
|
|
||||||
.highlight .ne {
|
|
||||||
color: #cb4b16;
|
|
||||||
} // name.exception //
|
|
||||||
.highlight .nf {
|
|
||||||
color: #268bd2;
|
|
||||||
} // name.function //
|
|
||||||
.highlight .nl {
|
|
||||||
color: #555;
|
|
||||||
} // name.label //
|
|
||||||
.highlight .nn {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // name.namespace //
|
|
||||||
.highlight .nx {
|
|
||||||
color: #555;
|
|
||||||
} // name.other //
|
|
||||||
.highlight .py {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // name.property //
|
|
||||||
.highlight .nt {
|
|
||||||
color: #268bd2;
|
|
||||||
} // name.tag //
|
|
||||||
.highlight .nv {
|
|
||||||
color: #268bd2;
|
|
||||||
} // name.variable //
|
|
||||||
.highlight .ow {
|
|
||||||
color: #859900;
|
|
||||||
} // operator.word //
|
|
||||||
.highlight .w {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // text.whitespace //
|
|
||||||
.highlight .mf {
|
|
||||||
color: #2aa198;
|
|
||||||
} // literal.number.float //
|
|
||||||
.highlight .mh {
|
|
||||||
color: #2aa198;
|
|
||||||
} // literal.number.hex //
|
|
||||||
.highlight .mi {
|
|
||||||
color: #2aa198;
|
|
||||||
} // literal.number.integer //
|
|
||||||
.highlight .mo {
|
|
||||||
color: #2aa198;
|
|
||||||
} // literal.number.oct //
|
|
||||||
.highlight .sb {
|
|
||||||
color: #586e75;
|
|
||||||
} // literal.string.backtick //
|
|
||||||
.highlight .sc {
|
|
||||||
color: #2aa198;
|
|
||||||
} // literal.string.char //
|
|
||||||
.highlight .sd {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // literal.string.doc //
|
|
||||||
.highlight .s2 {
|
|
||||||
color: #2aa198;
|
|
||||||
} // literal.string.double //
|
|
||||||
.highlight .se {
|
|
||||||
color: #cb4b16;
|
|
||||||
} // literal.string.escape //
|
|
||||||
.highlight .sh {
|
|
||||||
color: #93a1a1;
|
|
||||||
} // literal.string.heredoc //
|
|
||||||
.highlight .si {
|
|
||||||
color: #2aa198;
|
|
||||||
} // literal.string.interpol //
|
|
||||||
.highlight .sx {
|
|
||||||
color: #2aa198;
|
|
||||||
} // literal.string.other //
|
|
||||||
.highlight .sr {
|
|
||||||
color: #dc322f;
|
|
||||||
} // literal.string.regex //
|
|
||||||
.highlight .s1 {
|
|
||||||
color: #2aa198;
|
|
||||||
} // literal.string.single //
|
|
||||||
.highlight .ss {
|
|
||||||
color: #2aa198;
|
|
||||||
} // literal.string.symbol //
|
|
||||||
.highlight .bp {
|
|
||||||
color: #268bd2;
|
|
||||||
} // name.builtin.pseudo //
|
|
||||||
.highlight .vc {
|
|
||||||
color: #268bd2;
|
|
||||||
} // name.variable.class //
|
|
||||||
.highlight .vg {
|
|
||||||
color: #268bd2;
|
|
||||||
} // name.variable.global //
|
|
||||||
.highlight .vi {
|
|
||||||
color: #268bd2;
|
|
||||||
} // name.variable.instance //
|
|
||||||
.highlight .il {
|
|
||||||
color: #2aa198;
|
|
||||||
} // literal.number.integer.long //
|
|
||||||
|
@@ -56,19 +56,6 @@ $red-000: #f77e7e !default;
|
|||||||
$red-100: #f96e65 !default;
|
$red-100: #f96e65 !default;
|
||||||
$red-200: #e94c4c !default;
|
$red-200: #e94c4c !default;
|
||||||
$red-300: #dd2e2e !default;
|
$red-300: #dd2e2e !default;
|
||||||
$body-background-color: $white !default;
|
|
||||||
$sidebar-color: $grey-lt-000 !default;
|
|
||||||
$search-background-color: $white !default;
|
|
||||||
$table-background-color: $white !default;
|
|
||||||
$code-background-color: $grey-lt-000 !default;
|
|
||||||
$feedback-color: darken($sidebar-color, 3%) !default;
|
|
||||||
$body-text-color: $grey-dk-100 !default;
|
|
||||||
$body-heading-color: $grey-dk-300 !default;
|
|
||||||
$search-result-preview-color: $grey-dk-000 !default;
|
|
||||||
$nav-child-link-color: $grey-dk-100 !default;
|
|
||||||
$link-color: $purple-000 !default;
|
|
||||||
$btn-primary-color: $purple-100 !default;
|
|
||||||
$base-button-color: #f7f7f7 !default;
|
|
||||||
|
|
||||||
// Spacing
|
// Spacing
|
||||||
|
|
||||||
|
@@ -16,8 +16,7 @@
|
|||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
} @else {
|
} @else {
|
||||||
@warn "No value could be retrieved from `#{$media-query}`. "
|
@warn "No value could be retrieved from `#{$media-query}`. Please make sure it is defined in `$media-queries` map.";
|
||||||
+ "Please make sure it is defined in `$media-queries` map.";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,200 +0,0 @@
|
|||||||
.highlight,
|
|
||||||
pre.highlight {
|
|
||||||
background: #282c34;
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight pre {
|
|
||||||
background: #282c34;
|
|
||||||
}
|
|
||||||
.highlight .hll {
|
|
||||||
background: #282c34;
|
|
||||||
}
|
|
||||||
.highlight .c {
|
|
||||||
color: #5c6370;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.highlight .err {
|
|
||||||
color: #960050;
|
|
||||||
background-color: #1e0010;
|
|
||||||
}
|
|
||||||
.highlight .k {
|
|
||||||
color: #5ba473;
|
|
||||||
}
|
|
||||||
.highlight .l {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .n {
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight .o {
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight .p {
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight .cm {
|
|
||||||
color: #5c6370;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.highlight .cp {
|
|
||||||
color: #5c6370;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.highlight .c1 {
|
|
||||||
color: #5c6370;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.highlight .cs {
|
|
||||||
color: #5c6370;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.highlight .ge {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.highlight .gs {
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
.highlight .kc {
|
|
||||||
color: #5ba473;
|
|
||||||
}
|
|
||||||
.highlight .kd {
|
|
||||||
color: #5ba473;
|
|
||||||
}
|
|
||||||
.highlight .kn {
|
|
||||||
color: #5ba473;
|
|
||||||
}
|
|
||||||
.highlight .kp {
|
|
||||||
color: #5ba473;
|
|
||||||
}
|
|
||||||
.highlight .kr {
|
|
||||||
color: #5ba473;
|
|
||||||
}
|
|
||||||
.highlight .kt {
|
|
||||||
color: #5ba473;
|
|
||||||
}
|
|
||||||
.highlight .ld {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .m {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .s {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .na {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .nb {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .nc {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .no {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .nd {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .ni {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .ne {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .nf {
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight .nl {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .nn {
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight .nx {
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight .py {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .nt {
|
|
||||||
color: #77b181;
|
|
||||||
}
|
|
||||||
.highlight .nv {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .ow {
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
.highlight .w {
|
|
||||||
color: #f8f8f2;
|
|
||||||
}
|
|
||||||
.highlight .mf {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .mh {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .mi {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .mo {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .sb {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .sc {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .sd {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .s2 {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .se {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .sh {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .si {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .sx {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .sr {
|
|
||||||
color: #56b6c2;
|
|
||||||
}
|
|
||||||
.highlight .s1 {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .ss {
|
|
||||||
color: #56b6c2;
|
|
||||||
}
|
|
||||||
.highlight .bp {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .vc {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .vg {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .vi {
|
|
||||||
color: #77b181;
|
|
||||||
}
|
|
||||||
.highlight .il {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .gu {
|
|
||||||
color: #75715e;
|
|
||||||
}
|
|
||||||
.highlight .gd {
|
|
||||||
color: #f92672;
|
|
||||||
}
|
|
||||||
.highlight .gi {
|
|
||||||
color: #a6e22e;
|
|
||||||
}
|
|
200
_sass/vendor/OneDarkJekyll/syntax-firewatch.scss
vendored
200
_sass/vendor/OneDarkJekyll/syntax-firewatch.scss
vendored
@@ -1,200 +0,0 @@
|
|||||||
.highlight,
|
|
||||||
pre.highlight {
|
|
||||||
background: #282c34;
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight pre {
|
|
||||||
background: #282c34;
|
|
||||||
}
|
|
||||||
.highlight .hll {
|
|
||||||
background: #282c34;
|
|
||||||
}
|
|
||||||
.highlight .c {
|
|
||||||
color: #5c6370;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.highlight .err {
|
|
||||||
color: #960050;
|
|
||||||
background-color: #1e0010;
|
|
||||||
}
|
|
||||||
.highlight .k {
|
|
||||||
color: #dd672c;
|
|
||||||
}
|
|
||||||
.highlight .l {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .n {
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight .o {
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight .p {
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight .cm {
|
|
||||||
color: #5c6370;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.highlight .cp {
|
|
||||||
color: #5c6370;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.highlight .c1 {
|
|
||||||
color: #5c6370;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.highlight .cs {
|
|
||||||
color: #5c6370;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.highlight .ge {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.highlight .gs {
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
.highlight .kc {
|
|
||||||
color: #dd672c;
|
|
||||||
}
|
|
||||||
.highlight .kd {
|
|
||||||
color: #dd672c;
|
|
||||||
}
|
|
||||||
.highlight .kn {
|
|
||||||
color: #dd672c;
|
|
||||||
}
|
|
||||||
.highlight .kp {
|
|
||||||
color: #dd672c;
|
|
||||||
}
|
|
||||||
.highlight .kr {
|
|
||||||
color: #dd672c;
|
|
||||||
}
|
|
||||||
.highlight .kt {
|
|
||||||
color: #dd672c;
|
|
||||||
}
|
|
||||||
.highlight .ld {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .m {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .s {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .na {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .nb {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .nc {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .no {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .nd {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .ni {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .ne {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .nf {
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight .nl {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .nn {
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight .nx {
|
|
||||||
color: #abb2bf;
|
|
||||||
}
|
|
||||||
.highlight .py {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .nt {
|
|
||||||
color: #e06c75;
|
|
||||||
}
|
|
||||||
.highlight .nv {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .ow {
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
.highlight .w {
|
|
||||||
color: #f8f8f2;
|
|
||||||
}
|
|
||||||
.highlight .mf {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .mh {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .mi {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .mo {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .sb {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .sc {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .sd {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .s2 {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .se {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .sh {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .si {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .sx {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .sr {
|
|
||||||
color: #56b6c2;
|
|
||||||
}
|
|
||||||
.highlight .s1 {
|
|
||||||
color: #c8ae9d;
|
|
||||||
}
|
|
||||||
.highlight .ss {
|
|
||||||
color: #56b6c2;
|
|
||||||
}
|
|
||||||
.highlight .bp {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .vc {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .vg {
|
|
||||||
color: #e5c07b;
|
|
||||||
}
|
|
||||||
.highlight .vi {
|
|
||||||
color: #e06c75;
|
|
||||||
}
|
|
||||||
.highlight .il {
|
|
||||||
color: #d19a66;
|
|
||||||
}
|
|
||||||
.highlight .gu {
|
|
||||||
color: #75715e;
|
|
||||||
}
|
|
||||||
.highlight .gd {
|
|
||||||
color: #f92672;
|
|
||||||
}
|
|
||||||
.highlight .gi {
|
|
||||||
color: #a6e22e;
|
|
||||||
}
|
|
@@ -1,3 +1,5 @@
|
|||||||
|
// Generated with OneDarkJekyll applied to Atom's One Dark Vivid theme
|
||||||
|
|
||||||
.highlight,
|
.highlight,
|
||||||
pre.highlight {
|
pre.highlight {
|
||||||
background: #31343f;
|
background: #31343f;
|
65
_sass/vendor/OneLightJekyll/LICENSE
vendored
Normal file
65
_sass/vendor/OneLightJekyll/LICENSE
vendored
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
OneLightJekyll relies on two works: OneDarkJekyll, and Atom's One Light theme. This file contains the licensing for all the related software.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
OneLightJekyll (https://github.com/just-the-docs/OneLightJekyll/blob/main/LICENSE)
|
||||||
|
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2023 Matthew Wang
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
OneDarkJekyll (https://github.com/mgyongyosi/OneDarkJekyll/blob/master/LICENSE)
|
||||||
|
|
||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2016 Mihály Gyöngyösi
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Atom One Light (https://github.com/atom/atom/blob/master/LICENSE.md)
|
||||||
|
|
||||||
|
Copyright (c) 2011-2022 GitHub Inc.
|
||||||
|
|
||||||
|
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.
|
@@ -1,51 +1,53 @@
|
|||||||
|
// Generated with OneLightJekyll applied to Atom's One Light theme
|
||||||
|
|
||||||
.highlight,
|
.highlight,
|
||||||
pre.highlight {
|
pre.highlight {
|
||||||
background: #282c34;
|
background: #f9f9f9;
|
||||||
color: #abb2bf;
|
color: #383942;
|
||||||
}
|
}
|
||||||
.highlight pre {
|
.highlight pre {
|
||||||
background: #282c34;
|
background: #f9f9f9;
|
||||||
}
|
}
|
||||||
.highlight .hll {
|
.highlight .hll {
|
||||||
background: #282c34;
|
background: #f9f9f9;
|
||||||
}
|
}
|
||||||
.highlight .c {
|
.highlight .c {
|
||||||
color: #5c6370;
|
color: #9fa0a6;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
.highlight .err {
|
.highlight .err {
|
||||||
color: #960050;
|
color: #fff;
|
||||||
background-color: #1e0010;
|
background-color: #e05151;
|
||||||
}
|
}
|
||||||
.highlight .k {
|
.highlight .k {
|
||||||
color: #c678dd;
|
color: #a625a4;
|
||||||
}
|
}
|
||||||
.highlight .l {
|
.highlight .l {
|
||||||
color: #98c379;
|
color: #50a04f;
|
||||||
}
|
}
|
||||||
.highlight .n {
|
.highlight .n {
|
||||||
color: #abb2bf;
|
color: #383942;
|
||||||
}
|
}
|
||||||
.highlight .o {
|
.highlight .o {
|
||||||
color: #abb2bf;
|
color: #383942;
|
||||||
}
|
}
|
||||||
.highlight .p {
|
.highlight .p {
|
||||||
color: #abb2bf;
|
color: #383942;
|
||||||
}
|
}
|
||||||
.highlight .cm {
|
.highlight .cm {
|
||||||
color: #5c6370;
|
color: #9fa0a6;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
.highlight .cp {
|
.highlight .cp {
|
||||||
color: #5c6370;
|
color: #9fa0a6;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
.highlight .c1 {
|
.highlight .c1 {
|
||||||
color: #5c6370;
|
color: #9fa0a6;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
.highlight .cs {
|
.highlight .cs {
|
||||||
color: #5c6370;
|
color: #9fa0a6;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
.highlight .ge {
|
.highlight .ge {
|
||||||
@@ -55,73 +57,73 @@ pre.highlight {
|
|||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
.highlight .kc {
|
.highlight .kc {
|
||||||
color: #c678dd;
|
color: #a625a4;
|
||||||
}
|
}
|
||||||
.highlight .kd {
|
.highlight .kd {
|
||||||
color: #c678dd;
|
color: #a625a4;
|
||||||
}
|
}
|
||||||
.highlight .kn {
|
.highlight .kn {
|
||||||
color: #c678dd;
|
color: #a625a4;
|
||||||
}
|
}
|
||||||
.highlight .kp {
|
.highlight .kp {
|
||||||
color: #c678dd;
|
color: #a625a4;
|
||||||
}
|
}
|
||||||
.highlight .kr {
|
.highlight .kr {
|
||||||
color: #c678dd;
|
color: #a625a4;
|
||||||
}
|
}
|
||||||
.highlight .kt {
|
.highlight .kt {
|
||||||
color: #c678dd;
|
color: #a625a4;
|
||||||
}
|
}
|
||||||
.highlight .ld {
|
.highlight .ld {
|
||||||
color: #98c379;
|
color: #50a04f;
|
||||||
}
|
}
|
||||||
.highlight .m {
|
.highlight .m {
|
||||||
color: #d19a66;
|
color: #b66a00;
|
||||||
}
|
}
|
||||||
.highlight .s {
|
.highlight .s {
|
||||||
color: #98c379;
|
color: #50a04f;
|
||||||
}
|
}
|
||||||
.highlight .na {
|
.highlight .na {
|
||||||
color: #d19a66;
|
color: #b66a00;
|
||||||
}
|
}
|
||||||
.highlight .nb {
|
.highlight .nb {
|
||||||
color: #e5c07b;
|
color: #ca7601;
|
||||||
}
|
}
|
||||||
.highlight .nc {
|
.highlight .nc {
|
||||||
color: #e5c07b;
|
color: #ca7601;
|
||||||
}
|
}
|
||||||
.highlight .no {
|
.highlight .no {
|
||||||
color: #e5c07b;
|
color: #ca7601;
|
||||||
}
|
}
|
||||||
.highlight .nd {
|
.highlight .nd {
|
||||||
color: #e5c07b;
|
color: #ca7601;
|
||||||
}
|
}
|
||||||
.highlight .ni {
|
.highlight .ni {
|
||||||
color: #e5c07b;
|
color: #ca7601;
|
||||||
}
|
}
|
||||||
.highlight .ne {
|
.highlight .ne {
|
||||||
color: #e5c07b;
|
color: #ca7601;
|
||||||
}
|
}
|
||||||
.highlight .nf {
|
.highlight .nf {
|
||||||
color: #abb2bf;
|
color: #383942;
|
||||||
}
|
}
|
||||||
.highlight .nl {
|
.highlight .nl {
|
||||||
color: #e5c07b;
|
color: #ca7601;
|
||||||
}
|
}
|
||||||
.highlight .nn {
|
.highlight .nn {
|
||||||
color: #abb2bf;
|
color: #383942;
|
||||||
}
|
}
|
||||||
.highlight .nx {
|
.highlight .nx {
|
||||||
color: #abb2bf;
|
color: #383942;
|
||||||
}
|
}
|
||||||
.highlight .py {
|
.highlight .py {
|
||||||
color: #e5c07b;
|
color: #ca7601;
|
||||||
}
|
}
|
||||||
.highlight .nt {
|
.highlight .nt {
|
||||||
color: #e06c75;
|
color: #e35549;
|
||||||
}
|
}
|
||||||
.highlight .nv {
|
.highlight .nv {
|
||||||
color: #e5c07b;
|
color: #ca7601;
|
||||||
}
|
}
|
||||||
.highlight .ow {
|
.highlight .ow {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
@@ -130,71 +132,77 @@ pre.highlight {
|
|||||||
color: #f8f8f2;
|
color: #f8f8f2;
|
||||||
}
|
}
|
||||||
.highlight .mf {
|
.highlight .mf {
|
||||||
color: #d19a66;
|
color: #b66a00;
|
||||||
}
|
}
|
||||||
.highlight .mh {
|
.highlight .mh {
|
||||||
color: #d19a66;
|
color: #b66a00;
|
||||||
}
|
}
|
||||||
.highlight .mi {
|
.highlight .mi {
|
||||||
color: #d19a66;
|
color: #b66a00;
|
||||||
}
|
}
|
||||||
.highlight .mo {
|
.highlight .mo {
|
||||||
color: #d19a66;
|
color: #b66a00;
|
||||||
}
|
}
|
||||||
.highlight .sb {
|
.highlight .sb {
|
||||||
color: #98c379;
|
color: #50a04f;
|
||||||
}
|
}
|
||||||
.highlight .sc {
|
.highlight .sc {
|
||||||
color: #98c379;
|
color: #50a04f;
|
||||||
}
|
}
|
||||||
.highlight .sd {
|
.highlight .sd {
|
||||||
color: #98c379;
|
color: #50a04f;
|
||||||
}
|
}
|
||||||
.highlight .s2 {
|
.highlight .s2 {
|
||||||
color: #98c379;
|
color: #50a04f;
|
||||||
}
|
}
|
||||||
.highlight .se {
|
.highlight .se {
|
||||||
color: #98c379;
|
color: #50a04f;
|
||||||
}
|
}
|
||||||
.highlight .sh {
|
.highlight .sh {
|
||||||
color: #98c379;
|
color: #50a04f;
|
||||||
}
|
}
|
||||||
.highlight .si {
|
.highlight .si {
|
||||||
color: #98c379;
|
color: #50a04f;
|
||||||
}
|
}
|
||||||
.highlight .sx {
|
.highlight .sx {
|
||||||
color: #98c379;
|
color: #50a04f;
|
||||||
}
|
}
|
||||||
.highlight .sr {
|
.highlight .sr {
|
||||||
color: #56b6c2;
|
color: #0083bb;
|
||||||
}
|
}
|
||||||
.highlight .s1 {
|
.highlight .s1 {
|
||||||
color: #98c379;
|
color: #50a04f;
|
||||||
}
|
}
|
||||||
.highlight .ss {
|
.highlight .ss {
|
||||||
color: #56b6c2;
|
color: #0083bb;
|
||||||
}
|
}
|
||||||
.highlight .bp {
|
.highlight .bp {
|
||||||
color: #e5c07b;
|
color: #ca7601;
|
||||||
}
|
}
|
||||||
.highlight .vc {
|
.highlight .vc {
|
||||||
color: #e5c07b;
|
color: #ca7601;
|
||||||
}
|
}
|
||||||
.highlight .vg {
|
.highlight .vg {
|
||||||
color: #e5c07b;
|
color: #ca7601;
|
||||||
}
|
}
|
||||||
.highlight .vi {
|
.highlight .vi {
|
||||||
color: #e06c75;
|
color: #e35549;
|
||||||
}
|
}
|
||||||
.highlight .il {
|
.highlight .il {
|
||||||
color: #d19a66;
|
color: #b66a00;
|
||||||
}
|
}
|
||||||
.highlight .gu {
|
.highlight .gu {
|
||||||
color: #75715e;
|
color: #75715e;
|
||||||
}
|
}
|
||||||
.highlight .gd {
|
.highlight .gd {
|
||||||
color: #f92672;
|
color: #e05151;
|
||||||
}
|
}
|
||||||
.highlight .gi {
|
.highlight .gi {
|
||||||
color: #a6e22e;
|
color: #43d089;
|
||||||
|
}
|
||||||
|
.highlight .language-json .w + .s2 {
|
||||||
|
color: #e35549;
|
||||||
|
}
|
||||||
|
.highlight .language-json .kc {
|
||||||
|
color: #0083bb;
|
||||||
}
|
}
|
Binary file not shown.
Before Width: | Height: | Size: 20 KiB |
@@ -1 +0,0 @@
|
|||||||
<svg width="28" height="28" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg"><title>Search</title><g fill-rule="nonzero" fill="#959396"><path d="M17.332 20.735c-5.537 0-10-4.6-10-10.247 0-5.646 4.463-10.247 10-10.247 5.536 0 10 4.601 10 10.247s-4.464 10.247-10 10.247zm0-4c3.3 0 6-2.783 6-6.247 0-3.463-2.7-6.247-6-6.247s-6 2.784-6 6.247c0 3.464 2.7 6.247 6 6.247z"/><path d="M11.672 13.791L.192 25.271 3.02 28.1 14.5 16.62z"/></g></svg>
|
|
Before Width: | Height: | Size: 444 B |
@@ -45,6 +45,15 @@ jtd.addEvent(toggleDarkMode, 'click', function(){
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
### deprecated: `legacy_light`
|
||||||
|
{: .d-inline-block .no_toc }
|
||||||
|
|
||||||
|
New (v0.4.2)
|
||||||
|
{: .label .label-green }
|
||||||
|
|
||||||
|
|
||||||
|
In Just the Docs version `0.4.2`, we changed the default syntax highlighting theme for the `light` color scheme to have higher contrast. Users who are want to use the old highlighting need to explicitly opt-in with the deprecated `legacy_light` color scheme. In a future major release of Just the Docs, we will remove this color scheme.
|
||||||
|
|
||||||
## Custom schemes
|
## Custom schemes
|
||||||
|
|
||||||
### Define a custom scheme
|
### Define a custom scheme
|
||||||
@@ -113,7 +122,7 @@ jtd.setTheme("foo")
|
|||||||
New (v0.4.0)
|
New (v0.4.0)
|
||||||
{: .label .label-green }
|
{: .label .label-green }
|
||||||
|
|
||||||
To define new SCSS variables, functions, or override existing theme variables, place SCSS code in `_sass/custom/setup.scss`. This should *not* be used for defining custom styles (see the next section).
|
To define new SCSS variables or functions, place SCSS code in `_sass/custom/setup.scss`. This should *not* be used for defining custom styles (see the next section) or overriding color scheme variables (in this case, you should create a new color scheme).
|
||||||
|
|
||||||
This is most commonly-used to define [custom callout colors]({% link docs/configuration.md %}#callouts). For example,
|
This is most commonly-used to define [custom callout colors]({% link docs/configuration.md %}#callouts). For example,
|
||||||
|
|
||||||
|
@@ -150,14 +150,45 @@ graph TD;
|
|||||||
|
|
||||||
### Using a local mermaid library
|
### Using a local mermaid library
|
||||||
|
|
||||||
In order to use a local version of the mermaid library instead of one provided by jsDelivr, you can specify a `path` key in the mermaid configuration instead of a `version` key.
|
To load a local version of mermaid, also use the `path` key to specify the location of the library; e.g.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
mermaid:
|
mermaid:
|
||||||
# To load mermaid from a local file use the `path` key to specify the location of the library instead; e.g.
|
version: "10.1.0"
|
||||||
path: "/assets/js/mermaid.min.js"
|
# for (v10+)
|
||||||
|
path: "/assets/js/mermaid.esm.min.mjs"
|
||||||
|
# for (<v10):
|
||||||
|
# path: "/assets/js/mermaid.min.js"
|
||||||
|
# Note: copy both `mermaid.esm.min.mjs` (v10+) or `mermaid.min.js` (<v10) and the associated
|
||||||
|
# `.map` file from the specified version of `mermaid/dist` to `/assets/js/`.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For mermaid versions `>=10`, this file is imported directly as an ESM module (rather than as a plain `<script>` tag); users should use the `mermaid.esm.min.mjs` file. In contrast, for mermaid versions `<10`, this file is loaded as a script tag; it should be a standalone CJS file (i.e. `mermaid.min.js`).
|
||||||
|
|
||||||
|
{: .warning }
|
||||||
|
Mermaid versions `10.0` - `10.1` (and possibly, future releases) still encode relative imports in `mermaid.esm.min.mjs`. Local users must copy *all* of the contents of the `dist` folder to the specified path (preserving the relative location of the files). Just the Docs is actively monitoring mermaid releases; an upstream fix is planned.
|
||||||
|
|
||||||
|
### Using mermaid with AsciiDoc
|
||||||
|
|
||||||
|
Users of [AsciiDoc](https://asciidoc.org/) (e.g. via [jekyll-asciidoc](https://github.com/asciidoctor/jekyll-asciidoc)) may need additional configuration to use mermaid.
|
||||||
|
|
||||||
|
By default, AsciiDoc generates HTML markup that mermaid cannot properly parse. The simplest way to resolve this is to use a [passthrough block](https://docs.asciidoctor.org/asciidoc/latest/pass/pass-block/):
|
||||||
|
{% highlight asciidoc %}
|
||||||
|
++++
|
||||||
|
<pre class="language-mermaid">
|
||||||
|
graph TD;
|
||||||
|
A-->B;
|
||||||
|
A-->C;
|
||||||
|
B-->D;
|
||||||
|
C-->D;
|
||||||
|
</pre>
|
||||||
|
++++
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
|
Alternatively, community member [@flyx](https://.github.com/flyx) has contributed a Ruby extension that does not require extra markup. The extension is available [as a GitHub Gist](https://gist.github.com/flyx/9fff080cf4edc95d495bc661a002232c). Thank you to [@flyx](https://.github.com/flyx)!
|
||||||
|
|
||||||
|
The [asciidoctor-diagram](https://docs.asciidoctor.org/diagram-extension/latest/) extension which also supports mermaid is not recommended for use with Just the Docs, since it requires separate configuration e.g. for theming, and is known to not be trivial to set up.
|
||||||
|
|
||||||
## Copy button
|
## Copy button
|
||||||
{: .d-inline-block }
|
{: .d-inline-block }
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "just-the-docs"
|
spec.name = "just-the-docs"
|
||||||
spec.version = "0.4.1"
|
spec.version = "0.5.0"
|
||||||
spec.authors = ["Patrick Marsceill", "Matthew Wang"]
|
spec.authors = ["Patrick Marsceill", "Matthew Wang"]
|
||||||
spec.email = ["patrick.marsceill@gmail.com", "matt@matthewwang.me"]
|
spec.email = ["patrick.marsceill@gmail.com", "matt@matthewwang.me"]
|
||||||
|
|
||||||
|
2120
package-lock.json
generated
2120
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
40
package.json
40
package.json
@@ -6,15 +6,41 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": "https://github.com/just-the-docs/just-the-docs/issues",
|
"bugs": "https://github.com/just-the-docs/just-the-docs/issues",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"prettier": "^2.8.4",
|
"npm-run-all": "^4.1.5",
|
||||||
"stylelint": "^14.16.1",
|
"prettier": "^2.8.7",
|
||||||
"stylelint-config-prettier-scss": "0.0.1",
|
"stylelint": "^15.4.0",
|
||||||
"stylelint-config-standard-scss": "^6.1.0",
|
"stylelint-config-standard-scss": "^8.0.0"
|
||||||
"stylelint-prettier": "^2.0.0"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "stylelint '**/*.scss'",
|
"lint": "npm-run-all --parallel --continue-on-error lint:*",
|
||||||
|
"lint:css": "stylelint '**/*.scss'",
|
||||||
|
"lint:formatting": "prettier --check '**/*.{scss,js,json}'",
|
||||||
"format": "prettier --write '**/*.{scss,js,json}'",
|
"format": "prettier --write '**/*.{scss,js,json}'",
|
||||||
"stylelint-check": "stylelint-config-prettier-check"
|
"test": "npm run lint"
|
||||||
|
},
|
||||||
|
"stylelint": {
|
||||||
|
"ignoreFiles": [
|
||||||
|
"assets/css/just-the-docs-default.scss",
|
||||||
|
"assets/css/just-the-docs-light.scss",
|
||||||
|
"assets/css/just-the-docs-dark.scss",
|
||||||
|
"_sass/vendor/**/*.scss"
|
||||||
|
],
|
||||||
|
"extends": [
|
||||||
|
"stylelint-config-standard-scss"
|
||||||
|
],
|
||||||
|
"rules": {
|
||||||
|
"alpha-value-notation": null,
|
||||||
|
"at-rule-empty-line-before": null,
|
||||||
|
"color-function-notation": null,
|
||||||
|
"no-descending-specificity": null,
|
||||||
|
"scss/no-global-function-names": null
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"prettier": {
|
||||||
|
"endOfLine": "lf",
|
||||||
|
"semi": false,
|
||||||
|
"singleQuote": false,
|
||||||
|
"tabWidth": 2,
|
||||||
|
"trailingComma": "es5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user