Skip to content

Commit cd215be

Browse files
authored
fix: link color issue (#392)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent da9d3bf commit cd215be

File tree

5 files changed

+17
-8
lines changed

5 files changed

+17
-8
lines changed

.pre-commit-config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ repos:
3232
hooks:
3333
- id: codespell
3434
exclude: (^Gemfile\.lock|\.svg)$
35-
args: ["-L", "hist,sur,nd,theses,ser,HEP,hep"]
35+
args: ["-L", "hist,sur,nd,theses,ser"]
3636

37-
- repo: https://github.com/pre-commit/mirrors-prettier
38-
rev: "v4.0.0-alpha.8"
37+
- repo: https://github.com/rbubley/mirrors-prettier
38+
rev: "v3.4.2"
3939
hooks:
4040
- id: prettier
41-
types_or: [yaml, markdown, html, css, scss, javascript, json]
41+
types_or: [yaml, markdown, html, css, javascript, json]
4242

4343
- repo: https://github.com/adamchainz/blacken-docs
4444
rev: 1.19.1
4545
hooks:
4646
- id: blacken-docs
47-
additional_dependencies: [black==22.8.0]
47+
additional_dependencies: [black~=25.0]
4848

4949
- repo: local
5050
hooks:

_includes/head.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@
2828
/* document.documentElement.style.display = 'none'; */
2929
document.head.insertAdjacentHTML(
3030
'beforeend',
31-
'<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-default.css' | relative_url }}" onload="document.documentElement.style.display = \'\'">',
31+
'<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-skhep.css' | relative_url }}" onload="document.documentElement.style.display = \'\'">',
3232
);
3333
}
3434
</script>
3535

3636
<link
3737
rel="stylesheet"
38-
href="{{ '/assets/css/just-the-docs-dark.css' | relative_url }}"
38+
href="{{ '/assets/css/just-the-docs-darkskhep.css' | relative_url }}"
3939
media="(prefers-color-scheme: dark)"
4040
/>
4141
<link
4242
rel="stylesheet"
43-
href="{{ '/assets/css/just-the-docs-light.css' | relative_url }}"
43+
href="{{ '/assets/css/just-the-docs-skhep.css' | relative_url }}"
4444
media="(prefers-color-scheme: light)"
4545
/>
4646

_sass/color_schemes/darkskhep.scss

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@import "./color_schemes/dark";
2+
3+
$link-color: #7092be;
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
---
3+
{% include css/just-the-docs.scss.liquid color_scheme="darkskhep" %}

assets/css/just-the-docs-skhep.scss

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
---
3+
{% include css/just-the-docs.scss.liquid color_scheme="skhep" %}

0 commit comments

Comments
 (0)